[
https://jira.codehaus.org/browse/MPMD-11?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=302038#comment-302038
]
D. commented on MPMD-11:
------------------------
Same problem here, targetJdk works with build plugin but not with reporting.
> targetJdk parameter cannot be set in maven 2
> --------------------------------------------
>
> Key: MPMD-11
> URL: https://jira.codehaus.org/browse/MPMD-11
> Project: Maven 2.x PMD Plugin
> Issue Type: Bug
> Reporter: Tony Nys
>
> My code is java 5 and has the special for-loop syntax
> pmd says that the for loop is incorrect in jdk1.4 mode
> However, there is a parameter targetJdk but it cannot be set ,
> plugin.xml does not define it and there is no setter in the sourcecode
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira