Unable to add a prerequisite goal from an ant-based mojo
--------------------------------------------------------
Key: MPLUGIN-142
URL: http://jira.codehaus.org/browse/MPLUGIN-142
Project: Maven 2.x Plugin Tools
Issue Type: Bug
Components: Metadata Model
Affects Versions: 2.4.3
Reporter: Erik Godding Boye
According to the documentation you should be able to add a prerequisite goal
from an ant-based mojo using the following syntax:
<pluginMetadata>
<mojos>
<mojo>
.
.
.
<execution>
<goal>some:goal</goal>
</execution>
.
.
.
</mojo>
</mojos>
</pluginMetadata>
But this does not work. There is no error when building the mojo, but the goal
element is ignored. The problem seems to be related to the fact that
PluginMetadataParser does not map the execution.goal property of Mojo when
converting it to MojoDescriptor (in the asDescriptor method).
--
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