You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2015/03/19 13:42:37 UTC

svn commit: r1667729 - /sling/trunk/parent/pom.xml

Author: rombert
Date: Thu Mar 19 12:42:36 2015
New Revision: 1667729

URL: http://svn.apache.org/r1667729
Log:
SLING-4511 - Enable the rat profile by default

Modified:
    sling/trunk/parent/pom.xml

Modified: sling/trunk/parent/pom.xml
URL: http://svn.apache.org/viewvc/sling/trunk/parent/pom.xml?rev=1667729&r1=1667728&r2=1667729&view=diff
==============================================================================
--- sling/trunk/parent/pom.xml (original)
+++ sling/trunk/parent/pom.xml Thu Mar 19 12:42:36 2015
@@ -282,6 +282,31 @@ on 64bit platforms: MAVEN_OPTS="-Xmx512M
                     </tagBase>
                 </configuration>
             </plugin>
+            <plugin>
+                <groupId>org.apache.rat</groupId>
+                <artifactId>apache-rat-plugin</artifactId>
+                <version>0.10</version>
+                <configuration>
+                    <excludes>
+                        <!--  Used by maven-remote-resources-plugin -->
+                        <exclude>src/main/appended-resources/META-INF/*</exclude>
+                        <!--  Generated by maven-remote-resources-plugin -->
+                        <exclude>velocity.log</exclude>
+                        <!-- don't check anything in target -->
+                        <exclude>target/*</exclude>
+                        <!-- README files in markdown format -->
+                        <exclude>README.md</exclude>
+                    </excludes>
+                </configuration>
+                <executions>
+                    <execution>
+                        <phase>verify</phase>
+                        <goals>
+                            <goal>check</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
         </plugins>
 
         <pluginManagement>
@@ -476,43 +501,6 @@ on 64bit platforms: MAVEN_OPTS="-Xmx512M
                                 </goals>
                             </execution>
                         </executions>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
-	    <!--
-	    We should execute this profile manually to make sure that all files in our source code contain proper licenses.
-	    This is very important and should not be skipped in any scenario.  It is very importnt for us to follow ASF policy.
-	    Example:  mvn -Prat prepare-release install
-	    -->
-        <profile>
-            <id>rat</id>
-            <build>
-                <plugins>
-                    <plugin>
-                        <groupId>org.apache.rat</groupId>
-                        <artifactId>apache-rat-plugin</artifactId>
-                        <version>0.10</version>
-                        <configuration>
-                            <excludes>
-                                <!--  Used by maven-remote-resources-plugin -->
-                                <exclude>src/main/appended-resources/META-INF/*</exclude>
-                                <!--  Generated by maven-remote-resources-plugin -->
-                                <exclude>velocity.log</exclude>
-                                <!-- don't check anything in target -->
-                                <exclude>target/*</exclude>
-                                <!-- README files in markdown format -->
-                                <exclude>README.md</exclude>
-                            </excludes>
-                        </configuration>
-                        <executions>
-                            <execution>
-                                <phase>verify</phase>
-                                <goals>
-                                    <goal>check</goal>
-                                </goals>
-                            </execution>
-                        </executions>
                     </plugin>
                 </plugins>
             </build>