summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-06-14 20:22:35 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-06-14 20:22:35 +0000
commit2caf85fa7842bbdf0e1fdffea4c795795279b267 (patch)
tree904af18d96195e3b06043e01183b816ce3f5832d /sca-java-2.x/trunk
parente8ec07b8a44eace4940f6e65524c56f6966534cc (diff)
Add rat plugin config to automatically run and validate rat as part of the build
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@954632 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk')
-rw-r--r--sca-java-2.x/trunk/distribution/all/pom.xml23
1 files changed, 23 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/distribution/all/pom.xml b/sca-java-2.x/trunk/distribution/all/pom.xml
index ef94bfbd08..cee48eed0c 100644
--- a/sca-java-2.x/trunk/distribution/all/pom.xml
+++ b/sca-java-2.x/trunk/distribution/all/pom.xml
@@ -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>