maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdca...@apache.org
Subject svn commit: r559215 - /maven/components/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/binding/DefaultLifecycleBindingManager.java
Date Tue, 24 Jul 2007 21:17:23 GMT
Author: jdcasey
Date: Tue Jul 24 14:17:20 2007
New Revision: 559215

URL: http://svn.apache.org/viewvc?view=rev&rev=559215
Log:
Fixing NPE.

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=559215&r1=559214&r2=559215
==============================================================================
--- 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:17:20 2007
@@ -337,8 +337,8 @@
 
                                             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:
" )



Mime
View raw message