2008/8/29 <[EMAIL PROTECTED]>: > 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
