[ https://jira.codehaus.org/browse/MPMD-176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=341843#comment-341843 ]
Dennis Lundberg commented on MPMD-176: -------------------------------------- I did some checking: * PMD 5.0.5 can be built using Java 5 * There is no mention of the upgrade to Java 6 in the release notes for 5.1.0 * The building instruction at http://pmd.sourceforge.net/pmd-5.1.0/compiling.html says you need Java 5 or newer to compile PMD 5.1.0 * PMD 5.1.0 cannot be built with Java 5 as it has source/target version set to 1.6 for maven-compiler-plugin * Changing that to 1.5 in the pom.xml causes a build failure It seems that the move to Java 1.6 for PMD was intended, but not documented. So we now face a choice: which version to use? Here's what I suggest: # Change the version of PMD to 5.0.5 (which was what this issue said originally) and the title of this issue accordingly # Go through the issues for Maven PMD Plugin and try to fix as many important ones as possible # Release Maven PMD Plugin 3.1, and announce that it will be the last version that supports Java 5 # Create another issue for upgrading to PMD 5.1.0 and schedule that for Maven PMD Plugin 3.2/4.0 # Fix that issue on trunk > upgrade to last 5.1.0 > --------------------- > > Key: MPMD-176 > URL: https://jira.codehaus.org/browse/MPMD-176 > Project: Maven PMD Plugin > Issue Type: Bug > Components: PMD > Reporter: Olivier Lamy > Assignee: Olivier Lamy > Fix For: 3.1 > > > need a workaround to a PMD bug. > see https://github.com/apache/maven-plugins/pull/16 -- This message was sent by Atlassian JIRA (v6.1.6#6162)