]> source.dussan.org Git - archiva.git/commitdiff
add rat plugin in the default build
authorOlivier Lamy <olamy@apache.org>
Mon, 2 Jul 2012 20:26:26 +0000 (20:26 +0000)
committerOlivier Lamy <olamy@apache.org>
Mon, 2 Jul 2012 20:26:26 +0000 (20:26 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1356465 13f79535-47bb-0310-9956-ffa450edef68

pom.xml

diff --git a/pom.xml b/pom.xml
index d66ed6d1e63fdeb7a3c51dfe69904c9a6e6dcef1..0eef695112db6d616d0549c6ba0921908e5fa0cc 100644 (file)
--- a/pom.xml
+++ b/pom.xml
       <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>
       <plugin>
         <groupId>org.apache.tomcat.maven</groupId>
   </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>