commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1483133 - /commons/proper/io/trunk/pom.xml
Date Thu, 16 May 2013 00:43:37 GMT
Author: sebb
Date: Thu May 16 00:43:36 2013
New Revision: 1483133

URL: http://svn.apache.org/r1483133
Log:
Fix up RAT excludes (can be simplified when CP30 is available)
Copy report RAT excludes to build section for using RAT in CLI mode

Modified:
    commons/proper/io/trunk/pom.xml

Modified: commons/proper/io/trunk/pom.xml
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/pom.xml?rev=1483133&r1=1483132&r2=1483133&view=diff
==============================================================================
--- commons/proper/io/trunk/pom.xml (original)
+++ commons/proper/io/trunk/pom.xml Thu May 16 00:43:36 2013
@@ -295,6 +295,24 @@ file comparators, endian transformation 
           </ignorePathsToDelete>
         </configuration>
       </plugin>
+      <!-- Configure RAT for CLI invocation: mvn apache-rat:rat -->
+      <plugin>
+        <groupId>org.apache.rat</groupId>
+        <artifactId>apache-rat-plugin</artifactId>
+        <!-- Must agree with report section RAT config -->
+        <configuration>
+          <excludes>
+            <exclude>src/test/resources/**/*.bin</exclude>
+            <exclude>test/**</exclude>
+
+            <!-- The next 3 excludes can be dropped when using CP30 -->
+            <exclude>site-content/**</exclude>
+            <exclude>.pmd</exclude>
+            <exclude>src/site/resources/download_*.cgi</exclude>
+
+          </excludes>
+        </configuration>
+      </plugin>
     </plugins>
   </build>
 
@@ -322,10 +340,17 @@ file comparators, endian transformation 
       <plugin>
         <groupId>org.apache.rat</groupId>
         <artifactId>apache-rat-plugin</artifactId>
+        <!-- Must agree with build section RAT config -->
         <configuration>
           <excludes>
             <exclude>src/test/resources/**/*.bin</exclude>
+            <exclude>test/**</exclude>
+
+            <!-- The next 3 excludes can be dropped when using CP30 -->
+            <exclude>site-content/**</exclude>
             <exclude>.pmd</exclude>
+            <exclude>src/site/resources/download_*.cgi</exclude>
+
           </excludes>
         </configuration>
       </plugin>



Mime
View raw message