mirror of https://github.com/apache/maven.git
o Improved error messages
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@810954 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
07f5ea260a
commit
d7e8f29509
|
@ -544,20 +544,20 @@ public class DefaultMavenPluginManager
|
|||
catch ( ComponentConfigurationException e )
|
||||
{
|
||||
throw new PluginConfigurationException( mojoDescriptor.getPluginDescriptor(),
|
||||
"Unable to parse the created DOM for mojo configuration: "
|
||||
+ e.getMessage(), e );
|
||||
"Unable to parse configuration of mojo " + mojoDescriptor.getId()
|
||||
+ ": " + e.getMessage(), e );
|
||||
}
|
||||
catch ( ComponentLookupException e )
|
||||
{
|
||||
throw new PluginConfigurationException( mojoDescriptor.getPluginDescriptor(),
|
||||
"Unable to retrieve component configurator " + configuratorId
|
||||
+ " for mojo configuration", e );
|
||||
+ " for configuration of mojo " + mojoDescriptor.getId(), e );
|
||||
}
|
||||
catch ( NoClassDefFoundError e )
|
||||
{
|
||||
throw new PluginConfigurationException( mojoDescriptor.getPluginDescriptor(),
|
||||
"A required class was missing during mojo configuration: "
|
||||
+ e.getMessage(), e );
|
||||
"A required class was missing during configuration of mojo "
|
||||
+ mojoDescriptor.getId() + ": " + e.getMessage(), e );
|
||||
}
|
||||
catch ( LinkageError e )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue