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 21:23:21 UTC

[jira] (MPLUGIN-226) Plugin documentation suggests an incorrect goal for generating descriptor

Anthony Whitford created MPLUGIN-226:
----------------------------------------

             Summary: Plugin documentation suggests an incorrect goal for generating descriptor
                 Key: MPLUGIN-226
                 URL: https://jira.codehaus.org/browse/MPLUGIN-226
             Project: Maven 2.x Plugin Tools
          Issue Type: Bug
    Affects Versions: 3.1
            Reporter: Anthony Whitford
            Priority: Minor


On this [page|http://maven.apache.org/plugin-tools/maven-plugin-plugin/examples/generate-descriptor.html], the goal says {{plugin}} instead of {{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-226) Plugin documentation suggests an incorrect goal for generating descriptor

Posted by "Herve Boutemy (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MPLUGIN-226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=309109#comment-309109 ] 

Herve Boutemy commented on MPLUGIN-226:
---------------------------------------

where precisely?
can you provide a patch?
source is here: http://svn.apache.org/repos/asf/maven/plugin-tools/trunk/maven-plugin-plugin/src/site/apt/examples/generate-descriptor.apt.vm
                
> Plugin documentation suggests an incorrect goal for generating descriptor
> -------------------------------------------------------------------------
>
>                 Key: MPLUGIN-226
>                 URL: https://jira.codehaus.org/browse/MPLUGIN-226
>             Project: Maven 2.x Plugin Tools
>          Issue Type: Bug
>    Affects Versions: 3.1
>            Reporter: Anthony Whitford
>            Priority: Minor
>
> On this [page|http://maven.apache.org/plugin-tools/maven-plugin-plugin/examples/generate-descriptor.html], the goal says {{plugin}} instead of {{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-226) Plugin documentation suggests an incorrect goal for generating descriptor

Posted by "Anthony Whitford (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MPLUGIN-226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=309746#comment-309746 ] 

Anthony Whitford commented on MPLUGIN-226:
------------------------------------------

I think I made a mistake...  I thought that I was looking at something like this:
{code:xml}
<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-plugin-plugin</artifactId>
  <version>3.1</version>
  <executions>
    <execution>
      <id>generate-mojo-descriptors</id>
      <goals>
       <goal>descriptor</goal>
     </goals>
    </execution>
  </executions>
</plugin>
{code}

I don't understand why one needs to specify the goalPrefix (as long as you are following the maven plugin naming convention).
                
> Plugin documentation suggests an incorrect goal for generating descriptor
> -------------------------------------------------------------------------
>
>                 Key: MPLUGIN-226
>                 URL: https://jira.codehaus.org/browse/MPLUGIN-226
>             Project: Maven 2.x Plugin Tools
>          Issue Type: Bug
>    Affects Versions: 3.1
>            Reporter: Anthony Whitford
>            Priority: Minor
>
> On this [page|http://maven.apache.org/plugin-tools/maven-plugin-plugin/examples/generate-descriptor.html], the goal says {{plugin}} instead of {{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-226) Plugin documentation suggests an incorrect goal for generating descriptor

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

Anthony Whitford closed MPLUGIN-226.
------------------------------------

    Resolution: Not A Bug

My bad...
                
> Plugin documentation suggests an incorrect goal for generating descriptor
> -------------------------------------------------------------------------
>
>                 Key: MPLUGIN-226
>                 URL: https://jira.codehaus.org/browse/MPLUGIN-226
>             Project: Maven 2.x Plugin Tools
>          Issue Type: Bug
>    Affects Versions: 3.1
>            Reporter: Anthony Whitford
>            Priority: Minor
>
> On this [page|http://maven.apache.org/plugin-tools/maven-plugin-plugin/examples/generate-descriptor.html], the goal says {{plugin}} instead of {{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