o Displayed plugin realm upon linkage error

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@799712 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Bentmann 2009-07-31 19:30:35 +00:00
parent 82005766ac
commit b3f852ee64

View File

@ -332,6 +332,12 @@ public void executeMojo( MavenSession session, MojoExecution mojoExecution )
{
throw new PluginExecutionException( mojoExecution, project, e );
}
catch ( LinkageError e )
{
pluginRealm.display();
throw e;
}
finally
{
if ( mojo != null )