You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by br...@apache.org on 2008/01/05 03:49:43 UTC
svn commit: r609085 -
/maven/components/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java
Author: brianf
Date: Fri Jan 4 18:49:42 2008
New Revision: 609085
URL: http://svn.apache.org/viewvc?rev=609085&view=rev
Log:
MNG-2166: enhanced missing goal error info. (fix from 587339:587340 in 2.0.x)
Modified:
maven/components/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java
Modified: maven/components/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java?rev=609085&r1=609084&r2=609085&view=diff
==============================================================================
--- maven/components/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java (original)
+++ maven/components/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java Fri Jan 4 18:49:42 2008
@@ -121,7 +121,7 @@
if ( goals.isEmpty() )
{
- throw new NoGoalsSpecifiedException( "You must specify at least one goal. Try 'install'" );
+ throw new NoGoalsSpecifiedException( "\n\nYou must specify at least one goal. Try 'install' to build or mvn -? for other options.\n See http://maven.apache.org for more information.\n\n" );
}
List taskSegments = segmentTaskListByAggregationNeeds(