The following comment has been added to this issue:

     Author: Brett Porter
    Created: Sat, 24 Apr 2004 7:24 PM
       Body:
>  1/ I've tried -P with a plugin name. It doesn't seem to work:
> E:\Dev\maven-plugins\announcement>maven -P maven-jboss-plugin

try maven -P jboss
I think this is what users are more likely to type - and in new plugins we should 
start calling them things like this. We already have maven- from the group and -plugin 
from the type, so no need to add it to the artifact ID.

> 2/ It would be cool to support maven --info <plugin name>, showing POM > information 
> for that plugin

maven -P does that (shows pom.description). --info is more diagnostics for bug reports.

> 3/ For maven -P, the problems is that default goals do not always 
> represent what the plugin does. For some plugins there are even no 
> default goals which is normal. Description are not that long, are 
> they? We could always use the <shortDescription> element then.

description is shown on index.xml by default so should be a bit more verbose.

shortDescription is a better alternative, but I didn't want to change too much what 
worked for now. The current shortDescs are not very helpful, plus that'd mean having 
to load all the project.xml files to show the output (or creating an additional cache 
field).

I was going to tweak up all the default goal descriptions (and add default goals where 
appropriate - I think all plugins should have one) to help this for 1.0. If you wanted 
to switch to shortDescription, feel free - now that this works reasonably well I'll 
move on to more important issues. Thanks!


---------------------------------------------------------------------
View this comment:
  
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-1243&page=comments#action_19044

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-1243

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-1243
    Summary: Add a CLI command to show versions of plugins
       Type: Improvement

     Status: Closed
   Priority: Major
 Resolution: FIXED

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
   Fix Fors:
             1.0-rc3

   Assignee: 
   Reporter: Vincent Massol

    Created: Wed, 21 Apr 2004 4:55 PM
    Updated: Sat, 24 Apr 2004 7:24 PM

Description:
I think it would be nice if we could have a CLI command to show the version of all 
plugins available in the current Maven install. Getting the version of a single plugin 
would also be nice I think (but that could be possibly implemented as a plugin:version 
goal in the plugin plugin).


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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

Reply via email to