diff options
author | Olivier Lamy <olamy@apache.org> | 2012-07-02 13:45:08 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2012-07-02 13:45:08 +0000 |
commit | fab4c9d115ec4093b78a3b1ae8b4f168ec2e707f (patch) | |
tree | 9a2919b5c42699e63c200751bf234628b4b865d3 | |
parent | 65795c5962fea897c5ffaaddd35ed7bfd039cc46 (diff) | |
download | archiva-fab4c9d115ec4093b78a3b1ae8b4f168ec2e707f.tar.gz archiva-fab4c9d115ec4093b78a3b1ae8b4f168ec2e707f.zip |
add a profile rat-check to enable rat verification
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1356222 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | pom.xml | 45 |
1 files changed, 32 insertions, 13 deletions
@@ -1652,19 +1652,6 @@ <pluginManagement> <plugins> <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> - </plugin> - <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>appassembler-maven-plugin</artifactId> <version>1.2.3-SNAPSHOT</version> @@ -1766,12 +1753,44 @@ <artifactId>tomcat7-maven-plugin</artifactId> <version>${asfTomcatMavenPluginVersion}</version> </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> + </excludes> + </configuration> + </plugin> </plugins> </pluginManagement> </build> <profiles> <profile> + <id>rat-check</id> + <build> + <plugins> + <plugin> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + <executions> + <execution> + <id>rat-verify</id> + <phase>test</phase> + <goals> + <goal>check</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + <profile> <id>release</id> <build> <plugins> |