mirror of https://github.com/apache/maven.git
o Improved error message
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@809038 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
de1813b2ea
commit
add554b1d6
|
@ -366,11 +366,13 @@ public class DefaultMavenPluginManager
|
||||||
}
|
}
|
||||||
catch ( PlexusConfigurationException e )
|
catch ( PlexusConfigurationException e )
|
||||||
{
|
{
|
||||||
throw new PluginManagerException( plugin, e.getMessage(), e );
|
throw new PluginManagerException( plugin, "Error in component graph of plugin " + plugin.getId() + ": "
|
||||||
|
+ e.getMessage(), e );
|
||||||
}
|
}
|
||||||
catch ( CycleDetectedInComponentGraphException e )
|
catch ( CycleDetectedInComponentGraphException e )
|
||||||
{
|
{
|
||||||
throw new PluginManagerException( plugin, e.getMessage(), e );
|
throw new PluginManagerException( plugin, "Error in component graph of plugin " + plugin.getId() + ": "
|
||||||
|
+ e.getMessage(), e );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue