Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.2
-
None
-
None
Description
When using the java-annotations to specify the mojo metadata, the HelpMojo generating goal fails if
<skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
isn't specified.
The helpmojo goal needs to execute during generate-sources phase, otherwise the generated java file isn't compiled in the compile phase. However, when using the java-annotations, there isn't any metadata to scan at that point, it is only available after the compile phase.
So, can the helpmojo goal only generate the helpmojo.java and not scan for any metadata. The descriptor phase already does this anyway, including generating plugin-help.xml.
Attachments
Attachments
Issue Links
- is related to
-
MNG-5346 update maven-plugin-plugin:descriptor default binding from generate-resources phase to process-classes
- Closed