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

44
pom.xml
View File

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