mirror of https://github.com/apache/maven.git
o using thread local lookup setting the realm to null once it's done its work with the plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@718656 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d9a4b136c4
commit
f88b524249
|
@ -713,7 +713,8 @@ public class DefaultPluginManager
|
|||
|
||||
if ( oldLookupRealm != null )
|
||||
{
|
||||
container.setLookupRealm( oldLookupRealm );
|
||||
//container.setLookupRealm( oldLookupRealm );
|
||||
container.setLookupRealm( null );
|
||||
}
|
||||
|
||||
Thread.currentThread().setContextClassLoader( oldClassLoader );
|
||||
|
|
|
@ -1,17 +1,16 @@
|
|||
package org.apache.maven.project.builder.listeners;
|
||||
|
||||
import org.apache.maven.shared.model.ModelEventListener;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
import org.apache.maven.project.builder.ArtifactModelContainerFactory;
|
||||
import org.apache.maven.project.builder.ProjectUri;
|
||||
import org.apache.maven.shared.model.ModelContainer;
|
||||
import org.apache.maven.shared.model.ModelContainerFactory;
|
||||
import org.apache.maven.shared.model.ModelEventListener;
|
||||
import org.apache.maven.shared.model.ModelProperty;
|
||||
import org.apache.maven.project.builder.ProjectUri;
|
||||
import org.apache.maven.project.builder.ArtifactModelContainerFactory;
|
||||
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
import java.util.Collection;
|
||||
import java.util.Arrays;
|
||||
import java.util.ArrayList;
|
||||
|
||||
public class BuildExtensionListener
|
||||
implements ModelEventListener
|
||||
|
|
Loading…
Reference in New Issue