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

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

Martin Ellis created MPLUGIN-223:
------------------------------------

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

        

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

Posted by "Anthony Whitford (JIRA)" <ji...@codehaus.org>.
    [ 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

        

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

Posted by Robert Scholte <rf...@apache.org>.
Thanks!

Op Mon, 05 Nov 2012 21:53:13 +0100 schreef Dennis Lundberg (JIRA)  
<ji...@codehaus.org>:

>
>      [  
> https://jira.codehaus.org/browse/MPLUGIN-223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel  
> ]
>
> Dennis Lundberg closed MPLUGIN-223.
> -----------------------------------
>
>        Resolution: Fixed
>     Fix Version/s: 3.2
>          Assignee: Robert Scholte
>
> Fixed already by MPLUGIN-231.
>
> Added an IT in  
> [r1405948|http://svn.apache.org/viewvc?view=revision&revision=1405948]  
> to verify.
>
>> 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
>>            Assignee: Robert Scholte
>>             Fix For: 3.2
>>
>>
>> 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
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


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

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MPLUGIN-223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Lundberg closed MPLUGIN-223.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 3.2
         Assignee: Robert Scholte

Fixed already by MPLUGIN-231.

Added an IT in [r1405948|http://svn.apache.org/viewvc?view=revision&revision=1405948] to verify.
                
> 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
>            Assignee: Robert Scholte
>             Fix For: 3.2
>
>
> 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