maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Hobson" <markhob...@gmail.com>
Subject Re: svn commit: r690099 - /maven/plugins/trunk/maven-help-plugin/src/main/java/org/apache/maven/plugins/help/DescribeMojo.java
Date Fri, 29 Aug 2008 09:40:23 GMT
2008/8/29  <dfabulich@apache.org>:
> Author: dfabulich
> Date: Thu Aug 28 21:53:44 2008
> New Revision: 690099
>
> URL: http://svn.apache.org/viewvc?rev=690099&view=rev
> Log:
> [MPH-49] help:describe no-arg error doesn't mention "cmd"
>
> Modified:
>    maven/plugins/trunk/maven-help-plugin/src/main/java/org/apache/maven/plugins/help/DescribeMojo.java
>
> Modified: maven/plugins/trunk/maven-help-plugin/src/main/java/org/apache/maven/plugins/help/DescribeMojo.java
> URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-help-plugin/src/main/java/org/apache/maven/plugins/help/DescribeMojo.java?rev=690099&r1=690098&r2=690099&view=diff
> ==============================================================================
> --- maven/plugins/trunk/maven-help-plugin/src/main/java/org/apache/maven/plugins/help/DescribeMojo.java
(original)
> +++ maven/plugins/trunk/maven-help-plugin/src/main/java/org/apache/maven/plugins/help/DescribeMojo.java
Thu Aug 28 21:53:44 2008
> @@ -370,8 +370,12 @@
>         else
>         {
>             StringBuffer msg = new StringBuffer();
> -            msg.append( "You must either specify 'groupId' and 'artifactId' both parameters,
or a valid 'plugin' "
> +            msg.append( "You must either specify a 'groupId' and 'artifactId' both parameters,
or a valid 'plugin', or a valid 'cmd' "
>                 + "parameter. For instance:\n" );

This still doesn't make much sense, do you mean to say something like:
"You must specify either: both 'groupId' and 'artifactId' parameters;
a 'plugin' parameter; or a 'cmd' parameter." ?

> +            msg.append( "  # mvn help:describe -Dcmd=install\n" );
> +            msg.append( "or\n" );
> +            msg.append( "  # mvn help:describe -Dcmd=help:describe\n" );
> +            msg.append( "or\n" );
>             msg.append( "  # mvn help:describe -Dplugin=org.apache.maven.plugins:maven-help-plugin\n"
);
>             msg.append( "or\n" );
>             msg.append( "  # mvn help:describe -DgroupId=org.apache.maven.plugins -DartifactId=maven-help-plugin\n\n"
);

Cheers,

Mark

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


Mime
View raw message