Hi Manchi,

Or you can use the maven-help-plugin, it can list all the goals for a certain plugin.

i.e.
mvn help:describe -Dplugin=org.apache.maven.plugins:maven-eclipse-plugin -Dfull=true

-allan

Yann Le Du wrote:

Hi Manchi

If you want the site to contain plugin goal documentation, you must include
the plugin report :

 <reporting>
   <plugins>
     <plugin>
       <groupId>org.apache.maven.plugins</groupId>
       <artifactId>maven-plugin-plugin</artifactId>
     </plugin>
   </plugins>
 </reporting>

Hope this helps,
--
Yann

2005/12/27, Man-Chi Leung <[EMAIL PROTECTED]>:
hi,

after anyway new plug-in installation, I will very much rely on "mvn
site" to generate a html site for checking out all Goals available.

sometimes, there is nothing.  very often, I need to dig all the way
to view a plug-in's source code.

yes, look at the @goal  annotation stated for the mojo class.

I am wondering whether there is a better way to list all available
goals in M2.

in Maven1, we have $maven -P <plug-in name> or  $maven -g

how about M2? pls advise.

Best Regards,

Manchi Leung


------------------------------------------------------------------------

No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.8/215 - Release Date: 12/27/2005

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to