Author: veithen
Date: Thu Dec 29 11:22:31 2011
New Revision: 1225497

URL: http://svn.apache.org/viewvc?rev=1225497&view=rev
Log:
Moved the execution of the apache-rat-plugin to the apache-release profile.

Modified:
    webservices/commons/trunk/modules/axiom/modules/axiom-dom-testsuite/pom.xml
    
webservices/commons/trunk/modules/axiom/modules/axiom-jaxen-testsuite/pom.xml
    webservices/commons/trunk/modules/axiom/modules/axiom-parent/pom.xml
    webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/pom.xml
    webservices/commons/trunk/modules/axiom/pom.xml

Modified: 
webservices/commons/trunk/modules/axiom/modules/axiom-dom-testsuite/pom.xml
URL: 
http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-dom-testsuite/pom.xml?rev=1225497&r1=1225496&r2=1225497&view=diff
==============================================================================
--- webservices/commons/trunk/modules/axiom/modules/axiom-dom-testsuite/pom.xml 
(original)
+++ webservices/commons/trunk/modules/axiom/modules/axiom-dom-testsuite/pom.xml 
Thu Dec 29 11:22:31 2011
@@ -71,19 +71,24 @@
             <scope>test</scope>
         </dependency>
     </dependencies>
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.rat</groupId>
-                <artifactId>apache-rat-plugin</artifactId>
-                <configuration>
-                    <excludes>
-                        <!-- src/main/resources contains test files and they 
obviously cannot
-                             all contain a valid license header -->
-                        <exclude>src/main/resources/**</exclude>
-                    </excludes>
-                </configuration> 
-            </plugin>
-        </plugins>
-    </build>
+    <profiles>
+        <profile>
+            <id>apache-release</id>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.rat</groupId>
+                        <artifactId>apache-rat-plugin</artifactId>
+                        <configuration>
+                            <excludes>
+                                <!-- src/main/resources contains test files 
and they obviously cannot
+                                     all contain a valid license header -->
+                                <exclude>src/main/resources/**</exclude>
+                            </excludes>
+                        </configuration> 
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+    </profiles>
 </project>

Modified: 
webservices/commons/trunk/modules/axiom/modules/axiom-jaxen-testsuite/pom.xml
URL: 
http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-jaxen-testsuite/pom.xml?rev=1225497&r1=1225496&r2=1225497&view=diff
==============================================================================
--- 
webservices/commons/trunk/modules/axiom/modules/axiom-jaxen-testsuite/pom.xml 
(original)
+++ 
webservices/commons/trunk/modules/axiom/modules/axiom-jaxen-testsuite/pom.xml 
Thu Dec 29 11:22:31 2011
@@ -48,20 +48,25 @@
             <artifactId>junit</artifactId>
         </dependency>
     </dependencies>
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.rat</groupId>
-                <artifactId>apache-rat-plugin</artifactId>
-                <configuration>
-                    <excludes>
-                        <!-- Source code, resources and license files from 
Jaxen (see LEGAL-74 & WSCOMMONS-545) -->
-                        <exclude>src/main/resources/xml/**</exclude>
-                        <exclude>src/main/java/org/jaxen/test/**</exclude>
-                        
<exclude>src/main/resources/META-INF/LICENSE-JAXEN</exclude>
-                    </excludes>
-                </configuration> 
-            </plugin>
-        </plugins>
-    </build>
+    <profiles>
+        <profile>
+            <id>apache-release</id>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.rat</groupId>
+                        <artifactId>apache-rat-plugin</artifactId>
+                        <configuration>
+                            <excludes>
+                                <!-- Source code, resources and license files 
from Jaxen (see LEGAL-74 & WSCOMMONS-545) -->
+                                <exclude>src/main/resources/xml/**</exclude>
+                                
<exclude>src/main/java/org/jaxen/test/**</exclude>
+                                
<exclude>src/main/resources/META-INF/LICENSE-JAXEN</exclude>
+                            </excludes>
+                        </configuration> 
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+    </profiles>
 </project>

Modified: webservices/commons/trunk/modules/axiom/modules/axiom-parent/pom.xml
URL: 
http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-parent/pom.xml?rev=1225497&r1=1225496&r2=1225497&view=diff
==============================================================================
--- webservices/commons/trunk/modules/axiom/modules/axiom-parent/pom.xml 
(original)
+++ webservices/commons/trunk/modules/axiom/modules/axiom-parent/pom.xml Thu 
Dec 29 11:22:31 2011
@@ -297,29 +297,38 @@
                     <attach>true</attach>
                 </configuration>
             </plugin>
-            <plugin>
-                <groupId>org.apache.rat</groupId>
-                <artifactId>apache-rat-plugin</artifactId>
-                <version>0.8</version>
-                <executions>
-                    <execution>
-                        <phase>verify</phase>
-                        <goals>
-                            <goal>check</goal>
-                        </goals>
-                    </execution>
-                </executions>
-                <configuration>
-                    <excludes>
-                        <!-- We can't add license headers to test resources -->
-                        <exclude>src/test/resources/**</exclude>
-                        <!-- Temporary file created by maven-shade-plugin -->
-                        <exclude>dependency-reduced-pom.xml</exclude>
-                    </excludes>
-                </configuration> 
-            </plugin>
         </plugins>
     </build>
+    <profiles>
+        <profile>
+            <id>apache-release</id>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.rat</groupId>
+                        <artifactId>apache-rat-plugin</artifactId>
+                        <version>0.8</version>
+                        <executions>
+                            <execution>
+                                <phase>verify</phase>
+                                <goals>
+                                    <goal>check</goal>
+                                </goals>
+                            </execution>
+                        </executions>
+                        <configuration>
+                            <excludes>
+                                <!-- We can't add license headers to test 
resources -->
+                                <exclude>src/test/resources/**</exclude>
+                                <!-- Temporary file created by 
maven-shade-plugin -->
+                                <exclude>dependency-reduced-pom.xml</exclude>
+                            </excludes>
+                        </configuration> 
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+    </profiles>
     <dependencyManagement>
         <dependencies>
             <!-- We use the 1.0 version of the StAX API as Maven dependency 
(because

Modified: 
webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/pom.xml
URL: 
http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/pom.xml?rev=1225497&r1=1225496&r2=1225497&view=diff
==============================================================================
--- webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/pom.xml 
(original)
+++ webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/pom.xml Thu 
Dec 29 11:22:31 2011
@@ -75,19 +75,24 @@
             <version>${project.version}</version>
         </dependency>
     </dependencies>
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.rat</groupId>
-                <artifactId>apache-rat-plugin</artifactId>
-                <configuration>
-                    <excludes>
-                        <!-- src/main/resources contains test files and they 
obviously cannot
-                             all contain a valid license header -->
-                        <exclude>src/main/resources/**</exclude>
-                    </excludes>
-                </configuration> 
-            </plugin>
-        </plugins>
-    </build>
+    <profiles>
+        <profile>
+            <id>apache-release</id>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.rat</groupId>
+                        <artifactId>apache-rat-plugin</artifactId>
+                        <configuration>
+                            <excludes>
+                                <!-- src/main/resources contains test files 
and they obviously cannot
+                                     all contain a valid license header -->
+                                <exclude>src/main/resources/**</exclude>
+                            </excludes>
+                        </configuration> 
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+    </profiles>
 </project>

Modified: webservices/commons/trunk/modules/axiom/pom.xml
URL: 
http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/pom.xml?rev=1225497&r1=1225496&r2=1225497&view=diff
==============================================================================
--- webservices/commons/trunk/modules/axiom/pom.xml (original)
+++ webservices/commons/trunk/modules/axiom/pom.xml Thu Dec 29 11:22:31 2011
@@ -446,33 +446,6 @@
                 </executions>
             </plugin>
             <plugin>
-                <groupId>org.apache.rat</groupId>
-                <artifactId>apache-rat-plugin</artifactId>
-                <version>0.8</version>
-                <executions>
-                    <execution>
-                        <phase>verify</phase>
-                        <goals>
-                            <goal>check</goal>
-                        </goals>
-                    </execution>
-                </executions>
-                <configuration>
-                    <excludes>
-                        <!-- RAT doesn't recognize this one as notes file -->
-                        <exclude>RELEASE-NOTE.txt</exclude>
-                        <!-- SVG files are not edited by hand, so license 
headers would be lost anyway -->
-                        <exclude>**/*.svg</exclude>
-                        <!-- License file from Jaxen (see LEGAL-74 & 
WSCOMMONS-545) -->
-                        <exclude>legal/jaxen-LICENSE.txt</exclude>
-                        <!-- Files used by various developer tools -->
-                        <exclude>*.sonarj</exclude>
-                        <!-- File generated by maven-release-plugin -->
-                        <exclude>release.properties</exclude>
-                    </excludes>
-                </configuration> 
-            </plugin>
-            <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-assembly-plugin</artifactId>
                 <version>2.2-beta-5</version>
