You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by be...@apache.org on 2009/07/30 20:13:02 UTC
svn commit: r799395 -
/maven/components/trunk/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java
Author: bentmann
Date: Thu Jul 30 18:13:02 2009
New Revision: 799395
URL: http://svn.apache.org/viewvc?rev=799395&view=rev
Log:
o Tweaked error message
Modified:
maven/components/trunk/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java
Modified: maven/components/trunk/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java?rev=799395&r1=799394&r2=799395&view=diff
==============================================================================
--- maven/components/trunk/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java (original)
+++ maven/components/trunk/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java Thu Jul 30 18:13:02 2009
@@ -386,7 +386,7 @@
File pluginFile = ( pluginArtifact != null ) ? pluginArtifact.getFile() : null;
if ( pluginFile == null )
{
- throw new IllegalStateException( "plugin main artifact has not been resolved" );
+ throw new IllegalStateException( "plugin main artifact has not been resolved for " + getId() );
}
if ( pluginFile.isFile() )