You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sl...@apache.org on 2026/09/27 19:09:09 UTC

(maven-executor) 02/04: Use inputExcludes for apache-rat 0.18

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

slachiewicz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/maven-executor.git

commit f285b7a1d395f86671046a7040c9b6a29a682166
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Fri Sep 25 12:37:04 2026 +0200

    Use inputExcludes for apache-rat 0.18
    
    Keep the rat configuration in pluginManagement; the check itself is
    activated by the parent's java17+ profile on JDK 17+.
    
    Signed-off-by: Sylwester Lachiewicz <sl...@apache.org>
---
 pom.xml | 44 +++++++++++++++++++++++---------------------
 1 file changed, 23 insertions(+), 21 deletions(-)

diff --git a/pom.xml b/pom.xml
index 5fa2065..4a5d7e9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -212,6 +212,27 @@
   <build>
     <pluginManagement>
       <plugins>
+        <plugin>
+          <groupId>org.apache.rat</groupId>
+          <artifactId>apache-rat-plugin</artifactId>
+          <configuration>
+            <inputExcludes combine.children="append">
+
+              <exclude>Jenkinsfile</exclude>
+              <exclude>.github/**</exclude>
+              <exclude>deploySite.bat</exclude>
+              <exclude>deploySite.sh</exclude>
+              <exclude>LICENCE</exclude>
+              <exclude>NOTICE</exclude>
+              <exclude>LICENCE</exclude>
+              <!--
+          ! Excluded the license files itself cause they do not have a license of themselves.
+          -->
+              <exclude>src/main/appended-resources/licenses/**</exclude>
+
+            </inputExcludes>
+          </configuration>
+        </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-compiler-plugin</artifactId>
@@ -264,30 +285,11 @@
         </plugin>
       </plugins>
     </pluginManagement>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.rat</groupId>
-        <artifactId>apache-rat-plugin</artifactId>
-        <configuration>
-          <excludes>
-            <exclude>Jenkinsfile</exclude>
-            <exclude>.github/**</exclude>
-            <exclude>deploySite.bat</exclude>
-            <exclude>deploySite.sh</exclude>
-            <exclude>LICENCE</exclude>
-            <exclude>NOTICE</exclude>
-            <exclude>LICENCE</exclude>
-            <!--
-              ! Excluded the license files itself cause they do not have a license of themselves.
-            -->
-            <exclude>src/main/appended-resources/licenses/**</exclude>
-          </excludes>
-        </configuration>
-      </plugin>
-    </plugins>
+    <plugins />
   </build>
 
   <profiles>
+
     <profile>
       <id>reporting</id>
       <reporting>