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

pom.xml

diff --git a/pom.xml b/pom.xml
index 4fd43df046559bf8e1849bdc0385e8f272e5c9c3..3eac65a538bc6e36e7f7a822428ff07d9c3c018e 100644 (file)
--- a/pom.xml
+++ b/pom.xml
           </execution>
         </executions>
       </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>
+            <exclude>.git/**</exclude>
+          </excludes>
+        </configuration>
+        <executions>
+          <execution>
+            <id>rat-check</id>
+            <goals>
+              <goal>check</goal>
+            </goals>
+            <phase>verify</phase>
+          </execution>
+        </executions>
+      </plugin>
 
     </plugins>
   </build>
       </build>
     </profile>
 
-    <profile>
-      <id>rat</id>
-      <build>
-        <plugins>
-          <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>
-                <exclude>.git/**</exclude>
-              </excludes>
-            </configuration>
-            <executions>
-              <execution>
-                <id>rat-check</id>
-                <goals>
-                  <goal>check</goal>
-                </goals>
-                <phase>verify</phase>
-              </execution>
-            </executions>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
   </profiles>
 </project>