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

pottlinger pushed a commit to branch feature/RAT-535
in repository https://gitbox.apache.org/repos/asf/creadur-rat.git

commit 725d2276a8d1772f5fdae396ef879e98e37f6d4d
Author: P. Ottlinger <[email protected]>
AuthorDate: Thu Mar 19 20:08:42 2026 +0100

    RAT-535: Replace deprecated maven-resource-plugin configuration element to 
overwrite generated files
---
 apache-rat-core/pom.xml   | 4 ++--
 apache-rat-plugin/pom.xml | 2 +-
 apache-rat-tasks/pom.xml  | 2 +-
 apache-rat/pom.xml        | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/apache-rat-core/pom.xml b/apache-rat-core/pom.xml
index 4819f23b..3984e84a 100644
--- a/apache-rat-core/pom.xml
+++ b/apache-rat-core/pom.xml
@@ -144,7 +144,7 @@
             </goals>
             <configuration>
               
<outputDirectory>${project.build.outputDirectory}/META-INF</outputDirectory>
-              <overwrite>true</overwrite>
+              <changeDetection>always</changeDetection>
               <resources>
                 <resource>
                   <directory>${project.basedir}/..</directory>
@@ -163,7 +163,7 @@
             </goals>
             <configuration>
               
<outputDirectory>${project.build.testOutputDirectory}/examples</outputDirectory>
-              <overwrite>true</overwrite>
+              <changeDetection>always</changeDetection>
               <resources>
                 <resource>
                   
<directory>../apache-rat-testdata/src/main/resources/examples</directory>
diff --git a/apache-rat-plugin/pom.xml b/apache-rat-plugin/pom.xml
index 76d0e0d3..a4dab3ce 100644
--- a/apache-rat-plugin/pom.xml
+++ b/apache-rat-plugin/pom.xml
@@ -156,7 +156,7 @@
             </goals>
             <configuration>
               
<outputDirectory>${project.build.outputDirectory}/META-INF</outputDirectory>
-              <overwrite>true</overwrite>
+              <changeDetection>always</changeDetection>
               <resources>
                 <resource>
                   <directory>${project.basedir}/..</directory>
diff --git a/apache-rat-tasks/pom.xml b/apache-rat-tasks/pom.xml
index 8a90a0fd..5e6536f1 100644
--- a/apache-rat-tasks/pom.xml
+++ b/apache-rat-tasks/pom.xml
@@ -121,7 +121,7 @@
             </goals>
             <configuration>
               
<outputDirectory>${project.build.outputDirectory}/META-INF</outputDirectory>
-              <overwrite>true</overwrite>
+              <changeDetection>always</changeDetection>
               <resources>
                 <resource>
                   <directory>${project.basedir}/..</directory>
diff --git a/apache-rat/pom.xml b/apache-rat/pom.xml
index 36fccdc5..acc27a86 100644
--- a/apache-rat/pom.xml
+++ b/apache-rat/pom.xml
@@ -68,7 +68,7 @@
             </goals>
             <configuration>
               <outputDirectory>${basedir}/src/site/apt</outputDirectory>
-              <overwrite>true</overwrite>
+              <changeDetection>always</changeDetection>
               <resources>
                 <resource>
                   <!-- target/classes/org/apache/rat/generation-keywords.txt 
-->

Reply via email to