mirror of https://github.com/apache/maven.git
o Removed obsolete code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@805833 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
fd54fd1f07
commit
bc68f13de7
|
@ -43,14 +43,6 @@ public interface ClassRealmManager
|
|||
*/
|
||||
ClassRealm createProjectRealm( Model model );
|
||||
|
||||
/**
|
||||
* Creates a new class realm for the specified build plugin.
|
||||
*
|
||||
* @param plugin The build plugin for which to create a realm, must not be {@code null}.
|
||||
* @return The new plugin realm, never {@code null}.
|
||||
*/
|
||||
ClassRealm createPluginRealm( Plugin plugin );
|
||||
|
||||
/**
|
||||
* Creates a new class realm for the specified plugin.
|
||||
*
|
||||
|
|
|
@ -194,16 +194,6 @@ public class DefaultClassRealmManager
|
|||
return "project>" + model.getGroupId() + ":" + model.getArtifactId() + ":" + model.getVersion();
|
||||
}
|
||||
|
||||
public ClassRealm createPluginRealm( Plugin plugin )
|
||||
{
|
||||
if ( plugin == null )
|
||||
{
|
||||
throw new IllegalArgumentException( "plugin missing" );
|
||||
}
|
||||
|
||||
return createRealm( getKey( plugin ), null, null );
|
||||
}
|
||||
|
||||
public ClassRealm createPluginRealm( Plugin plugin, ClassLoader parent, List<String> imports )
|
||||
{
|
||||
if ( plugin == null )
|
||||
|
|
Loading…
Reference in New Issue