Avoid pmdVersion property which conflicts with releasing

See https://issues.apache.org/jira/browse/MRELEASE-932
This commit is contained in:
Andreas Dangel
2017-12-15 15:50:56 +01:00
parent e88db416b2
commit 63742b98e9

View File

@ -259,7 +259,6 @@ Additionally it includes CPD, the copy-paste-detector. CPD finds duplicated code
<surefire.version>2.20.1</surefire.version> <surefire.version>2.20.1</surefire.version>
<checkstyle.version>2.17</checkstyle.version> <checkstyle.version>2.17</checkstyle.version>
<pmd.plugin.version>3.8</pmd.plugin.version> <pmd.plugin.version>3.8</pmd.plugin.version>
<pmdVersion>5.8.1</pmdVersion> <!-- used for maven-pmd-plugin -->
<java.version>7</java.version> <java.version>7</java.version>
<ant.version>1.10.1</ant.version> <ant.version>1.10.1</ant.version>
<javadoc.plugin.version>3.0.0-M1</javadoc.plugin.version> <javadoc.plugin.version>3.0.0-M1</javadoc.plugin.version>
@ -533,15 +532,16 @@ Additionally it includes CPD, the copy-paste-detector. CPD finds duplicated code
<skipPmdError>false</skipPmdError> <skipPmdError>false</skipPmdError>
</configuration> </configuration>
<dependencies> <dependencies>
<!-- Note: we can't use a property for the version here due to https://issues.apache.org/jira/browse/MRELEASE-932 -->
<dependency> <dependency>
<groupId>net.sourceforge.pmd</groupId> <groupId>net.sourceforge.pmd</groupId>
<artifactId>pmd-core</artifactId> <artifactId>pmd-core</artifactId>
<version>${pmdVersion}</version> <version>5.8.1</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>net.sourceforge.pmd</groupId> <groupId>net.sourceforge.pmd</groupId>
<artifactId>pmd-java</artifactId> <artifactId>pmd-java</artifactId>
<version>${pmdVersion}</version> <version>5.8.1</version>
</dependency> </dependency>
</dependencies> </dependencies>
</plugin> </plugin>