execute rat plugin in the default build

git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1356306 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2012-07-02 15:40:11 +00:00
parent dd6e3d7793
commit f8984f5ffe
1 changed files with 22 additions and 29 deletions

51
pom.xml
View File

@ -837,6 +837,28 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<configuration>
<excludes>
<exclude>.gitignore</exclude>
<exclude>DEPENDENCIES</exclude>
<exclude>README.txt</exclude>
<exclude>*.sh</exclude>
<exclude>.git/**</exclude>
</excludes>
</configuration>
<executions>
<execution>
<id>rat-check</id>
<goals>
<goal>check</goal>
</goals>
<phase>verify</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
@ -956,34 +978,5 @@
</build>
</profile>
<profile>
<id>rat</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<configuration>
<excludes>
<exclude>.gitignore</exclude>
<exclude>DEPENDENCIES</exclude>
<exclude>README.txt</exclude>
<exclude>*.sh</exclude>
<exclude>.git/**</exclude>
</excludes>
</configuration>
<executions>
<execution>
<id>rat-check</id>
<goals>
<goal>check</goal>
</goals>
<phase>verify</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>