maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ken...@apache.org
Subject svn commit: r430369 - /maven/components/trunk/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginManager.java
Date Thu, 10 Aug 2006 13:01:58 GMT
Author: kenney
Date: Thu Aug 10 06:01:55 2006
New Revision: 430369

URL: http://svn.apache.org/viewvc?rev=430369&view=rev
Log:
Fix exception message

Modified:
    maven/components/trunk/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginManager.java

Modified: maven/components/trunk/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginManager.java
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginManager.java?rev=430369&r1=430368&r2=430369&view=diff
==============================================================================
--- maven/components/trunk/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginManager.java
(original)
+++ maven/components/trunk/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginManager.java
Thu Aug 10 06:01:55 2006
@@ -291,7 +291,7 @@
 
         if ( addedPlugin == null )
         {
-            throw new IllegalStateException( "The PluginDescriptor for the plugin " + plugin
+ " was not found." );
+            throw new IllegalStateException( "The PluginDescriptor for the plugin " + plugin.getKey()
+ " was not found" );
         }
 
         addedPlugin.setClassRealm( child.getContainerRealm() );



Mime
View raw message