Ben Tatham created MNG-5405: ------------------------------- Summary: Execute goal does not passes from mojos.xml pluginMetadata Key: MNG-5405 URL: https://jira.codehaus.org/browse/MNG-5405 Project: Maven 2 & 3 Issue Type: Bug Components: Plugin API Affects Versions: 3.0.4 Reporter: Ben Tatham
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