[ http://jira.codehaus.org/browse/MPLUGIN-57?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter moved MNG-2428 to MPLUGIN-57: ------------------------------------------ Fix Version/s: (was: 2.0.x) Component/s: (was: Plugin Creation Tools) Key: MPLUGIN-57 (was: MNG-2428) Project: Maven 2.x Plugin Tools (was: Maven 2) > 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 > > 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