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 69a557f  RAT-290: Remove double definition in submodule pom as PMD 
report is generated properly in submodule
69a557f is described below

commit 69a557f85cfcb562724c243ea1e7531fdd4614f3
Author: P. Ottlinger <[email protected]>
AuthorDate: Sat Jan 8 23:16:52 2022 +0100

    RAT-290: Remove double definition in submodule pom as PMD report is 
generated properly in submodule
---
 apache-rat-tasks/pom.xml |  9 --------
 pom.xml                  | 53 +++++++++++++++++++++++++++---------------------
 2 files changed, 30 insertions(+), 32 deletions(-)

diff --git a/apache-rat-tasks/pom.xml b/apache-rat-tasks/pom.xml
index 4fd38eb..639a573 100644
--- a/apache-rat-tasks/pom.xml
+++ b/apache-rat-tasks/pom.xml
@@ -161,13 +161,4 @@
       </plugins>
     </pluginManagement>
   </build>
-  <!-- Strangely no PMD report appears in this submodule -->
-  <reporting>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-pmd-plugin</artifactId>
-      </plugin>
-    </plugins>
-  </reporting>
 </project>
diff --git a/pom.xml b/pom.xml
index b03b324..8167a13 100644
--- a/pom.xml
+++ b/pom.xml
@@ -223,6 +223,13 @@ agnostic home for software distribution comprehension and 
audit tools.
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-pmd-plugin</artifactId>
         <version>3.14.0</version>
+        <reportSets>
+          <reportSet>
+            <reports>
+              <report>pmd</report>
+            </reports>
+          </reportSet>
+        </reportSets>
       </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
@@ -341,30 +348,30 @@ agnostic home for software distribution comprehension and 
audit tools.
         </plugin>
         <!--This plugin's configuration is used to store Eclipse m2e settings 
only. It has no influence on the Maven build itself.-->
         <plugin>
-               <groupId>org.eclipse.m2e</groupId>
-               <artifactId>lifecycle-mapping</artifactId>
-               <version>1.0.0</version>
-               <configuration>
-                       <lifecycleMappingMetadata>
-                               <pluginExecutions>
-                                       <pluginExecution>
-                                               <pluginExecutionFilter>
-                                                       
<groupId>org.apache.rat</groupId>
-                                                       <artifactId>
+          <groupId>org.eclipse.m2e</groupId>
+          <artifactId>lifecycle-mapping</artifactId>
+          <version>1.0.0</version>
+          <configuration>
+            <lifecycleMappingMetadata>
+              <pluginExecutions>
+                <pluginExecution>
+                  <pluginExecutionFilter>
+                    <groupId>org.apache.rat</groupId>
+                    <artifactId>
                                                                
apache-rat-plugin
                                                        </artifactId>
-                                                       
<versionRange>[0.13,)</versionRange>
-                                                       <goals>
-                                                               
<goal>check</goal>
-                                                       </goals>
-                                               </pluginExecutionFilter>
-                                               <action>
-                                                       <ignore />
-                                               </action>
-                                       </pluginExecution>
-                               </pluginExecutions>
-                       </lifecycleMappingMetadata>
-               </configuration>
+                    <versionRange>[0.13,)</versionRange>
+                    <goals>
+                      <goal>check</goal>
+                    </goals>
+                  </pluginExecutionFilter>
+                  <action>
+                    <ignore/>
+                  </action>
+                </pluginExecution>
+              </pluginExecutions>
+            </lifecycleMappingMetadata>
+          </configuration>
         </plugin>
       </plugins>
     </pluginManagement>
@@ -381,7 +388,7 @@ agnostic home for software distribution comprehension and 
audit tools.
             </goals>
             <configuration>
               <target>
-                <copy file="RELEASE_NOTES.txt" 
todir="${project.build.directory}/site/" failonerror="false" />
+                <copy file="RELEASE_NOTES.txt" 
todir="${project.build.directory}/site/" failonerror="false"/>
               </target>
             </configuration>
           </execution>

Reply via email to