@@ -494,6 +467,42 @@
             </plugin>
         </plugins>
     </build>
+    <profiles>
+        <profile>
+            <id>apache-release</id>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.rat</groupId>
+                        <artifactId>apache-rat-plugin</artifactId>
+                        <version>0.8</version>
+                        <executions>
+                            <execution>
+                                <phase>verify</phase>
+                                <goals>
+                                    <goal>check</goal>
+                                </goals>
+                            </execution>
+                        </executions>
+                        <configuration>
+                            <excludes>
+                                <!-- RAT doesn't recognize this one as notes 
file -->
+                                <exclude>RELEASE-NOTE.txt</exclude>
+                                <!-- SVG files are not edited by hand, so 
license headers would be lost anyway -->
+                                <exclude>**/*.svg</exclude>
+                                <!-- License file from Jaxen (see LEGAL-74 & 
WSCOMMONS-545) -->
+                                <exclude>legal/jaxen-LICENSE.txt</exclude>
+                                <!-- Files used by various developer tools -->
+                                <exclude>*.sonarj</exclude>
+                                <!-- File generated by maven-release-plugin -->
+                                <exclude>release.properties</exclude>
+                            </excludes>
+                        </configuration> 
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+    </profiles>
     <reporting>
         <plugins>
             <plugin>


Reply via email to