Mojo fields @component and no @parameter annotations are still considered 
parameters and can't be distinguished when it became a Parameter Object
-------------------------------------------------------------------------------------------------------------------------------------------------

         Key: MNG-2428
         URL: http://jira.codehaus.org/browse/MNG-2428
     Project: Maven 2
        Type: Improvement

    Reporter: Edwin Punzalan
    Priority: Minor


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

Reply via email to