JCLOUDS-28. Add rat check to POM.

Project: http://git-wip-us.apache.org/repos/asf/incubator-jclouds-labs/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-jclouds-labs/commit/48c6fe35
Tree: 
http://git-wip-us.apache.org/repos/asf/incubator-jclouds-labs/tree/48c6fe35
Diff: 
http://git-wip-us.apache.org/repos/asf/incubator-jclouds-labs/diff/48c6fe35

Branch: refs/heads/master
Commit: 48c6fe3538ad53f08faa834617572af87718e717
Parents: bca9321
Author: Andrew Bayer <[email protected]>
Authored: Fri May 10 15:59:00 2013 -0700
Committer: Andrew Bayer <[email protected]>
Committed: Mon May 13 10:38:00 2013 -0700

----------------------------------------------------------------------
 pom.xml |   37 +++++++++++++++++++++++++++++++++++++
 1 files changed, 37 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-jclouds-labs/blob/48c6fe35/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 1fa756f..5073674 100644
--- a/pom.xml
+++ b/pom.xml
@@ -73,6 +73,43 @@
 
     <build>
         <plugins>
+          <plugin>
+            <groupId>org.apache.rat</groupId>
+            <artifactId>apache-rat-plugin</artifactId>
+            <version>0.8</version>
+            <inherited>false</inherited>
+            <executions>
+              <execution>
+                <phase>package</phase>
+                <goals>
+              <goal>check</goal>
+                </goals>
+          </execution>
+            </executions>
+            <configuration>
+              <excludes>
+                <exclude>**/BUILD.txt</exclude>
+                <exclude>**/CHANGES.txt</exclude>
+                <exclude>**/NOTICE-src.txt</exclude>
+                <exclude>**/README.md</exclude>
+                <exclude>.git/**</exclude>
+                <exclude>**/.gitignore</exclude>
+                <exclude>**/*.json</exclude>
+                <exclude>**/*.log*</exclude>
+                <exclude>**/TODO</exclude>
+                <exclude>.mailmap</exclude>
+                <exclude>.idea/**</exclude>
+                <exclude>**/*.iml</exclude>
+                <exclude>**/.project</exclude>
+                <exclude>**/.classpath</exclude>
+                <exclude>**/.settings/**</exclude>
+                <exclude>**/.checkstyle</exclude>
+                <exclude>**/target/**</exclude>
+                <exclude>.repository/**</exclude>
+                <!-- binary -->
+              </excludes>
+            </configuration>
+          </plugin>
             <plugin>
                 <groupId>com.mycila.maven-license-plugin</groupId>
                 <artifactId>maven-license-plugin</artifactId>

Reply via email to