license-maven-plugin
license-maven-plugin copied to clipboard
Maven plugin to download and collect license files from project dependencies.
For every Open Source Software (OSS) we use, our customer wants an extensive license report. This plugin is almost perfect for that, except: * The aggregate-third-party goal writes (although formatable)...
Assume your license text looks like this (with a blank line somewhere in the middle): ``` first line of license second line third line ``` If you set `trimHeaderLine=true` license-maven-plugin...
Does the update feature notice changes to the plugin configuration? I'm using l-m-p version 1.20 with maven 3.5.2. I've decorated Java files with license headers using L-M-P. Today I had...
``` [INFO] Downloading from central: https://repo.maven.apache.org/maven2/io/reactivex/rxnetty-servo/0.4.9/rxnetty-servo-0.4.9-third-party.properties [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for racp-telemetry-data 20190723.1-d9a13b2: [INFO] dev-azure-com-myorg-mpv-myproject (https://pkgs.dev.azure.com/myorg-mpv/_packaging/myproject/maven/v1, releases=true, snapshots=true), central (https://repo.maven.apache.org/maven2, releases=true, snapshots=false) at org.codehaus.mojo.license.AbstractLicenseMojo.execute (AbstractLicenseMojo.java:183) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) at...
This adds a reproducer for the bug described in #352.
We have `includedScopes=compile, runtime`. Nevertheless the plugin resolves test dependencies and should not.
For features like missingFile(Url), licenseMergesFile/Url and overrideFile/Url use a strategy pattern to load the resource so we don't have to pass several strings around. All those strategies need to return...
The code currently calls `getLog().isDebugEnabled()` to set the verbose flag. In the code, I see patterns like these: - if (isVerbose()) StringBuilder buffer = ...; log.info(buffer) - if (isVerbose()) log.info(details)...
I have a problem with this dependency: ``` [INFO] License: 'GPL v2' for 'MavenProject: com.rabbitmq:amqp-client:5.4.3 @ 'is OK since it is also licensed under 'Apache License, Version 2.0' [WARNING] There...
Mentioned by @srdo in https://github.com/mojohaus/license-maven-plugin/issues/313 Let's clear the following questions: 1. Should this be a separate Mojo taking licenses.xml file as an imput? 2. What should be the blacklisting criteria?...