Goals available for this plugin:
Goal | Description |
---|---|
license:compliance | This compliance goal checks all dependencies in the build and active profile sections for compliance with acceptable licenses. For each dependency, this goal checks if any of the dependency licenses matches any of the acceptable licenses. A match is successful if either the dependency license URL matches the acceptable license URL regular expression, or the dependency license name matches the acceptable license name regular expression. The lack of a license in the dependency will cause this goal to fail. |
license:help | Display help information on license-maven-plugin.
Call mvn license:help -Ddetail=true -Dgoal=<goal-name> to display parameter details. |
The following specifies the minimum requirements to run this Maven plugin:
Maven | 3.8.8 |
JDK | 11 |
You should specify the version in your project's plugin configuration:
<project> ... <build> <!-- To define the plugin version in your parent POM --> <pluginManagement> <plugins> <plugin> <groupId>org.honton.chas</groupId> <artifactId>license-maven-plugin</artifactId> <version>0.0.6</version> </plugin> ... </plugins> </pluginManagement> <!-- To use the plugin goals in your POM or parent POM --> <plugins> <plugin> <groupId>org.honton.chas</groupId> <artifactId>license-maven-plugin</artifactId> </plugin> ... </plugins> </build> ... </project>
For more information, see "Guide to Configuring Plug-ins"