Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

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)

Unlicensed user

Issue Tracking

 

Release Docs

Maven Site

Download Source

Maven

  • Jasig projects using Maven
  • No labels