maven-jasig-legal-plugin

A Maven plugin used to copy LICENSE and NOTICE files into Maven generated project artifacts.

  • 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.
  • Supports multi-modules projects without custom configuration via an algorithm that searches parent projects for relevant LICENSE and NOTICE files.

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>


Current Version

1.0.2

Author(s)

Eric Dalquist

Issue Tracking

 

Release Docs

Maven Site

Download Source

Maven

  • Jasig projects using Maven