[ci] Upgrade m-pmd-p

- Reenable pmd dogfoding
 - Upgrade to use PMD 6.0.1 on self
This commit is contained in:
Juan Martín Sotuyo Dodero
2018-01-29 23:19:43 -03:00
parent 53fa98a672
commit c2e11ddff2
2 changed files with 4 additions and 5 deletions

View File

@ -28,8 +28,7 @@ echo "Building PMD ${VERSION} on branch ${TRAVIS_BRANCH}"
# determine java 7 path
JAVA7_HOME=$(jdk_switcher home openjdk7)
# TODO : Once we release PMD 6.0.0 and have a compatible PMD plugin, enable PMD once again
MVN_BUILD_FLAGS="-B -V -Djava7.home=${JAVA7_HOME} -Dpmd.skip=true"
MVN_BUILD_FLAGS="-B -V -Djava7.home=${JAVA7_HOME}"
if travis_isPullRequest; then

View File

@ -261,7 +261,7 @@ Additionally it includes CPD, the copy-paste-detector. CPD finds duplicated code
<javacc.version>5.0</javacc.version>
<surefire.version>2.20.1</surefire.version>
<checkstyle.version>2.17</checkstyle.version>
<pmd.plugin.version>3.8</pmd.plugin.version>
<pmd.plugin.version>3.9.0</pmd.plugin.version>
<ant.version>1.10.1</ant.version>
<javadoc.plugin.version>3.0.0-M1</javadoc.plugin.version>
<antlr.version>4.7</antlr.version>
@ -541,12 +541,12 @@ Additionally it includes CPD, the copy-paste-detector. CPD finds duplicated code
<dependency>
<groupId>net.sourceforge.pmd</groupId>
<artifactId>pmd-core</artifactId>
<version>5.8.1</version>
<version>6.0.1</version>
</dependency>
<dependency>
<groupId>net.sourceforge.pmd</groupId>
<artifactId>pmd-java</artifactId>
<version>5.8.1</version>
<version>6.0.1</version>
</dependency>
</dependencies>
</plugin>