add a rat profile for rat plugin chec, this profile will be enabled on ci server

git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1310325 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2012-04-06 13:44:56 +00:00
parent b30f75cd94
commit 61d4f7e5a9
1 changed files with 24 additions and 22 deletions

46
pom.xml
View File

@ -981,6 +981,7 @@
</execution>
</executions>
</plugin>
</plugins>
</build>
@ -1100,32 +1101,33 @@
</plugins>
</build>
</profile>
<profile>
<id>tdev</id>
<id>rat</id>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat6-maven-plugin</artifactId>
<version>2.0-SNAPSHOT</version>
</plugin>
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<version>2.0-SNAPSHOT</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat6-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
</plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<version>0.8</version>
<configuration>
<excludes>
<exclude>.gitignore</exclude>
<exclude>DEPENDENCIES</exclude>
<exclude>README.txt</exclude>
<exclude>*.sh</exclude>
</excludes>
</configuration>
<executions>
<execution>
<id>rat-check</id>
<goals>
<goal>check</goal>
</goals>
<phase>verify</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>