o Improved error message

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@804375 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Bentmann 2009-08-14 21:08:55 +00:00
parent c72b9c3098
commit e0c8417db5
1 changed files with 6 additions and 6 deletions

View File

@ -1211,27 +1211,27 @@ public class DefaultLifecycleExecutor
}
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 );