mirror of https://github.com/apache/maven.git
o Restored methods for backward compat (e.g. with maven-enforcer-plugin)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@804403 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e0c8417db5
commit
828db37251
|
@ -34,6 +34,7 @@ import org.apache.maven.project.MavenProject;
|
||||||
import org.apache.maven.project.ProjectBuildingRequest;
|
import org.apache.maven.project.ProjectBuildingRequest;
|
||||||
import org.apache.maven.settings.Settings;
|
import org.apache.maven.settings.Settings;
|
||||||
import org.codehaus.plexus.PlexusContainer;
|
import org.codehaus.plexus.PlexusContainer;
|
||||||
|
import org.codehaus.plexus.component.repository.exception.ComponentLookupException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Jason van Zyl
|
* @author Jason van Zyl
|
||||||
|
@ -102,6 +103,34 @@ public class MavenSession
|
||||||
return container;
|
return container;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Deprecated
|
||||||
|
public Object lookup( String role )
|
||||||
|
throws ComponentLookupException
|
||||||
|
{
|
||||||
|
return container.lookup( role );
|
||||||
|
}
|
||||||
|
|
||||||
|
@Deprecated
|
||||||
|
public Object lookup( String role, String roleHint )
|
||||||
|
throws ComponentLookupException
|
||||||
|
{
|
||||||
|
return container.lookup( role, roleHint );
|
||||||
|
}
|
||||||
|
|
||||||
|
@Deprecated
|
||||||
|
public List lookupList( String role )
|
||||||
|
throws ComponentLookupException
|
||||||
|
{
|
||||||
|
return container.lookupList( role );
|
||||||
|
}
|
||||||
|
|
||||||
|
@Deprecated
|
||||||
|
public Map lookupMap( String role )
|
||||||
|
throws ComponentLookupException
|
||||||
|
{
|
||||||
|
return container.lookupMap( role );
|
||||||
|
}
|
||||||
|
|
||||||
public RepositoryCache getRepositoryCache()
|
public RepositoryCache getRepositoryCache()
|
||||||
{
|
{
|
||||||
return request.getRepositoryCache();
|
return request.getRepositoryCache();
|
||||||
|
|
Loading…
Reference in New Issue