Author: antelder
Date: Mon Jun 14 20:22:35 2010
New Revision: 954632
URL: http://svn.apache.org/viewvc?rev=954632&view=rev
Log:
Add rat plugin config to automatically run and validate rat as part of the build
Modified:
tuscany/sca-java-2.x/trunk/distribution/all/pom.xml
Modified: tuscany/sca-java-2.x/trunk/distribution/all/pom.xml
URL:
http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/distribution/all/pom.xml?rev=954632&r1=954631&r2=954632&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/distribution/all/pom.xml (original)
+++ tuscany/sca-java-2.x/trunk/distribution/all/pom.xml Mon Jun 14 20:22:35 2010
@@ -121,6 +121,29 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ <version>0.6</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+
<basedir>target\apache-tuscany-sca-all-2.0-SNAPSHOT.dir</basedir>
+ <excludeSubProjects>false</excludeSubProjects>
+ <excludes>
+ <exclude>CHANGES</exclude>
+ <exclude>**/*.mf</exclude>
+
<exclude>features/configuration/config.ini</exclude>
+ </excludes>
+ <!-- excludes doesn't seem to work so use explicit
count for now -->
+ <numUnapprovedLicenses>105</numUnapprovedLicenses>
+ </configuration>
+ </plugin>
</plugins>
</build>
</profile>