Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.1, 3.2
-
None
Description
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.