[
http://jira.codehaus.org/browse/MNG-5028?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Benjamin Bentmann closed MNG-5028.
----------------------------------
Resolution: Fixed
Fix Version/s: 3.0.3
Assignee: Benjamin Bentmann
Done in [r1070102|http://svn.apache.org/viewvc?view=revision&revision=1070102].
> Obey generics in plugin collection parameters when populating them
> ------------------------------------------------------------------
>
> Key: MNG-5028
> URL: http://jira.codehaus.org/browse/MNG-5028
> Project: Maven 2 & 3
> Issue Type: Improvement
> Components: Plugins and Lifecycle
> Reporter: Benjamin Bentmann
> Assignee: Benjamin Bentmann
> Priority: Minor
> Fix For: 3.0.3
>
>
> Right now, when determining the target type for a collection item to convert
> POM configuration to, Maven/Plexus uses some heuristics based on the XML
> element name and the mojo package name and eventually falls back to
> {{String}}. The current approach requires plugin authors to either put their
> parameter bean classes into the same package as the mojo or requires users to
> explicitly use the {{implementation}} attribute in the POM. These troubles
> can be avoided if Maven would recognize the generic type of a parameter
> declaration {{List<Bean>}}, thereby aligning collections with arrays
> regarding the ease of configuration/use.
--
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