You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Anthony Whitford (JIRA)" <ji...@codehaus.org> on 2012/09/16 18:49:21 UTC

[jira] (MPLUGIN-223) HelpMojo is not extracted when using java-annotations extractor

    [ https://jira.codehaus.org/browse/MPLUGIN-223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=308642#comment-308642 ] 

Anthony Whitford commented on MPLUGIN-223:
------------------------------------------

I too would like the option to go with the Java5 Annotations.  Presently, I see 3 issues:
# The @Property annotations are commented out.
# The @Mojo annotation is missing.
# The legacy Javadoc style annotations should be removed (Java 5 or legacy, not both).

                
> HelpMojo is not extracted when using java-annotations extractor
> ---------------------------------------------------------------
>
>                 Key: MPLUGIN-223
>                 URL: https://jira.codehaus.org/browse/MPLUGIN-223
>             Project: Maven 2.x Plugin Tools
>          Issue Type: Bug
>    Affects Versions: 3.1
>            Reporter: Martin Ellis
>
> The generated HelpMojo uses javadoc tags rather than Java annotations.
> If the plugin is only configured to use only the java-annotations extractor, then it does not recognise the HelpMojo as a valid mojo:
> {noformat}
>           <extractors>
>             <extractor>java-annotations</extractor>
>           </extractors>
> {noformat}
> In this case, the plugin will silently fail to include the 'help' goal in the plugin descriptor.

--
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