maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bentm...@apache.org
Subject svn commit: r804375 - /maven/components/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java
Date Fri, 14 Aug 2009 21:08:55 GMT
Author: bentmann
Date: Fri Aug 14 21:08:55 2009
New Revision: 804375

URL: http://svn.apache.org/viewvc?rev=804375&view=rev
Log:
o Improved error message

Modified:
    maven/components/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java

Modified: maven/components/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java?rev=804375&r1=804374&r2=804375&view=diff
==============================================================================
--- maven/components/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java
(original)
+++ maven/components/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java
Fri Aug 14 21:08:55 2009
@@ -1211,27 +1211,27 @@
         }
         catch ( PluginNotFoundException e )
         {
-            throw new LifecycleExecutionException( "Error getting default plugin information:
", e );
+            throw new LifecycleExecutionException( "Error getting default plugin information
for " + plugin.getId(), e );
         }
         catch ( PluginResolutionException e )
         {
-            throw new LifecycleExecutionException( "Error getting default plugin information:
", e );
+            throw new LifecycleExecutionException( "Error getting default plugin information
for " + plugin.getId(), e );
         }
         catch ( PluginDescriptorParsingException e )
         {
-            throw new LifecycleExecutionException( "Error getting default plugin information:
", e );
+            throw new LifecycleExecutionException( "Error getting default plugin information
for " + plugin.getId(), e );
         }
         catch ( CycleDetectedInPluginGraphException e )
         {
-            throw new LifecycleExecutionException( "Error getting default plugin information:
", e );
+            throw new LifecycleExecutionException( "Error getting default plugin information
for " + plugin.getId(), e );
         }
         catch ( MojoNotFoundException e )
         {
-            throw new LifecycleExecutionException( "Error getting default plugin information:
", e );
+            throw new LifecycleExecutionException( "Error getting default plugin information
for " + plugin.getId(), e );
         }
         catch ( InvalidPluginDescriptorException e )
         {
-            throw new LifecycleExecutionException( "Error getting default plugin information:
", e );
+            throw new LifecycleExecutionException( "Error getting default plugin information
for " + plugin.getId(), e );
         } 
         
         return getMojoConfiguration( mojoDescriptor );



Mime
View raw message