maven-help-plugin:describe to display Required and Expression status
--------------------------------------------------------------------

                 Key: MPH-81
                 URL: http://jira.codehaus.org/browse/MPH-81
             Project: Maven 2.x Help Plugin
          Issue Type: Improvement
    Affects Versions: 2.1.1
         Environment: Apache Maven 3.0.1 (r1038046; 2010-11-23 10:58:32+0000)
Java version: 1.6.0_20
Java home: /usr/lib/jvm/java-6-openjdk/jre
Default locale: en_IE, platform encoding: UTF-8
OS name: "linux" version: "2.6.32-25-generic" arch: "i386" Family: "unix"

            Reporter: Guo Du
         Attachments: fix-to-display-required-and-expression.diff

maven-help-plugin:2.1.1:describe with maven 3.0.1 doesn't show the parameter 
Required and Expression status which is essential to run the goal.


The patch:
* fixed the missing Expression
* display Required=true based on the flag status

After applied the patch run following command to test:
mvn org.apache.maven.plugins:maven-help-plugin:2.2-SNAPSHOT:describe -Ddetail 
-Dplugin=eclipse -Dgoal=configure-workspace

You will expect to see:
    workspace
      Required: true
      Expression: ${eclipse.workspace}
      Directory location of the Eclipse workspace.

Without patch, you will see:
    workspace
      Directory location of the Eclipse workspace.

-- 
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