Updated Branches:
  refs/heads/1.5.x 5373c7550 -> cc312ad4f

JCLOUDS-28. Add rat check to POM.


Project: http://git-wip-us.apache.org/repos/asf/incubator-jclouds-chef/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-jclouds-chef/commit/83ddfb46
Tree: 
http://git-wip-us.apache.org/repos/asf/incubator-jclouds-chef/tree/83ddfb46
Diff: 
http://git-wip-us.apache.org/repos/asf/incubator-jclouds-chef/diff/83ddfb46

Branch: refs/heads/1.5.x
Commit: 83ddfb46bffb6d471d8c56845e0799a7f9685a74
Parents: 5373c75
Author: Andrew Bayer <[email protected]>
Authored: Fri May 10 15:50:18 2013 -0700
Committer: Andrew Bayer <[email protected]>
Committed: Mon May 13 12:11:39 2013 -0700

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


http://git-wip-us.apache.org/repos/asf/incubator-jclouds-chef/blob/83ddfb46/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index d47af97..2ef775e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -18,7 +18,7 @@
     specific language governing permissions and limitations
     under the License.
 
--->
+    -->
 <project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
   <modelVersion>4.0.0</modelVersion>
     <parent>
@@ -42,6 +42,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>
         <version>1.9.0</version>
@@ -51,7 +88,7 @@
           <aggregate>true</aggregate>
           <header>project/src/etc/header.txt</header>
           <mapping>
-              <clj>SEMICOLON_STYLE</clj>
+            <clj>SEMICOLON_STYLE</clj>
           </mapping>
           <excludes>
             <exclude>**/src/**/resources/**</exclude>

Reply via email to