Inherit Rat configuration from parent.

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

Branch: refs/heads/master
Commit: 6f058a46e4ce6284d9eb90320d244a690b937f57
Parents: 4e6631f
Author: Dennis Lundberg <[email protected]>
Authored: Sat Sep 20 23:14:01 2014 +0200
Committer: Dennis Lundberg <[email protected]>
Committed: Sat Sep 20 23:14:01 2014 +0200

----------------------------------------------------------------------
 indexer-cli/pom.xml  | 7 +++----
 indexer-core/pom.xml | 4 ++--
 2 files changed, 5 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven-indexer/blob/6f058a46/indexer-cli/pom.xml
----------------------------------------------------------------------
diff --git a/indexer-cli/pom.xml b/indexer-cli/pom.xml
index 8f81f9f..bd1f9a2 100644
--- a/indexer-cli/pom.xml
+++ b/indexer-cli/pom.xml
@@ -173,11 +173,10 @@ under the License.
           <groupId>org.apache.rat</groupId>
           <artifactId>apache-rat-plugin</artifactId>
           <configuration>
-            <excludes>
-              <exclude>README.md</exclude>
+            <!-- Combine the excludes from the parent with the ones defined in 
this project -->
+            <excludes combine.children="append">
+              <!-- This directory is a repository -->
               <exclude>src/test/repo/**</exclude>
-              <exclude>src/test/nexus-*/**</exclude>
-              <exclude>src/test/resources/**</exclude>
             </excludes>
           </configuration>
         </plugin>

http://git-wip-us.apache.org/repos/asf/maven-indexer/blob/6f058a46/indexer-core/pom.xml
----------------------------------------------------------------------
diff --git a/indexer-core/pom.xml b/indexer-core/pom.xml
index cd3d9b1..0d6e26e 100644
--- a/indexer-core/pom.xml
+++ b/indexer-core/pom.xml
@@ -205,8 +205,8 @@ under the License.
           <groupId>org.apache.rat</groupId>
           <artifactId>apache-rat-plugin</artifactId>
           <configuration>
-            <excludes>
-              <exclude>README.md</exclude>
+            <!-- Combine the excludes from the parent with the ones defined in 
this project -->
+            <excludes combine.children="append">
               <!-- The following directories are repositories -->
               <exclude>src/test/repo*/**</exclude>
               <exclude>src/test/mindexer-35/**</exclude>

Reply via email to