Daniel Godfrey created MPLUGIN-238: -------------------------------------- Summary: HelpMojo phases fails when using java-annotations Key: MPLUGIN-238 URL: https://jira.codehaus.org/browse/MPLUGIN-238 Project: Maven 2.x Plugin Tools Issue Type: Bug Affects Versions: 3.2 Reporter: Daniel Godfrey Priority: Minor Attachments: test-maven-plugin.zip
When using the java-annotations to specify the mojo metadata, the HelpMojo generating goal fails if {code:java} <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>{code} 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. -- 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