You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by ve...@apache.org on 2010/06/13 15:11:13 UTC

svn commit: r954218 - in /webservices/commons/trunk/modules/axiom: modules/axiom-jaxen-testsuite/pom.xml modules/axiom-parent/pom.xml pom.xml

Author: veithen
Date: Sun Jun 13 13:11:13 2010
New Revision: 954218

URL: http://svn.apache.org/viewvc?rev=954218&view=rev
Log:
Improved RAT configuration: define a specific configuration for the root POM, define reasonable defaults in the parent POM and override configuration where necessary.

Modified:
    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/pom.xml

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=954218&r1=954217&r2=954218&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 Sun Jun 13 13:11:13 2010
@@ -41,4 +41,20 @@
             <scope>compile</scope>
         </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>
 </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=954218&r1=954217&r2=954218&view=diff
==============================================================================
--- webservices/commons/trunk/modules/axiom/modules/axiom-parent/pom.xml (original)
+++ webservices/commons/trunk/modules/axiom/modules/axiom-parent/pom.xml Sun Jun 13 13:11:13 2010
@@ -317,19 +317,8 @@
                 </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>
                         <!-- We can't add license headers to test resources -->
                         <exclude>src/test/resources/**</exclude>
-                        <!-- 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>
-                        <exclude>legal/jaxen-LICENSE.txt</exclude>
-                        <!-- Files used by various developer tools -->
-                        <exclude>*.sonarj</exclude>
                     </excludes>
                 </configuration> 
             </plugin>

Modified: webservices/commons/trunk/modules/axiom/pom.xml
URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/pom.xml?rev=954218&r1=954217&r2=954218&view=diff
==============================================================================
--- webservices/commons/trunk/modules/axiom/pom.xml (original)
+++ webservices/commons/trunk/modules/axiom/pom.xml Sun Jun 13 13:11:13 2010
@@ -516,12 +516,7 @@
                         <exclude>RELEASE-NOTE.txt</exclude>
                         <!-- SVG files are not edited by hand, so license headers would be lost anyway -->
                         <exclude>**/*.svg</exclude>
-                        <!-- We can't add license headers to test resources -->
-                        <exclude>src/test/resources/**</exclude>
-                        <!-- 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>
+                        <!-- License file from Jaxen (see LEGAL-74 & WSCOMMONS-545) -->
                         <exclude>legal/jaxen-LICENSE.txt</exclude>
                         <!-- Files used by various developer tools -->
                         <exclude>*.sonarj</exclude>