[
http://jira.codehaus.org/browse/MPLUGIN-176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Benjamin Bentmann closed MPLUGIN-176.
-------------------------------------
Resolution: Fixed
Fix Version/s: 2.7
Assignee: Benjamin Bentmann
Fixed in [r1050558|http://svn.apache.org/viewvc?view=revision&revision=1050558]
by adding {...@suppresswarnings( "all" )}} at the class level which disables
any kind of warning whatsoever from the generated code.
> helpmojo: Use Java 5 generics in generated help mojo
> ----------------------------------------------------
>
> Key: MPLUGIN-176
> URL: http://jira.codehaus.org/browse/MPLUGIN-176
> Project: Maven 2.x Plugin Tools
> Issue Type: Improvement
> Components: Plugin Plugin
> Affects Versions: 2.6
> Reporter: Bindul Bhowmik
> Assignee: Benjamin Bentmann
> Priority: Minor
> Fix For: 2.7
>
> Attachments: MPLUGIN-176-patch.diff
>
>
> The generated help mojo class generates List and ArrayList variables and
> parameters without generic collections. This causes compiler warnings for
> projects compiled with Java 5 or higher. It also causes warnings in IDEs.
> Possibly an optional parameter like useJava5 in Modello Maven Plugin
> ([http://modello.codehaus.org/modello-maven-plugin/java-mojo.html#useJava5])
> could be used to control generating the help mojo with generic collections.
--
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