Updated Branches:
  refs/heads/1.5.x 6d44a94dc -> 662091574

JCLOUDS-28. Add rat check to POM.


Project: http://git-wip-us.apache.org/repos/asf/incubator-jclouds-karaf/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-jclouds-karaf/commit/5c438a0a
Tree: 
http://git-wip-us.apache.org/repos/asf/incubator-jclouds-karaf/tree/5c438a0a
Diff: 
http://git-wip-us.apache.org/repos/asf/incubator-jclouds-karaf/diff/5c438a0a

Branch: refs/heads/1.5.x
Commit: 5c438a0aae0e3827f0861ee29363a401a21df82f
Parents: 6d44a94
Author: Andrew Bayer <[email protected]>
Authored: Fri May 10 15:54:18 2013 -0700
Committer: Andrew Bayer <[email protected]>
Committed: Mon May 13 12:06:29 2013 -0700

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


http://git-wip-us.apache.org/repos/asf/incubator-jclouds-karaf/blob/5c438a0a/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 67835db..c3e3625 100644
--- a/pom.xml
+++ b/pom.xml
@@ -58,6 +58,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>org.apache.felix</groupId>
                 <artifactId>maven-bundle-plugin</artifactId>

Reply via email to