license-verifier:report

Note:This goal should be used as a Maven report.

Full name:

com.soebes.maven.plugins.mlv:maven-license-verifier-plugin:0.4:report

Description:

Generate a report about the license verifier report.

Attributes:

  • Requires a Maven 2.0 project to be executed.
  • Requires dependency resolution of artifacts in scope: test.

Optional Parameters

Name Type Since Description
excludes List - By using excludes you can exclude particular artifacts from being checked by the Maven Licenses Verifier Plugin.
  <excludes>
     <exclude>groupId:artifactId:type:version</exclude>
     ..
  </excludes>

failOnInvalid boolean - The build will fail if a license with the category Invalid has been found.
Default value is: false.
failOnUnknown boolean - The build will fail if a license can not be categorized in any of the categories.
Default value is: false.
failOnValid boolean - The build will fail if a license with the category Valid has been found.
Default value is: false.
failOnWarning boolean - The build will fail if a license with the category Warning has been found.
Default value is: false.
licenseFile File - The name of the licenses.xml file which will be used to categorize the licenses of the artifacts.
Default value is: ${project.basedir}/src/licenses/licenses.xml.
stricktChecking boolean - This will turn on strictChecking behavior which will check URL and Name of a license instead of only URL or Name.
Default value is: false.
verbose boolean - This will turn on verbose behavior and will print out all information about the artifacts.
Default value is: false.

Parameter Details

excludes:

By using excludes you can exclude particular artifacts from being checked by the Maven Licenses Verifier Plugin.
  <excludes>
     <exclude>groupId:artifactId:type:version</exclude>
     ..
  </excludes>
  • Type: java.util.List
  • Required: No

failOnInvalid:

The build will fail if a license with the category Invalid has been found.
  • Type: boolean
  • Required: No
  • Expression: ${mlv.failOnInvalid}
  • Default: false

failOnUnknown:

The build will fail if a license can not be categorized in any of the categories.
  • Type: boolean
  • Required: No
  • Expression: ${mlv.failOnUnknown}
  • Default: false

failOnValid:

The build will fail if a license with the category Valid has been found.
  • Type: boolean
  • Required: No
  • Expression: ${mlv.failOnValid}
  • Default: false

failOnWarning:

The build will fail if a license with the category Warning has been found.
  • Type: boolean
  • Required: No
  • Expression: ${mlv.failOnWarning}
  • Default: false

licenseFile:

The name of the licenses.xml file which will be used to categorize the licenses of the artifacts.
  • Type: java.io.File
  • Required: No
  • Expression: ${mlv.licenseFile}
  • Default: ${project.basedir}/src/licenses/licenses.xml

stricktChecking:

This will turn on strictChecking behavior which will check URL and Name of a license instead of only URL or Name.
  • Type: boolean
  • Required: No
  • Expression: ${mlv.strickChecking}
  • Default: false

verbose:

This will turn on verbose behavior and will print out all information about the artifacts.
  • Type: boolean
  • Required: No
  • Expression: ${mlv.verbose}
  • Default: false