From a87abe2d263626f0d01fd72bfb666e8464e07f73 Mon Sep 17 00:00:00 2001 From: John Dennis Casey Date: Tue, 24 Jul 2007 21:20:40 +0000 Subject: [PATCH] more formats. git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@559218 13f79535-47bb-0310-9956-ffa450edef68 --- .../lifecycle/binding/DefaultLifecycleBindingManager.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/maven-core/src/main/java/org/apache/maven/lifecycle/binding/DefaultLifecycleBindingManager.java b/maven-core/src/main/java/org/apache/maven/lifecycle/binding/DefaultLifecycleBindingManager.java index fba9cd194d..1a4ac05715 100644 --- a/maven-core/src/main/java/org/apache/maven/lifecycle/binding/DefaultLifecycleBindingManager.java +++ b/maven-core/src/main/java/org/apache/maven/lifecycle/binding/DefaultLifecycleBindingManager.java @@ -325,7 +325,7 @@ public class DefaultLifecycleBindingManager message.append( "\nHowever, the mojo metadata it contains does not specify a default lifecycle phase binding." ); message.append( "\n\nPlease provide a valid specification for execution: " ) .append( execution.getId() ) - .append( " in plugin: " ) + .append( "\nin plugin: " ) .append( plugin.getKey() ); message.append( "\n\n" ); @@ -343,8 +343,9 @@ public class DefaultLifecycleBindingManager .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() );