Permalink
Browse files

Make sure that all files are updated with license headers before pack…

…aging
  • Loading branch information...
1 parent c20b432 commit d9ee39831b30494875c6f5090693d7eb6c6c3e26 @MoriTanosuke committed Apr 13, 2017
Showing with 8 additions and 4 deletions.
  1. +8 −4 pom.xml
View
12 pom.xml
@@ -162,15 +162,19 @@
<goals>
<goal>check-file-header</goal>
</goals>
- <phase>process-sources</phase>
+ <phase>prepare-package</phase>
<configuration>
<failOnMissingHeader>true</failOnMissingHeader>
<failOnNotUptodateHeader>true</failOnNotUptodateHeader>
- <excludes>
- <exclude>**/log4j.properties</exclude>
- </excludes>
</configuration>
</execution>
+ <execution>
+ <id>add-missing-headers</id>
+ <goals>
+ <goal>update-file-header</goal>
+ </goals>
+ <phase>process-sources</phase>
+ </execution>
</executions>
</plugin>
<plugin>

0 comments on commit d9ee398

Please sign in to comment.