You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Murtuza Akhtari (JIRA)" <ji...@codehaus.org> on 2011/12/05 18:31:40 UTC

[jira] Commented: (MPMD-134) Update to PMD 4.3 -- allow target to java 7

    [ https://jira.codehaus.org/browse/MPMD-134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=284933#comment-284933 ] 

Murtuza Akhtari commented on MPMD-134:
--------------------------------------

+1 from me as well.

I have been trying to use different rulesets, but somehow, mvn pmd:check only uses basic, unusedcode & imports even though I can see all the other rulesets in the pmd-jdk14 jar file. Its not using the logging-java even if I explicitly put it in the <rulesets> in pom.xml

an update to pmd 4.3 & Java 5 would be good


> Update to PMD 4.3 -- allow target to java 7
> -------------------------------------------
>
>                 Key: MPMD-134
>                 URL: https://jira.codehaus.org/browse/MPMD-134
>             Project: Maven 2.x PMD Plugin
>          Issue Type: Wish
>          Components: PMD
>            Reporter: Eric Barboni
>
> After patching some source file with new Java 7 diamond operator (i.e. new HashMap<>()) all  reports on this files are broken due to parsing error.
> It would be nice to patch the next 2.7 plug-in with 4.3 PMD to support all Java version grammar.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira