You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Guo Du <mr...@gmail.com> on 2010/12/12 02:10:14 UTC

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

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.

I would like those information included in the help:describe goal.

What do you think?

-Guo


EXAMPLE [ eclipse:configure-workspace ]
=================================================

CORRECT SYNTAX
> mvn eclipse:configure-workspace -Declipse.workspace=.

GOAL DOC
On plugin goal page[1], you will see workspace:
Directory location of the Eclipse workspace.
    * Type: java.lang.String
    * Required: Yes
    * Expression: ${eclipse.workspace}


help:describe OUTPUT
mvn -Ddetail help:describe -Dplugin=eclipse -Dgoal=configure-workspace
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-help-plugin:2.1.1:describe (default-cli) @ standalone-pom ---
[INFO] Mojo: 'eclipse:configure-workspace'
eclipse:configure-workspace
  Description: Configures The following Eclipse Workspace features:
    - Adds the classpath variable MAVEN_REPO to Eclipse.
    - Optionally load Eclipse code style file via a URL.
  Implementation: org.apache.maven.plugin.eclipse.ConfigureWorkspaceMojo
  Language: java

  Available parameters:

    workspace
      Directory location of the Eclipse workspace.

    workspaceActiveCodeStyleProfileName
      Name of a profile in workspaceCodeStylesURL to activate. Default is the
      first profile name in the code style file in workspaceCodeStylesURL

    workspaceCodeStylesURL
      Point to a URL containing code styles content.


[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------


[1] http://maven.apache.org/plugins/maven-eclipse-plugin/configure-workspace-mojo.html#workspace

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


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

Posted by Guo Du <mr...@duguo.org>.
On Sun, Dec 12, 2010 at 12:37 PM, Baptiste MATHUS <ml...@batmat.net> wrote:
> If you think this is a required feature, please file an issue in the
> corresponding JIRA (http://jira.codehaus.org/browse/MPH).
> This is typically how feature request have to go through.
Ticket created with patch against trunk:
http://jira.codehaus.org/browse/MPH-81

Thanks!

-Guo

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


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

Posted by Baptiste MATHUS <ml...@batmat.net>.
Hi,
If you think this is a required feature, please file an issue in the
corresponding JIRA (http://jira.codehaus.org/browse/MPH).
This is typically how feature request have to go through.

Cheers

2010/12/12 Guo Du <mr...@gmail.com>

> 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.
>
> I would like those information included in the help:describe goal.
>
> What do you think?
>
> -Guo
>
>
> EXAMPLE [ eclipse:configure-workspace ]
> =================================================
>
> CORRECT SYNTAX
> > mvn eclipse:configure-workspace -Declipse.workspace=.
>
> GOAL DOC
> On plugin goal page[1], you will see workspace:
> Directory location of the Eclipse workspace.
>    * Type: java.lang.String
>    * Required: Yes
>    * Expression: ${eclipse.workspace}
>
>
> help:describe OUTPUT
> mvn -Ddetail help:describe -Dplugin=eclipse -Dgoal=configure-workspace
> [INFO] Scanning for projects...
> [INFO]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Maven Stub Project (No POM) 1
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-help-plugin:2.1.1:describe (default-cli) @ standalone-pom
> ---
> [INFO] Mojo: 'eclipse:configure-workspace'
> eclipse:configure-workspace
>  Description: Configures The following Eclipse Workspace features:
>    - Adds the classpath variable MAVEN_REPO to Eclipse.
>    - Optionally load Eclipse code style file via a URL.
>  Implementation: org.apache.maven.plugin.eclipse.ConfigureWorkspaceMojo
>  Language: java
>
>  Available parameters:
>
>    workspace
>      Directory location of the Eclipse workspace.
>
>    workspaceActiveCodeStyleProfileName
>      Name of a profile in workspaceCodeStylesURL to activate. Default is
> the
>      first profile name in the code style file in workspaceCodeStylesURL
>
>    workspaceCodeStylesURL
>      Point to a URL containing code styles content.
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO]
> ------------------------------------------------------------------------
>
>
> [1]
> http://maven.apache.org/plugins/maven-eclipse-plugin/configure-workspace-mojo.html#workspace
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>


-- 
Baptiste <Batmat> MATHUS - http://batmat.net
Sauvez un arbre,
Mangez un castor !