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

sjaranowski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-site.git


The following commit(s) were added to refs/heads/master by this push:
     new cbae3b3e Update rat plugin configuration
cbae3b3e is described below

commit cbae3b3e55748c3b921f7093e75630d6bdd93a84
Author: Slawomir Jaranowski <[email protected]>
AuthorDate: Sun Nov 9 12:01:08 2025 +0100

    Update rat plugin configuration
---
 pom.xml | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index 2f454c0b..90f00562 100644
--- a/pom.xml
+++ b/pom.xml
@@ -291,11 +291,12 @@
         <groupId>org.apache.rat</groupId>
         <artifactId>apache-rat-plugin</artifactId>
         <configuration>
-          <excludes>
+          <inputExcludes combine.children="append">
             <exclude>**/*.svg</exclude>
             <exclude>**/*.ai</exclude>
             <exclude>**/*.links</exclude>
             <exclude>**/.htaccess</exclude>
+            <eexclude>**/*.pdf</eexclude>
             <exclude>content/apt/guides/plugin/notes.txt</exclude>
             
<exclude>content/apt/guides/suggestions/non-standard-directories.txt</exclude>
             <exclude>content/filtered-resources/.htaccess</exclude>
@@ -304,8 +305,17 @@
             <exclude>content/resources/developers/svn-eol-style.txt</exclude>
             <exclude>content/resources/download.cgi</exclude>
             <exclude>content/resources/badges/*.json</exclude>
-          </excludes>
+          </inputExcludes>
         </configuration>
+        <executions>
+          <execution>
+            <id>rat-check</id>
+            <!-- overwrite phase from parent POM -->
+            <!-- should be executed after spotless ... but I can't a way to 
configure such -->
+            <!-- post-site is not executed by Maven 3 -->
+            <phase>pre-site</phase>
+          </execution>
+        </executions>
       </plugin>
     </plugins>
   </build>

Reply via email to