commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l..@apache.org
Subject svn commit: r1454726 - /commons/proper/math/trunk/pom.xml
Date Sat, 09 Mar 2013 14:50:19 GMT
Author: luc
Date: Sat Mar  9 14:50:19 2013
New Revision: 1454726

URL: http://svn.apache.org/r1454726
Log:
Added exclude filters for RAT.

Many Apache license headers have been added in previous commits
(r1454703, r1454718, r1454719, r1454721, r1454722, r1454723). However
some test data files cannot be changed (empty file, files published by
by NIST), and in fact the content of this files is public, so they
cannot be subject to Apache license, so they are excluded from the RAT
report.

JIRA: MATH-921

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

Modified: commons/proper/math/trunk/pom.xml
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/pom.xml?rev=1454726&r1=1454725&r2=1454726&view=diff
==============================================================================
--- commons/proper/math/trunk/pom.xml (original)
+++ commons/proper/math/trunk/pom.xml Sat Mar  9 14:50:19 2013
@@ -375,7 +375,40 @@
             </ignorePathsToDelete>
           </configuration>
         </plugin>
-      </plugins>
+      <plugin>
+        <groupId>org.apache.rat</groupId>
+        <artifactId>apache-rat-plugin</artifactId>
+        <version>${commons.rat.version}</version>
+        <configuration>
+          <excludes>
+
+            <!-- MANIFEST files cannot have any comments, so we can't put license header
-->
+            <exclude>src/test/maxima/special/RealFunctionValidation/MANIFEST.txt</exclude>
+
+            <!-- the following are test data files with specific syntax that cannot include
+                 Apache header (and the contained data is public, it is not owned by Apache)
-->
+            <exclude>src/test/resources/org/apache/commons/math3/random/testData.txt</exclude>
+            <exclude>src/test/resources/org/apache/commons/math3/random/emptyFile.txt</exclude>
+            <exclude>src/test/resources/org/apache/commons/math3/stat/data/PiDigits.txt</exclude>
+            <exclude>src/test/resources/org/apache/commons/math3/stat/data/NumAcc3.txt</exclude>
+            <exclude>src/test/resources/org/apache/commons/math3/stat/data/Lew.txt</exclude>
+            <exclude>src/test/resources/org/apache/commons/math3/stat/data/NumAcc2.txt</exclude>
+            <exclude>src/test/resources/org/apache/commons/math3/stat/data/NumAcc1.txt</exclude>
+            <exclude>src/test/resources/org/apache/commons/math3/stat/data/Lottery.txt</exclude>
+            <exclude>src/test/resources/org/apache/commons/math3/stat/data/NumAcc4.txt</exclude>
+            <exclude>src/test/resources/org/apache/commons/math3/stat/data/Michelso.txt</exclude>
+            <exclude>src/test/resources/org/apache/commons/math3/stat/data/Mavro.txt</exclude>
+
+            <!-- version 0.8 of apache-rat-plugin does not exclude properly
+                 some default development tools files (see RAT-126) -->
+            <exclude>bin/**</exclude>
+            <exclude>.gitignore</exclude>
+            <exclude>.git/**</exclude>
+
+          </excludes>
+        </configuration>
+      </plugin>
+    </plugins>
   </build>
 
   <reporting>



Mime
View raw message