You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Ben Tatham (JIRA)" <ji...@codehaus.org> on 2012/12/07 20:31:13 UTC
[jira] (MNG-5405) Execute goal does not passes from mojos.xml
pluginMetadata
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
[jira] (MPLUGIN-239) Execute goal does not passes from mojos.xml
pluginMetadata
Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
[ 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
[jira] (MNG-5405) Execute goal does not passes from mojos.xml
pluginMetadata
Posted by "Ben Tatham (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MNG-5405?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ben Tatham updated MNG-5405:
----------------------------
Attachment: MNG-5405.patch
Here is the simple patch for this bug. Hopefully, we can get it released soon...
> 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
> 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
[jira] (MPLUGIN-239) Execute goal does not passes from mojos.xml
pluginMetadata
Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MPLUGIN-239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Olivier Lamy closed MPLUGIN-239.
--------------------------------
Resolution: Fixed
fixed http://svn.apache.org/r1438099
Thanks!
> 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
[jira] (MPLUGIN-239) Execute goal does not passes from mojos.xml
pluginMetadata
Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
[ 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