maven-jasig-legal-plugin
Description
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.
<plugin> <groupId>org.jasig.maven</groupId> <artifactId>maven-jasig-legal-plugin</artifactId> <version>1.0.2</version> <executions> <execution> <id>copy-files</id> <goals> <goal>copy-files</goal> </goals> </execution> </executions> </plugin>
Project Details
Current Version |
1.0.2 |
---|---|
Author(s) |
|
Issue Tracking |
|
Release Docs |
|
Download Source |
Current Adopters
- Jasig projects using Maven