You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by jv...@apache.org on 2014/05/18 22:53:37 UTC

svn commit: r1595683 - /maven/pom/trunk/maven/pom.xml

Author: jvanzyl
Date: Sun May 18 20:53:36 2014
New Revision: 1595683

URL: http://svn.apache.org/r1595683
Log:
MPOM-52: enable RAT on every build, not only during release

I removed both the rat profiles and enable rat:check by default. Please review. Locally I changed:

 maven-dependency-tree --> maven-shared-components --> maven-parent

and it all appears to work fine. Maybe we want to add some default excludes but this shoudl make it run all the time.


Modified:
    maven/pom/trunk/maven/pom.xml

Modified: maven/pom/trunk/maven/pom.xml
URL: http://svn.apache.org/viewvc/maven/pom/trunk/maven/pom.xml?rev=1595683&r1=1595682&r2=1595683&view=diff
==============================================================================
--- maven/pom/trunk/maven/pom.xml (original)
+++ maven/pom/trunk/maven/pom.xml Sun May 18 20:53:36 2014
@@ -415,7 +415,7 @@ under the License.
       <id>jvanzyl</id>
       <name>Jason van Zyl</name>
       <roles>
-        <role>Committer</role>
+        <role>PMC Member</role>
       </roles>
       <timezone>-5</timezone>
     </developer>
@@ -943,6 +943,19 @@ under the License.
           </dependency>
         </dependencies>
       </plugin>
+      <plugin>
+        <groupId>org.apache.rat</groupId>
+        <artifactId>apache-rat-plugin</artifactId>
+        <inherited>true</inherited>
+        <executions>
+          <execution>
+            <id>check</id>
+            <goals>
+              <goal>check</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>      
     </plugins>
   </build>
 
@@ -983,50 +996,6 @@ under the License.
 
   <profiles>
     <profile>
-      <id>apache-release</id>
-      <build>
-        <plugins>
-          <plugin>
-            <groupId>org.apache.rat</groupId>
-            <artifactId>apache-rat-plugin</artifactId>
-            <inherited>true</inherited>
-            <executions>
-              <execution>
-                <id>check</id>
-                <goals>
-                  <goal>check</goal>
-                </goals>
-                <configuration>
-                  <!-- phase 1: measure the size of the issue -->
-                  <ignoreErrors>true</ignoreErrors>
-                </configuration>
-              </execution>
-            </executions>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-    <profile>
-      <id>rat</id>
-      <build>
-        <plugins>
-          <plugin>
-            <groupId>org.apache.rat</groupId>
-            <artifactId>apache-rat-plugin</artifactId>
-            <executions>
-              <execution>
-                <phase>verify</phase>
-                <goals>
-                  <!-- rat, not check, because we've got lots of noncomplaint stuff -->
-                  <goal>rat</goal>
-                </goals>
-              </execution>
-            </executions>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-    <profile>
       <id>quality-checks</id>
       <activation>
         <property>