[ 
https://issues.apache.org/jira/browse/MPLUGIN-142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Osipov closed MPLUGIN-142.
----------------------------------
    Resolution: Auto Closed

This issue has been auto closed because it has been inactive for a long period 
of time. If you think this issue still applies, retest your problem with the 
most recent version of Maven and the affected component, reopen and post your 
results.

> Unable to add a prerequisite goal from an ant-based mojo
> --------------------------------------------------------
>
>                 Key: MPLUGIN-142
>                 URL: https://issues.apache.org/jira/browse/MPLUGIN-142
>             Project: Maven Plugin Tools
>          Issue Type: Bug
>          Components: maven-plugin-tools-ant, Metadata Model
>    Affects Versions: 2.4.3
>            Reporter: Erik Godding Boye
>            Priority: Major
>
> According to the documentation you should be able to add a prerequisite goal 
> from an ant-based mojo using the following syntax:
> {code:xml}
> <pluginMetadata>
> <mojos>
>   <mojo>
> .
> .
> .
>     <execution>
>       <goal>some:goal</goal>
>     </execution>
> .
> .
> .
>   </mojo>
> </mojos>
> </pluginMetadata>
> {code}
> 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 was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to