Updated Branches:
  refs/heads/master c6c6bdc49 -> 348f71643

Add Apache RAT pluging configuration to exclude files that have a legitimate 
reason for being excluded

- We should maybe review this list periodically, but to my mind there are 
legitimate reasons for excluding all of these files from the ASL license header 
requirements


Project: http://git-wip-us.apache.org/repos/asf/maven/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven/commit/348f7164
Tree: http://git-wip-us.apache.org/repos/asf/maven/tree/348f7164
Diff: http://git-wip-us.apache.org/repos/asf/maven/diff/348f7164

Branch: refs/heads/master
Commit: 348f7164336e4c2209255daa2acdfcdfcaa8fa5e
Parents: c6c6bdc
Author: Stephen Connolly <stephen.alan.conno...@gmail.com>
Authored: Tue May 28 10:37:02 2013 +0100
Committer: Stephen Connolly <stephen.alan.conno...@gmail.com>
Committed: Tue May 28 10:37:02 2013 +0100

----------------------------------------------------------------------
 apache-maven/pom.xml   |   13 +++++++++++++
 maven-compat/pom.xml   |   13 +++++++++++++
 maven-core/pom.xml     |   12 ++++++++++++
 maven-embedder/pom.xml |   16 ++++++++++++++++
 pom.xml                |   26 ++++++++++++++++++++++++++
 5 files changed, 80 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven/blob/348f7164/apache-maven/pom.xml
----------------------------------------------------------------------
diff --git a/apache-maven/pom.xml b/apache-maven/pom.xml
index 09180fc..eddacee 100644
--- a/apache-maven/pom.xml
+++ b/apache-maven/pom.xml
@@ -91,6 +91,19 @@
 
   <build>
     <finalName>${distributionFileName}</finalName>
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <groupId>org.apache.rat</groupId>
+          <artifactId>apache-rat-plugin</artifactId>
+          <configuration>
+            <excludes combine.children="append">
+              <exclude>src/bin/m2.conf</exclude>
+            </excludes>
+          </configuration>
+        </plugin>
+      </plugins>
+    </pluginManagement>
     <plugins>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>

http://git-wip-us.apache.org/repos/asf/maven/blob/348f7164/maven-compat/pom.xml
----------------------------------------------------------------------
diff --git a/maven-compat/pom.xml b/maven-compat/pom.xml
index 8f7faa4..a8772bb 100644
--- a/maven-compat/pom.xml
+++ b/maven-compat/pom.xml
@@ -84,6 +84,19 @@
   </dependencies>
 
   <build>
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <groupId>org.apache.rat</groupId>
+          <artifactId>apache-rat-plugin</artifactId>
+          <configuration>
+            <excludes combine.children="append">
+              <exclude>compatibility.cfl</exclude>
+            </excludes>
+          </configuration>
+        </plugin>
+      </plugins>
+    </pluginManagement>
     <plugins>
       <plugin>
         <groupId>org.codehaus.plexus</groupId>

http://git-wip-us.apache.org/repos/asf/maven/blob/348f7164/maven-core/pom.xml
----------------------------------------------------------------------
diff --git a/maven-core/pom.xml b/maven-core/pom.xml
index b81a206..847e5e1 100644
--- a/maven-core/pom.xml
+++ b/maven-core/pom.xml
@@ -154,6 +154,18 @@
     </plugins>
     <pluginManagement>
       <plugins>
+        <plugin>
+          <groupId>org.apache.rat</groupId>
+          <artifactId>apache-rat-plugin</artifactId>
+          <configuration>
+            <excludes combine.children="append">
+              <exclude>lifecycle-executor.txt</exclude>
+              <exclude>plugin-manager.txt</exclude>
+              <exclude>project-builder.txt</exclude>
+              <exclude>src/site/resources/**</exclude>
+            </excludes>
+          </configuration>
+        </plugin>
         <!--This plugin's configuration is used to store Eclipse m2e settings 
only. It has no influence on the Maven build itself.-->
         <plugin>
           <groupId>org.eclipse.m2e</groupId>

http://git-wip-us.apache.org/repos/asf/maven/blob/348f7164/maven-embedder/pom.xml
----------------------------------------------------------------------
diff --git a/maven-embedder/pom.xml b/maven-embedder/pom.xml
index aaa6ff6..609044c 100644
--- a/maven-embedder/pom.xml
+++ b/maven-embedder/pom.xml
@@ -98,6 +98,22 @@
         <filtering>true</filtering>
       </resource>
     </resources>
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <groupId>org.apache.rat</groupId>
+          <artifactId>apache-rat-plugin</artifactId>
+          <configuration>
+            <excludes combine.children="append">
+              <exclude>src/main/resources/META-INF/MANIFEST.MF</exclude>
+              <exclude>src/test/*-projects/**</exclude>
+              <exclude>src/test/*-project/**</exclude>
+              <exclude>src/test/plugin-version-references/**</exclude>
+            </excludes>
+          </configuration>
+        </plugin>
+      </plugins>
+    </pluginManagement>
     <plugins>
       <plugin>
         <groupId>org.codehaus.plexus</groupId>

http://git-wip-us.apache.org/repos/asf/maven/blob/348f7164/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index e9776f6..51b32ce 100644
--- a/pom.xml
+++ b/pom.xml
@@ -431,6 +431,21 @@
             <tryUpdate>true</tryUpdate>
           </configuration>
         </plugin>
+        <plugin>
+          <groupId>org.apache.rat</groupId>
+          <artifactId>apache-rat-plugin</artifactId>
+          <version>0.8</version>
+          <configuration>
+            <excludes>
+              <exclude>**/.git*</exclude>
+              <exclude>.git/**</exclude>
+              <exclude>.idea/**</exclude>
+              <exclude>src/test/resources*/**</exclude>
+              <exclude>src/test/projects/**</exclude>
+              <exclude>src/test/remote-repo/**</exclude>
+            </excludes>
+          </configuration>
+        </plugin>
       </plugins>
     </pluginManagement>
     <plugins>
@@ -455,6 +470,17 @@
           </execution>
         </executions>
       </plugin>
+      <plugin>
+        <groupId>org.apache.rat</groupId>
+        <artifactId>apache-rat-plugin</artifactId>
+        <inherited>false</inherited>
+        <configuration>
+          <excludes combine.children="append">
+            <exclude>bootstrap/**</exclude>
+            <exclude>README.bootstrap.txt</exclude>
+          </excludes>
+        </configuration>
+      </plugin>
     </plugins>
   </build>
 

Reply via email to