You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Olivier Lamy (JIRA)" <ji...@codehaus.org> on 2013/01/24 18:34:13 UTC
[jira] (MPLUGIN-239) Execute goal does not passes from mojos.xml
pluginMetadata
[ https://jira.codehaus.org/browse/MPLUGIN-239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Olivier Lamy moved MNG-5405 to MPLUGIN-239:
-------------------------------------------
Complexity: (was: Intermediate)
Component/s: (was: Plugin API)
Metadata Model
Affects Version/s: (was: 3.0.4)
Key: MPLUGIN-239 (was: MNG-5405)
Project: Maven 2.x Plugin Tools (was: Maven 2 & 3)
> 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
> Reporter: Ben Tatham
> 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