tools:copy-legal-files

Copy legal files for inclusion into generated jars.

Mojo Attributes :

  • Requires a Maven 2.0 project to execute.
  • Automatically executes within the lifecycle phase: validate

Required Parameters

Name Type Description
outputDirectory File Directory to copy legal files into.

Optional Parameters

Name Type Description
ant AntHelper No description.
fileset DirectoryScanner The set of legal files to be copied. Default fileset includes: LICENSE[.txt], NOTICE[.txt] and DISCLAIMER[.txt].
strict boolean When set to true, fail the build when no legal files are found. Default value is false.

Parameter Details

ant

No Description.

  • Type : org.codehaus.mojo.pluginsupport.ant.AntHelper
  • Required : No

fileset

The set of legal files to be copied. Default fileset includes: LICENSE[.txt], NOTICE[.txt] and DISCLAIMER[.txt].

  • Type : org.codehaus.plexus.util.DirectoryScanner
  • Required : No

outputDirectory

Directory to copy legal files into.

  • Type : java.io.File
  • Required : Yes
  • Expression : ${project.build.outputDirectory}/META-INF

strict

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

  • Type : boolean
  • Required : No
  • Default : false