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

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


The following commit(s) were added to refs/heads/master by this push:
     new 19429ee3 RAT-358: Fix build warning
19429ee3 is described below

commit 19429ee3beeaeecb4af14544e0f2c0d6605c40c3
Author: P. Ottlinger <[email protected]>
AuthorDate: Thu Sep 11 19:27:43 2025 +0200

    RAT-358: Fix build warning
---
 apache-rat/pom.xml | 45 ++++++++++++++++++++-------------------------
 1 file changed, 20 insertions(+), 25 deletions(-)

diff --git a/apache-rat/pom.xml b/apache-rat/pom.xml
index 2b4b5ad7..269018f7 100644
--- a/apache-rat/pom.xml
+++ b/apache-rat/pom.xml
@@ -60,6 +60,26 @@
       <plugin>
         <artifactId>maven-resources-plugin</artifactId>
         <executions>
+          <execution>
+            <id>copy-generation-keywords</id>
+            <phase>pre-site</phase>
+            <goals>
+              <goal>copy-resources</goal>
+            </goals>
+            <configuration>
+              <outputDirectory>${basedir}/src/site/apt</outputDirectory>
+              <overwrite>true</overwrite>
+              <resources>
+                <resource>
+                  <!-- target/classes/org/apache/rat/generation-keywords.txt 
-->
+                  
<directory>${project.build.outputDirectory}/org/apache/rat</directory>
+                  <includes>
+                    <include>generation-keywords.txt</include>
+                  </includes>
+                </resource>
+              </resources>
+            </configuration>
+          </execution>
           <execution>
             <id>copy-release-notes</id>
             <phase>generate-resources</phase>
@@ -298,31 +318,6 @@
           </filesets>
         </configuration>
       </plugin>
-      <plugin>
-        <artifactId>maven-resources-plugin</artifactId>
-        <executions>
-          <execution>
-            <id>copy-generation-keywords</id>
-            <phase>pre-site</phase>
-            <goals>
-              <goal>copy-resources</goal>
-            </goals>
-            <configuration>
-              <outputDirectory>${basedir}/src/site/apt</outputDirectory>
-              <overwrite>true</overwrite>
-              <resources>
-                <resource>
-                  <!-- target/classes/org/apache/rat/generation-keywords.txt 
-->
-                  
<directory>${project.build.outputDirectory}/org/apache/rat</directory>
-                  <includes>
-                    <include>generation-keywords.txt</include>
-                  </includes>
-                </resource>
-              </resources>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
     </plugins>
     <pluginManagement>
       <plugins>

Reply via email to