From 8fab1c218ad120b8dd4877d6e0dd8f67c7e3e9c4 Mon Sep 17 00:00:00 2001 From: John Dennis Casey Date: Tue, 24 Jul 2007 21:17:20 +0000 Subject: [PATCH] Fixing NPE. git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@559215 13f79535-47bb-0310-9956-ffa450edef68 --- .../lifecycle/binding/DefaultLifecycleBindingManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 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 04ae4f617c..740421a293 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 @@ -337,8 +337,8 @@ public class DefaultLifecycleBindingManager message.append( "\n\nNo lifecycle phase binding can be found for goal: " + goal ); message.append( ",\nspecified as a part of the execution: " + execution.getId() ); - message.append( "in plugin: " ); - message.append( pluginDescriptor.getPluginLookupKey() ); + message.append( " in plugin: " ); + message.append( plugin.getKey() ); message.append( "\n\nThis plugin could not be resolved, so use of the default lifecycle phase binding " ) .append( "\n(if there is one) is impossible." ); message.append( "\n\nPlease ensure that the plugin: " )