aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2012-07-02 13:45:08 +0000
committerOlivier Lamy <olamy@apache.org>2012-07-02 13:45:08 +0000
commitfab4c9d115ec4093b78a3b1ae8b4f168ec2e707f (patch)
tree9a2919b5c42699e63c200751bf234628b4b865d3
parent65795c5962fea897c5ffaaddd35ed7bfd039cc46 (diff)
downloadarchiva-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.xml45
1 files changed, 32 insertions, 13 deletions
diff --git a/pom.xml b/pom.xml
index 8ecff37fa..6857551ee 100644
--- a/pom.xml
+++ b/pom.xml
@@ -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>