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

Vincent Siveton commented on MPLUGIN-40:
----------------------------------------

Read the doc [1]. Surefire plugin needs to be built with the plugin-plugin ie 
something like the following

{noformat}
Index: pom.xml
===================================================================
--- pom.xml     (revision 618014)
+++ pom.xml     (working copy)
@@ -173,4 +173,21 @@
       </plugin>
     </plugins>
   </reporting>
+  
+  <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>
 </project>
{noformat}

And after you could call mvn surefire:help

We need to release plugin-plugin first, all plugins with plugin-plugin secondly.

[1] 
https://svn.apache.org/repos/asf/maven/plugin-tools/trunk/maven-plugin-plugin/src/site/apt/examples/generate-help.apt

> 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

        

Reply via email to