Add RAT check to the release profile

- Will ensure that the license header checks continue to pass.

- Noticed a strange "bug" in that I need to set <inherited>true</inherited> in the profile which then
   infects the non-inherited configuration outside the profile to all child projects. Not critical in this
   case, but none the less an unexpected consequence. Most likely would be resolved by switching
   to executions but that would require more duplication.
This commit is contained in:
Stephen Connolly 2013-05-28 10:42:47 +01:00
parent 348f716433
commit bfcf03d42c
1 changed files with 13 additions and 0 deletions

13
pom.xml
View File

@ -501,6 +501,19 @@
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<inherited>true</inherited>
<executions>
<execution>
<id>check</id>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins> </plugins>
</build> </build>
</profile> </profile>