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

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1454726 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Luc Maisonobe 2013-03-09 14:50:19 +00:00
parent 41b097afa5
commit 5f9169496b
1 changed files with 34 additions and 1 deletions

33
pom.xml
View File

@ -375,6 +375,39 @@
</ignorePathsToDelete>
</configuration>
</plugin>
<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>