commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject commons-rng git commit: simplify apache-rat config
Date Sun, 11 Dec 2016 23:20:30 GMT
Repository: commons-rng
Updated Branches:
  refs/heads/master 317105c0b -> 62392506c


simplify apache-rat config

..as there are reasonable defaults in
http://central.maven.org/maven2/org/apache/commons/commons-parent/41/commons-parent-41.pom
and RAT-126 is now fixed.

The apache-rat config was under <reporting> so it didn't pick up
RNG-specific excludes when running mvn apache-rat:check -- I moved it to
<plugins> in git and simplified using <excludes
combine.children="append">.  This does not affect this RC, but should
simplify (my :)  reviews of later releases.


Project: http://git-wip-us.apache.org/repos/asf/commons-rng/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-rng/commit/62392506
Tree: http://git-wip-us.apache.org/repos/asf/commons-rng/tree/62392506
Diff: http://git-wip-us.apache.org/repos/asf/commons-rng/diff/62392506

Branch: refs/heads/master
Commit: 62392506c36ae0f88a596fb1d94f62625173b9af
Parents: 317105c
Author: Stian Soiland-Reyes <stain@apache.org>
Authored: Sun Dec 11 23:19:28 2016 +0000
Committer: Stian Soiland-Reyes <stain@apache.org>
Committed: Sun Dec 11 23:19:28 2016 +0000

----------------------------------------------------------------------
 pom.xml | 37 +++++++++++++++----------------------
 1 file changed, 15 insertions(+), 22 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-rng/blob/62392506/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 412dc72..23e1658 100644
--- a/pom.xml
+++ b/pom.xml
@@ -200,6 +200,21 @@
         <artifactId>findbugs-maven-plugin</artifactId>
         <version>${rng.findbugs.version}</version>
       </plugin>
+      <plugin>
+        <groupId>org.apache.rat</groupId>
+        <artifactId>apache-rat-plugin</artifactId>
+        <version>${commons.rat.version}</version>
+        <configuration>
+          <excludes combine.children="append">
+            <!-- version 0.8 of apache-rat-plugin does not exclude properly
+                 some default development tools files (see RAT-126) -->
+            <exclude>.ekstazi/**</exclude>
+            <exclude>src/site/resources/txt/userguide/stress/dh/**</exclude>
+            <exclude>src/site/resources/txt/userguide/stress/tu/**</exclude>
+            <exclude>dist-archive/**</exclude>
+          </excludes>
+        </configuration>
+      </plugin>
     </plugins>
 
     <pluginManagement>
@@ -252,28 +267,6 @@
         </reportSets>
       </plugin>
       <plugin>
-        <groupId>org.apache.rat</groupId>
-        <artifactId>apache-rat-plugin</artifactId>
-        <version>${commons.rat.version}</version>
-        <configuration>
-          <excludes>
-
-            <!-- version 0.8 of apache-rat-plugin does not exclude properly
-                 some default development tools files (see RAT-126) -->
-            <exclude>bin/**</exclude>
-            <exclude>.gitignore</exclude>
-            <exclude>.git/**</exclude>
-            <exclude>.checkstyle</exclude>
-            <exclude>.ekstazi/**</exclude>
-            <exclude>src/site/resources/txt/userguide/stress/dh/**</exclude>
-            <exclude>src/site/resources/txt/userguide/stress/tu/**</exclude>
-            <exclude>target/**</exclude>
-            <exclude>dist-archive/**</exclude>
-
-          </excludes>
-        </configuration>
-      </plugin>
-      <plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>findbugs-maven-plugin</artifactId>
         <version>${rng.findbugs.version}</version>


Mime
View raw message