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

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-parent.git


The following commit(s) were added to refs/heads/master by this push:
     new f912ceb  Allow Maven PMD plugin to override PMD implementation jars 
with property "commons.pmd-impl.version".
f912ceb is described below

commit f912cebafb6d1fd1d5dd039fb21fcd78860fc0fc
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Thu Jun 3 10:34:27 2021 -0400

    Allow Maven PMD plugin to override PMD implementation jars with property
    "commons.pmd-impl.version".
---
 pom.xml                 | 28 ++++++++++++++++++++++++++++
 src/changes/changes.xml |  1 +
 2 files changed, 29 insertions(+)

diff --git a/pom.xml b/pom.xml
index fced5ce..7505af3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -139,6 +139,7 @@
     <commons.jdepend.version>2.0</commons.jdepend.version>
     <commons.jxr.version>3.1.1</commons.jxr.version>
     <commons.pmd.version>3.14.0</commons.pmd.version>
+    <commons.pmd-impl.version>6.29.0</commons.pmd-impl.version>
     <commons.project-info.version>3.1.2</commons.project-info.version>
     <commons.rat.version>0.13</commons.rat.version>
     <commons.release-plugin.version>1.7</commons.release-plugin.version>
@@ -763,6 +764,33 @@
             </dependency>
           </dependencies>
         </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-pmd-plugin</artifactId>
+          <version>${commons.pmd.version}</version>
+          <dependencies>
+            <dependency>
+              <groupId>net.sourceforge.pmd</groupId>
+              <artifactId>pmd-core</artifactId>
+              <version>${commons.pmd-impl.version}</version>
+            </dependency>
+            <dependency>
+              <groupId>net.sourceforge.pmd</groupId>
+              <artifactId>pmd-java</artifactId>
+              <version>${commons.pmd-impl.version}</version>
+            </dependency>
+            <dependency>
+              <groupId>net.sourceforge.pmd</groupId>
+              <artifactId>pmd-javascript</artifactId>
+              <version>${commons.pmd-impl.version}</version>
+            </dependency>
+            <dependency>
+              <groupId>net.sourceforge.pmd</groupId>
+              <artifactId>pmd-jsp</artifactId>
+              <version>${commons.pmd-impl.version}</version>
+            </dependency>
+          </dependencies>
+        </plugin>
       </plugins>
     </pluginManagement>
     <plugins>
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 8f08fa1..a964267 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -69,6 +69,7 @@ The <action> type attribute can be add,update,fix,remove.
           <action type="add" dev="sebb">Add .asf.yaml to RAT excludes.</action>
           <action type="add" dev="ggregory">Add versions-maven-plugin run for 
this build.</action>
           <action type="add" dev="ggregory">Add maven-checkstyle-plugin to 
pluginManagement.</action>
+          <action type="add" dev="ggregory">Allow Maven PMD plugin to override 
PMD implementation jars with property "commons.pmd-impl.version".</action>
           <!-- UPDATES -->
           <action type="update" dev="ggregory">Update versions-maven-plugin 
2.7 -> 2.8.1.</action>
           <action type="update" dev="ggregory" due-to="Dependabot">Update 
maven-project-info-reports-plugin from 3.1.0 to 3.1.2 #19, #41.</action>

Reply via email to