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:07:54 UTC

[2/3] 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-cli/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-jclouds-cli/commit/13400e0d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-jclouds-cli/tree/13400e0d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-jclouds-cli/diff/13400e0d

Branch: refs/heads/master
Commit: 13400e0d60d0520870594706e10c27ee2273d3d3
Parents: 4adb5fc
Author: Andrew Bayer <an...@gmail.com>
Authored: Fri May 10 16:17:13 2013 -0700
Committer: Andrew Bayer <an...@gmail.com>
Committed: Mon May 13 10:30:47 2013 -0700

----------------------------------------------------------------------
 pom.xml |   39 ++++++++++++++++++++++++++++++++++++++-
 1 files changed, 38 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-jclouds-cli/blob/13400e0d/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index ae26bd0..28c8075 100644
--- a/pom.xml
+++ b/pom.xml
@@ -94,8 +94,45 @@
 
     <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>
+              <groupId>org.apache.felix</groupId>
                 <artifactId>maven-bundle-plugin</artifactId>
                 <version>${maven-bundle-plugin.version}</version>
                 <extensions>true</extensions>