You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jesse McConnell (JIRA)" <ji...@codehaus.org> on 2006/03/15 20:02:30 UTC
[jira] Closed: (MPMD-11) targetJdk parameter cannot be set in maven
2
[ http://jira.codehaus.org/browse/MPMD-11?page=all ]
Jesse McConnell closed MPMD-11:
-------------------------------
Resolution: Won't Fix
I don't think this is an issue, looking through the code it is a supported configuration parameter, and there is support for it in the plugin.
maven uses private variable inject to set these if setters are not present so use something like this:
<configuration>
<targetJdk>1.5</targetJdk>
</configuration>
> targetJdk parameter cannot be set in maven 2
> --------------------------------------------
>
> Key: MPMD-11
> URL: http://jira.codehaus.org/browse/MPMD-11
> Project: Maven 2.x Pmd Plugin
> 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 contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira