You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Herve Boutemy (JIRA)" <ji...@codehaus.org> on 2014/06/01 23:22:10 UTC
[jira] (MPLUGIN-238) HelpMojo phases fails when using
java-annotations
[ https://jira.codehaus.org/browse/MPLUGIN-238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Herve Boutemy closed MPLUGIN-238.
---------------------------------
Resolution: Fixed
Fix Version/s: 3.4
Assignee: Herve Boutemy
fixed in [r1599050|http://svn.apache.org/r1599050]: now, there is no need to configure skipErrorNoDescriptorFound for HelpMojo
> HelpMojo phases fails when using java-annotations
> -------------------------------------------------
>
> Key: MPLUGIN-238
> URL: https://jira.codehaus.org/browse/MPLUGIN-238
> Project: Maven Plugin Tools
> Issue Type: Bug
> Affects Versions: 3.2
> Reporter: Daniel Godfrey
> Assignee: Herve Boutemy
> Priority: Minor
> Fix For: 3.4
>
> 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 was sent by Atlassian JIRA
(v6.1.6#6162)