Maven 2.x Help Plugin

help:describe should accept plugin prefix or prefix:goal

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Duplicate
  • Affects Version/s: None
  • Fix Version/s: 2.1
  • Component/s: None
  • Labels:
    None
  • Number of attachments :
    0

Description

It's tedious and unnecessary to type the entire groupId and artifactId since plugin:goal also works
when specified on the commandline.

Add a new parameter -Dgoal=plugin:goal or -Dprefix=plugin and let m2 resolve the plugin
in the normal fashion;

mvn help:describe -Dprefix=help -> show Mojo's for maven-help-plugin

Issue Links

Activity

Hide
Andrea Aime added a comment -

Well, apparently the current version of the help plugin allows for that, even if the help plugin site does not seem up to date.
The following works:

mvn help:describe -Dplugin=site -Dfull=true

(althought the output is a bit too verbose i my opinon)

Show
Andrea Aime added a comment - Well, apparently the current version of the help plugin allows for that, even if the help plugin site does not seem up to date. The following works: mvn help:describe -Dplugin=site -Dfull=true (althought the output is a bit too verbose i my opinon)
Hide
Barend Garvelink added a comment -

See also MPH-26.

Show
Barend Garvelink added a comment - See also MPH-26.
Hide
Vincent Siveton added a comment -

MPH-30 provides a new parameter cmd for phase or goal

Show
Vincent Siveton added a comment - MPH-30 provides a new parameter cmd for phase or goal

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: