You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Vincent Siveton (JIRA)" <ji...@codehaus.org> on 2008/02/01 00:31:57 UTC

[jira] Closed: (MPLUGIN-40) All plugins should by default have an auto-generated goal 'help'

     [ http://jira.codehaus.org/browse/MPLUGIN-40?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vincent Siveton closed MPLUGIN-40.
----------------------------------

         Assignee: Vincent Siveton
       Resolution: Fixed
    Fix Version/s: 2.4

Fixed in r617289 and deployed.

You need to add in your plugin POM

{noformat}
  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-plugin-plugin</artifactId>
        <executions>
          <execution>
            <id>generated-helpmojo</id>
            <goals>
              <goal>helpmojo</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      ...
    </plugins>
  </build>
{noformat}


> All plugins should by default have an auto-generated goal 'help'
> ----------------------------------------------------------------
>
>                 Key: MPLUGIN-40
>                 URL: http://jira.codehaus.org/browse/MPLUGIN-40
>             Project: Maven 2.x Plugin Tools
>          Issue Type: New Feature
>    Affects Versions: 2.3
>            Reporter: Eirik Maus
>            Assignee: Vincent Siveton
>             Fix For: 2.4
>
>
> All plugins should have a goal called "help" providing help on how to use the plugin. This should be auto-generated if it doesn't already exist as a goal in the mojo. The autogenerated help should typically list the goals (and settable properties) of the plugin, and probably also print out the url to the plugin's website (if available). This will most likely affect the plugin archetype as well, I guess. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira