You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dennis Lundberg (JIRA)" <ji...@codehaus.org> on 2008/06/22 00:59:26 UTC

[jira] Closed: (MPLUGIN-57) Mojo fields @component and no @parameter annotations are still considered parameters and can't be distinguished when it became a Parameter Object

     [ http://jira.codehaus.org/browse/MPLUGIN-57?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Lundberg closed MPLUGIN-57.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.4

This was solved by the chosen fix for MPLUGIN-62.

> Mojo fields @component and no @parameter annotations are still considered parameters and can't be distinguished when it became a Parameter Object
> -------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MPLUGIN-57
>                 URL: http://jira.codehaus.org/browse/MPLUGIN-57
>             Project: Maven 2.x Plugin Tools
>          Issue Type: Improvement
>            Reporter: Edwin Punzalan
>            Priority: Minor
>             Fix For: 2.4
>
>
> Two possible solutions:
> 1] Do not consider fields with @component and no @parameter as a mojo parameter
> or
> 2] Add a method boolean isComponent() in the Parameter Object to distinguish them from actual parameters.
> Btw, this causes @component fields to appear in the mojo parameters list.

-- 
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