license-maven-plugin
license-maven-plugin copied to clipboard
Maven plugin to download and collect license files from project dependencies.
The artifact cache being static allows it to be retained throughout the entire maven build. This can have a pretty large impact on the overall build for larger projects. I...
When running the third-party goal and pulling in a dependency which allows multiple license choices, it would be nice if you could "choose" one the licenses to be the one...
In my project site-generation fails if `license-maven-plugin:2.0.0` is configured. ``` ... org.codehaus.mojo license-maven-plugin third-party-report aggregate-third-party-report ``` Stacktrace: ``` Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default-site of goal org.apache.maven.plugins:maven-site-plugin:3.7.1:site failed. at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:148)...
I'm using: org.codehaus.mojo license-maven-plugin 2.0.0 I've UTF-8 encoded files. After running license:remove-file-header the files which previously had license header are no more UTF-8 encoded. I've attempted several configurations using the...
Maven-chekstyle-plugin complains about trailing spaces: ``` C:\myproject\src\main\java\mypackage\MyClass.java:13: Line has trailing spaces. [RegexpSingleline] C:\myproject\src\main\java\mypackage\MyClass.java:18: Line has trailing spaces. [RegexpSingleline] ``` The problem is the space after the `*` in the blank...
http://www.mojohaus.org/license-maven-plugin/check-file-header-mojo.html Perhaps a misunderstanding, but I understood `license:check-file-header -Dlicense.failOnMissingHeader=true -Dlicense.failOnNotUptodateHeader=true` to be similar to other plugins which will not update the source code, but instead check for compliance according to...
The workspace is dirty just after cloning the repo. Two licenses were committed with `CRLF` end of line characters, but .gitattribute requires `LF`. ERROR: Workspace is dirty - Command 'git...
I would like to change the header in the file to contain the actual project's name. ````txt Dependencies of MyProject (com.example:my-project:1.2.3): Byte Buddy (without dependencies) | net.bytebuddy:byte-buddy:1.10.4 | https://bytebuddy.net/byte-buddy |...
SCENARIO: Try executing `mvn license:add-third-party -Dlicense.sortArtifactByName=true` on a project like this: ``` 4.0.0 com.leokom license-plugin 10.0.0-SNAPSHOT jar 4.1.6 org.igniterealtime.smack smack-core ${smack.version} org.igniterealtime.smack smack-extensions ${smack.version} org.igniterealtime.smack smack-tcp ${smack.version} org.igniterealtime.smack smack-java7 ${smack.version}...
Trying to download licenses with organizeLicensesByDependencies set to true. ``` [WARNING] Unable to retrieve license from URL 'http://www.apache.org/licenses/LICENSE-2.0.txt' for dependency 'org.apache.commons:commons-lang3': /mnt/c/Users/Esran/Documents/NetbeansProjects/storm/target/generated-resources/licenses/org.apache.commons.commons-lang3_the_apache_software_license,_version_2.0 [DEBUG] java.nio.file.FileAlreadyExistsException: /mnt/c/Users/Esran/Documents/NetbeansProjects/storm/target/generated-resources/licenses/org.apache.commons.commons-lang3_the_apache_software_license,_version_2.0 at sun.nio.fs.UnixCopyFile.copy (UnixCopyFile.java:551) at sun.nio.fs.UnixFileSystemProvider.copy...