Child pages
  • License Management
Skip to end of metadata
Go to start of metadata

Handling of project and 3rd party licenses
You can use the Maven-License-Plugin to help you handle licenses consistently in your project. The plugin provides functionlity for:

Example configuration

<plugins>
  <plugin>
    <groupId>org.nuiton</groupId>
      <artifactId>maven-license-plugin</artifactId>
      <version>2.4</version>
      <configuration>
        <verbose>false</verbose>
        <addSvnKeyWords>true</addSvnKeyWords>
      </configuration>
    <executions>
      <execution>
        <id>first</id>
        <goals>
          <goal>update-file-header</goal>
        </goals>
        <phase>process-sources</phase>
        <configuration>
        <licenseName>gpl_v3</licenseName>
          <roots>
             <root>src/main/java</root>
             <root>src/test</root>
          </roots>
        </configuration>
      </execution>
    </executions>
  </plugin>
</plugins>
  • No labels