You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by jd...@apache.org on 2007/07/24 23:20:41 UTC

svn commit: r559218 - /maven/components/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/binding/DefaultLifecycleBindingManager.java

Author: jdcasey
Date: Tue Jul 24 14:20:40 2007
New Revision: 559218

URL: http://svn.apache.org/viewvc?view=rev&rev=559218
Log:
more formats.

Modified:
    maven/components/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/binding/DefaultLifecycleBindingManager.java

Modified: maven/components/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/binding/DefaultLifecycleBindingManager.java
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/binding/DefaultLifecycleBindingManager.java?view=diff&rev=559218&r1=559217&r2=559218
==============================================================================
--- maven/components/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/binding/DefaultLifecycleBindingManager.java (original)
+++ maven/components/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/binding/DefaultLifecycleBindingManager.java Tue Jul 24 14:20:40 2007
@@ -325,7 +325,7 @@
                                             message.append( "\nHowever, the mojo metadata it contains does not specify a default lifecycle phase binding." );
                                             message.append( "\n\nPlease provide a valid <phase/> specification for execution: " )
                                                    .append( execution.getId() )
-                                                   .append( " in plugin: " )
+                                                   .append( "\nin plugin: " )
                                                    .append( plugin.getKey() );
                                             message.append( "\n\n" );
 
@@ -343,8 +343,9 @@
                                                     .append( "\n(if there is one) is impossible." );
                                             message.append( "\n\nPlease ensure that the plugin: " )
                                                    .append( plugin.getKey() )
-                                                   .append( " can be resolved by Maven, then try re-running this " )
-                                                   .append( "\nbuild with the -U option, to ensure that all plugin metadata is refreshed." );
+                                                   .append( " can be resolved by Maven," )
+                                                   .append( "\nthen try re-running this build with the -U option " )
+                                                   .append( "\n(to ensure that all plugin metadata is refreshed)." );
                                             message.append( "\n\n" );
 
                                             throw new LifecycleSpecificationException( message.toString() );