summaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authormark.j.leonard <mark.j.leonard@gmail.com>2019-02-12 12:41:54 +0000
committermark.j.leonard <mark.j.leonard@gmail.com>2019-02-12 12:41:54 +0000
commitef814149fcc9593a3296e1d7ccd87a679c27708b (patch)
treea0263b396f4d94c4f300c7bcda5d393bbfca8ce5 /pom.xml
parentb3cce282f35ff30042a860b788a003f38393c9d3 (diff)
Add the Maven license plugin
Update some Java files with incorrect import ordering. Apply an updated License text (referencing the year 2019). Change-Id: Iaf0a7f8a4f2fd4dfb52eda87366e1f8d50e6e06c Issue-ID: AAI-2057 Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml24
1 files changed, 23 insertions, 1 deletions
diff --git a/pom.xml b/pom.xml
index 6db2b50..d3f0e94 100644
--- a/pom.xml
+++ b/pom.xml
@@ -296,7 +296,29 @@ limitations under the License.
</execution>
</executions>
</plugin>
-
+ <plugin>
+ <groupId>com.mycila</groupId>
+ <artifactId>license-maven-plugin</artifactId>
+ <version>3.0</version>
+ <configuration>
+ <header>License.txt</header>
+ <includes>
+ <include>src/main/java/**</include>
+ <include>src/test/java/**</include>
+ <include>pom.xml</include>
+ </includes>
+ <skipExistingHeaders>true</skipExistingHeaders>
+ </configuration>
+ <executions>
+ <execution>
+ <goals>
+ <!-- Set goal from "check" to "format" to auto update license headers -->
+ <goal>check</goal>
+ </goals>
+ <phase>validate</phase>
+ </execution>
+ </executions>
+ </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>