[ https://jira.codehaus.org/browse/MPLUGIN-239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Olivier Lamy updated MPLUGIN-239: --------------------------------- Affects Version/s: 3.1 3.2 Fix Version/s: 3.3 Assignee: Olivier Lamy > Execute goal does not passes from mojos.xml pluginMetadata > ---------------------------------------------------------- > > Key: MPLUGIN-239 > URL: https://jira.codehaus.org/browse/MPLUGIN-239 > Project: Maven 2.x Plugin Tools > Issue Type: Bug > Components: Metadata Model > Affects Versions: 3.1, 3.2 > Reporter: Ben Tatham > Assignee: Olivier Lamy > Fix For: 3.3 > > Attachments: MNG-5405.patch > > > In pluginMetadata (<name>.mojos.xml) that describes an ant-based plugin, > adding > <execution> > <goal>foo:bar</goal> > </execution> > Doesn't make its way in to the plugin.xml. > I tracked down the bug to a missing setter in: > maven-plugin-tools-model-3.2 > org.apache.maven.plugin.tools.model.PluginMetadataParser > line 131 > When copying the LifecycleExecution out of the Mojo into the MojoDescriptor, > it sets the execution lifecycle and phase, but skips the goal. > Trivial fix, not even worth a path, imho. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira