You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Guo Du (JIRA)" <ji...@codehaus.org> on 2010/12/14 00:25:57 UTC

[jira] Created: (MPH-81) maven-help-plugin:describe to display Required and Expression status

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

        

[jira] Closed: (MPH-81) maven-help-plugin:describe to display Required and Expression status

Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPH-81?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann closed MPH-81.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2
         Assignee: Benjamin Bentmann

Patch applied in [r1050549|http://svn.apache.org/viewvc?view=revision&revision=1050549], thanks!

> 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
>            Assignee: Benjamin Bentmann
>             Fix For: 2.2
>
>         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