This is an automated email from the ASF dual-hosted git repository.

aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-statistics.git


The following commit(s) were added to refs/heads/master by this push:
     new ba842ce1 Update apache-rat configuration for version 0.17
ba842ce1 is described below

commit ba842ce1d04dce18168119d1c02afa2bed92676d
Author: Alex Herbert <[email protected]>
AuthorDate: Tue Apr 14 13:40:54 2026 +0100

    Update apache-rat configuration for version 0.17
    
    Remove use of deprecated <excludes> element.
---
 pom.xml | 30 +++++++++---------------------
 1 file changed, 9 insertions(+), 21 deletions(-)

diff --git a/pom.xml b/pom.xml
index 0bd4b3f7..c99724a4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -316,19 +316,14 @@
         <artifactId>apache-rat-plugin</artifactId>
         <!-- Note: commons-parent binds the check goal to the validate phase 
-->
         <configuration>
-          <!--  Should agree with apache-rat-plugin config under <build> -->
-          <excludes combine.children="append">
-            <!-- apache-rat-plugin uses .gitignore but does not exclude
-                 development files recursively in sub-modules. -->
+          <!--  Should agree with apache-rat-plugin config under <reporting> 
-->
+          <inputExcludes>
             <exclude>.ekstazi/**</exclude>
-            <exclude>**/site-content/**</exclude>
-            <exclude>**/.classpath</exclude>
-            <exclude>**/.project</exclude>
-            <exclude>**/.settings/**</exclude>
-            <exclude>**/.checkstyle</exclude>
-            <exclude>**/target/**</exclude>
             
<exclude>src/site/resources/release-notes/RELEASE-NOTES-*.txt</exclude>
-          </excludes>
+            <exclude>src/site/resources/txt/userguide/stress/**</exclude>
+            <exclude>dist-archive/**</exclude>
+            <exclude>**/site-content/**</exclude>
+          </inputExcludes>
         </configuration>
       </plugin>
       <plugin>
@@ -361,20 +356,13 @@
         <artifactId>apache-rat-plugin</artifactId>
         <configuration>
           <!--  Should agree with apache-rat-plugin config under <build> -->
-          <excludes combine.children="append">
-            <!-- version 0.8 of apache-rat-plugin does not exclude properly
-                 some default development tools files (see RAT-126) -->
+          <inputExcludes>
             <exclude>.ekstazi/**</exclude>
-            <exclude>**/site-content/**</exclude>
-            <exclude>**/.classpath</exclude>
-            <exclude>**/.project</exclude>
-            <exclude>**/.settings/**</exclude>
-            <exclude>**/.checkstyle</exclude>
-            <exclude>**/target/**</exclude>
             
<exclude>src/site/resources/release-notes/RELEASE-NOTES-*.txt</exclude>
             <exclude>src/site/resources/txt/userguide/stress/**</exclude>
             <exclude>dist-archive/**</exclude>
-          </excludes>
+            <exclude>**/site-content/**</exclude>
+          </inputExcludes>
         </configuration>
       </plugin>
 

Reply via email to