ianal:verify-legal-files

Full name:

org.codehaus.mojo:ianal-maven-plugin:1.0-alpha-1:verify-legal-files

Description:

Verify that legal files are in all attached zip-encoded artifacts.

Attributes:

  • Requires a Maven 2.0 project to be executed.
  • Since version: 1.0-alpha-1.
  • Binds by default to the lifecycle phase: verify.

Optional Parameters

Name Type Since Description
acceptableExtentions String[] 1.0-alpha-1 the list of alternative acceptable file extentions for legal files.
requiredFiles String[] 1.0-alpha-1 The list of required legal files. Default is LICENSE and NOTICE .
searchPaths String[] 1.0-alpha-1 The list of paths to search for legal files.
skip boolean 1.0-alpha-1 Set to true to disable verification. Default value is: false.
strict boolean 1.0-alpha-1 When set to true, fail the build when no legal files are found. Default value is: false.

Parameter Details

acceptableExtentions :

the list of alternative acceptable file extentions for legal files.

  • Type: java.lang.String[]
  • Since: 1.0-alpha-1
  • Required: No

requiredFiles :

The list of required legal files. Default is LICENSE and NOTICE .

  • Type: java.lang.String[]
  • Since: 1.0-alpha-1
  • Required: No

searchPaths :

The list of paths to search for legal files.

  • Type: java.lang.String[]
  • Since: 1.0-alpha-1
  • Required: No

skip :

Set to true to disable verification.

  • Type: boolean
  • Since: 1.0-alpha-1
  • Required: No
  • Default: false

strict :

When set to true, fail the build when no legal files are found.

  • Type: boolean
  • Since: 1.0-alpha-1
  • Required: No
  • Default: false