A Maven plugin used to copy LICENSE and NOTICE files into Maven generated project artifacts.
Plugin Goals
jasig-legal:copy-files Copies the LICENSE and NOTICE files from the project's basedir or a parent project's basedir into META-INF of the generated artifact.
Features
Supports multi-modules projects without custom configuration via an algorithm that searches parent projects for relevant LICENSE and NOTICE files.
More information
Example Plugin Configuration
In the project pom.xml add the notice plugin. The configuration below is what is used in the jasig-parent pom and should automatically be inherited by all Jasig Maven projects. This example uses a custom NOTICE template file for generation and a license mapping XML file to lookup license information about poorly defined dependencies.