You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@creadur.apache.org by de...@apache.org on 2012/11/04 20:28:58 UTC
svn commit: r1405618 - in /creadur/rat/trunk: apache-rat-core/pom.xml
apache-rat-plugin/pom.xml apache-rat-tasks/pom.xml pom.xml
Author: dennisl
Date: Sun Nov 4 19:28:58 2012
New Revision: 1405618
URL: http://svn.apache.org/viewvc?rev=1405618&view=rev
Log:
Dog food: configure apache-rat-plugin to exclude files that are used in our own tests that need to either have a different license or not have one at all.
Modified:
creadur/rat/trunk/apache-rat-core/pom.xml
creadur/rat/trunk/apache-rat-plugin/pom.xml
creadur/rat/trunk/apache-rat-tasks/pom.xml
creadur/rat/trunk/pom.xml
Modified: creadur/rat/trunk/apache-rat-core/pom.xml
URL: http://svn.apache.org/viewvc/creadur/rat/trunk/apache-rat-core/pom.xml?rev=1405618&r1=1405617&r2=1405618&view=diff
==============================================================================
--- creadur/rat/trunk/apache-rat-core/pom.xml (original)
+++ creadur/rat/trunk/apache-rat-core/pom.xml Sun Nov 4 19:28:58 2012
@@ -46,6 +46,21 @@
</includes>
</resource>
</resources>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ <configuration>
+ <excludes>
+ <!-- These files does not have license headers because they are used to test license headers -->
+ <exclude>src/test/resources/elements/Source.java</exclude>
+ <exclude>src/test/resources/elements/sub/Empty.txt</exclude>
+ <exclude>src/test/resources/violations/bad.txt</exclude>
+ <exclude>src/test/resources/violations/FilterTest.cs</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ </plugins>
</build>
<dependencies>
Modified: creadur/rat/trunk/apache-rat-plugin/pom.xml
URL: http://svn.apache.org/viewvc/creadur/rat/trunk/apache-rat-plugin/pom.xml?rev=1405618&r1=1405617&r2=1405618&view=diff
==============================================================================
--- creadur/rat/trunk/apache-rat-plugin/pom.xml (original)
+++ creadur/rat/trunk/apache-rat-plugin/pom.xml Sun Nov 4 19:28:58 2012
@@ -115,6 +115,18 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ <configuration>
+ <excludes>
+ <!-- These files does not have license headers because they are used to test license headers -->
+ <exclude>src/test/invoker/it1/src.apt</exclude>
+ <exclude>src/test/it2/src.txt</exclude>
+ <exclude>src/test/it3/src.apt</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
</plugins>
</build>
Modified: creadur/rat/trunk/apache-rat-tasks/pom.xml
URL: http://svn.apache.org/viewvc/creadur/rat/trunk/apache-rat-tasks/pom.xml?rev=1405618&r1=1405617&r2=1405618&view=diff
==============================================================================
--- creadur/rat/trunk/apache-rat-tasks/pom.xml (original)
+++ creadur/rat/trunk/apache-rat-tasks/pom.xml Sun Nov 4 19:28:58 2012
@@ -119,6 +119,16 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ <configuration>
+ <excludes>
+ <!-- This file does not have license header because it is used to test license headers -->
+ <exclude>src/test/resources/antunit/index.apt</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
</plugins>
<pluginManagement>
Modified: creadur/rat/trunk/pom.xml
URL: http://svn.apache.org/viewvc/creadur/rat/trunk/pom.xml?rev=1405618&r1=1405617&r2=1405618&view=diff
==============================================================================
--- creadur/rat/trunk/pom.xml (original)
+++ creadur/rat/trunk/pom.xml Sun Nov 4 19:28:58 2012
@@ -306,6 +306,16 @@ agnostic home for software distribution
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ <configuration>
+ <excludes>
+ <!-- This file only describes how to build the project and it has no license header -->
+ <exclude>BUILD.txt</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
</plugins>
<extensions>
<extension>