mirror of https://github.com/apache/maven.git
[MNG-4041] embedder returns stale maven project state
Submitted by: Igor Fedorenko o Committed additional patch with bugfixes git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@786811 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
93f90df0de
commit
1c0a588c90
|
@ -222,7 +222,8 @@ public class DefaultPluginCache
|
|||
&& eq( aD.getArtifactId(), bD.getArtifactId() ) //
|
||||
&& eq( aD.getVersion(), bD.getVersion() ) //
|
||||
&& eq( aD.getType(), bD.getType() ) //
|
||||
&& eq( aD.getClassifier(), bD.getScope() );
|
||||
&& eq( aD.getClassifier(), bD.getClassifier() ) //
|
||||
&& eq( aD.getScope(), bD.getScope() );
|
||||
|
||||
r &= exclusionsEquals( aD.getExclusions(), bD.getExclusions() );
|
||||
|
||||
|
|
|
@ -480,7 +480,7 @@ public class DefaultPluginManager
|
|||
}
|
||||
}
|
||||
|
||||
throw new PluginManagerException( plugin, "Could not create ClassRealm", (Throwable) null );
|
||||
throw new PluginManagerException( plugin, "Could not create ClassRealm for plugin " + baseRealmId, (Throwable) null );
|
||||
}
|
||||
|
||||
private Mojo getConfiguredMojo( MavenSession session, MavenProject project, MojoExecution mojoExecution, ClassRealm pluginRealm )
|
||||
|
|
Loading…
Reference in New Issue