mirror of https://github.com/apache/maven.git
o classloaders are now managed by the plugin manager.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@774488 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a2ac490107
commit
5300bd94f5
|
@ -38,7 +38,6 @@ public class PluginManagerTest
|
||||||
plugin.setVersion( plexusVersion );
|
plugin.setVersion( plexusVersion );
|
||||||
PluginDescriptor pluginDescriptor = pluginManager.loadPlugin( plugin, session.getLocalRepository(), session.getCurrentProject().getRemoteArtifactRepositories() );
|
PluginDescriptor pluginDescriptor = pluginManager.loadPlugin( plugin, session.getLocalRepository(), session.getCurrentProject().getRemoteArtifactRepositories() );
|
||||||
assertNotNull( pluginDescriptor );
|
assertNotNull( pluginDescriptor );
|
||||||
assertNotNull( pluginDescriptor.getClassRealm() );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void testMojoDescriptorRetrieval()
|
public void testMojoDescriptorRetrieval()
|
||||||
|
@ -61,7 +60,6 @@ public class PluginManagerTest
|
||||||
assertEquals( "org.codehaus.plexus", pluginDescriptor.getGroupId() );
|
assertEquals( "org.codehaus.plexus", pluginDescriptor.getGroupId() );
|
||||||
assertEquals( "plexus-component-metadata", pluginDescriptor.getArtifactId() );
|
assertEquals( "plexus-component-metadata", pluginDescriptor.getArtifactId() );
|
||||||
assertEquals( plexusVersion, pluginDescriptor.getVersion() );
|
assertEquals( plexusVersion, pluginDescriptor.getVersion() );
|
||||||
assertNotNull( pluginDescriptor.getClassRealm() );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// -----------------------------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue