You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jclouds.apache.org by ab...@apache.org on 2013/05/13 22:08:18 UTC

[2/4] git commit: JCLOUDS-28. Add rat check to POM.

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/ab1cde86
Tree: http://git-wip-us.apache.org/repos/asf/incubator-jclouds-karaf/tree/ab1cde86
Diff: http://git-wip-us.apache.org/repos/asf/incubator-jclouds-karaf/diff/ab1cde86

Branch: refs/heads/master
Commit: ab1cde862f427b5b26b045c1a7c4bdf6d027825a
Parents: 3a2d470
Author: Andrew Bayer <an...@gmail.com>
Authored: Fri May 10 15:54:18 2013 -0700
Committer: Andrew Bayer <an...@gmail.com>
Committed: Mon May 13 10:32: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/ab1cde86/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 2655c57..a2bff50 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>