Skip to content

Commit

Permalink
#403 - Configure license-maven-plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
dstenger committed Feb 28, 2024
1 parent 01ff166 commit 33eda60
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions pom.xml
Expand Up @@ -14,6 +14,7 @@
Program (CITE).
</description>
<url>http://opengeospatial.github.io/teamengine/</url>
<inceptionYear>2006</inceptionYear>
<licenses>
<license>
<name>Apache License, Version 2.0</name>
Expand Down Expand Up @@ -574,6 +575,34 @@
</plugins>
</build>
</profile>
<profile>
<id>license</id>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>2.4.0</version>
<executions>
<execution>
<id>first</id>
<goals>
<goal>update-file-header</goal>
</goals>
<phase>process-sources</phase>
<configuration>
<licenseName>apache_v2</licenseName>
<roots>
<root>src/main/java</root>
<root>src/main/resources</root>
</roots>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>

<distributionManagement>
Expand Down

0 comments on commit 33eda60

Please sign in to comment.