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(