Specify version for pmd and findbugs reporting plugins
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/proxy/trunk@1582269 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/asm4/pom.xml b/asm4/pom.xml
index 299b6b9..aa133e1 100644
--- a/asm4/pom.xml
+++ b/asm4/pom.xml
@@ -63,6 +63,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
+ <version>${pmd.version}</version>
<configuration>
<!--rulesets>
<ruleset>/org/apache/commons/proxy2/pmd.xml</ruleset>
@@ -80,6 +81,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
+ <version>${findbugs.version}</version>
<configuration>
<xmlOutput>true</xmlOutput>
<excludeFilterFile>/org/apache/commons/proxy2/findbugs-exclude-filter.xml</excludeFilterFile>
diff --git a/cglib/pom.xml b/cglib/pom.xml
index f8c4693..010839a 100644
--- a/cglib/pom.xml
+++ b/cglib/pom.xml
@@ -60,6 +60,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
+ <version>${pmd.version}</version>
<configuration>
<!--rulesets>
<ruleset>/org/apache/commons/proxy2/pmd.xml</ruleset>
@@ -77,6 +78,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
+ <version>${findbugs.version}</version>
<configuration>
<xmlOutput>true</xmlOutput>
<excludeFilterFile>/org/apache/commons/proxy2/findbugs-exclude-filter.xml</excludeFilterFile>
diff --git a/core/pom.xml b/core/pom.xml
index cf19734..16064f4 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -72,6 +72,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
+ <version>${pmd.version}</version>
<configuration>
<!--rulesets>
<ruleset>/org/apache/commons/proxy2/pmd.xml</ruleset>
@@ -81,6 +82,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
+ <version>${findbugs.version}</version>
<configuration>
<xmlOutput>true</xmlOutput>
<excludeFilterFile>/org/apache/commons/proxy2/findbugs-exclude-filter.xml</excludeFilterFile>
diff --git a/javassist/pom.xml b/javassist/pom.xml
index 19b3b19..bdbc0b2 100644
--- a/javassist/pom.xml
+++ b/javassist/pom.xml
@@ -59,6 +59,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
+ <version>${pmd.version}</version>
<configuration>
<!--rulesets>
<ruleset>/org/apache/commons/proxy2/pmd.xml</ruleset>
@@ -76,6 +77,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
+ <version>${findbugs.version}</version>
<configuration>
<xmlOutput>true</xmlOutput>
<excludeFilterFile>/org/apache/commons/proxy2/findbugs-exclude-filter.xml</excludeFilterFile>
diff --git a/jdk/pom.xml b/jdk/pom.xml
index 6087dce..f6e6ce7 100644
--- a/jdk/pom.xml
+++ b/jdk/pom.xml
@@ -55,6 +55,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
+ <version>${pmd.version}</version>
<configuration>
<!--rulesets>
<ruleset>/org/apache/commons/proxy2/pmd.xml</ruleset>
@@ -72,6 +73,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
+ <version>${findbugs.version}</version>
<configuration>
<xmlOutput>true</xmlOutput>
<excludeFilterFile>/org/apache/commons/proxy2/findbugs-exclude-filter.xml</excludeFilterFile>
diff --git a/pom.xml b/pom.xml
index 4e73e98..01ffa75 100644
--- a/pom.xml
+++ b/pom.xml
@@ -52,6 +52,9 @@
<asm.version>4.2</asm.version>
<ant.version>1.9.3</ant.version>
<checkstyle.version>2.11</checkstyle.version>
+ <!-- Unfortunately reporting sections ignore pluginManagement settings, so define the versions here -->
+ <pmd.version>3.0.1</pmd.version>
+ <findbugs.version>2.5.3</findbugs.version>
</properties>
<developers>
@@ -297,7 +300,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
- <version>3.0.1</version>
+ <version>${pmd.version}</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
@@ -307,7 +310,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
- <version>2.5.3</version>
+ <version>${findbugs.version}</version>
</plugin>
</plugins>
</pluginManagement>