You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ol...@apache.org on 2011/10/21 00:07:33 UTC
svn commit: r1187094 - /maven/scm/trunk/pom.xml
Author: olamy
Date: Thu Oct 20 22:07:33 2011
New Revision: 1187094
URL: http://svn.apache.org/viewvc?rev=1187094&view=rev
Log:
add a rat profile to check files
Modified:
maven/scm/trunk/pom.xml
Modified: maven/scm/trunk/pom.xml
URL: http://svn.apache.org/viewvc/maven/scm/trunk/pom.xml?rev=1187094&r1=1187093&r2=1187094&view=diff
==============================================================================
--- maven/scm/trunk/pom.xml (original)
+++ maven/scm/trunk/pom.xml Thu Oct 20 22:07:33 2011
@@ -448,6 +448,43 @@
</build>
</profile>
+ <profile>
+ <id>rat</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ <version>0.7</version>
+ <configuration>
+ <excludes>
+ <exclude>.gitignore</exclude>
+ <exclude>DEPENDENCIES</exclude>
+ <exclude>README.txt</exclude>
+ <exclude>*.sh</exclude>
+ <exclude>.git/**</exclude>
+ <exclude>.idea/**</exclude>
+ <exclude>**/generated-sources/**</exclude>
+ <exclude>**/.gitattributes</exclude>
+ <exclude>bootstrap/**</exclude>
+ <!-- FIXME temporary exclude that but must be fixed -->
+ <exclude>src/test/**</exclude>
+ </excludes>
+ </configuration>
+ <executions>
+ <execution>
+ <id>rat-check</id>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ <phase>verify</phase>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+
</profiles>
<repositories>