Maven 2.x Help Plugin

help:describe should be way more helpful when no arguments are provided

Details

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

Description

Right now if you "mvn help:describe" with no further arguments you get an error: "You must either specify 'groupId' and 'artifactId', or a valid 'plugin' parameter."

The people who are using help:describe don't necessarily know how help:describe works yet; if they did, they might be clever enough to use "mvn help:describe -Dplugin=help -Dmojo=describe" to figure out how help:describe works.

This error message should be more like a paragraph long, and should include valid working examples. It could be copied from the apt doc for the help plugin.

Activity

Hide
Vincent Siveton added a comment -

Improved the error message in r683221

Show
Vincent Siveton added a comment - Improved the error message in r683221

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: