o reduce the number of constructors

o deprecate access to the container

git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@774341 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jason van Zyl 2009-05-13 13:20:30 +00:00
parent 835c8f14ef
commit 9e33c65eec
1 changed files with 1 additions and 6 deletions

View File

@ -55,12 +55,6 @@ public class MavenSession
private MavenProject topLevelProject;
// Used by the embedder to verifyPlugin
public MavenSession( MavenExecutionRequest request )
{
this.request = request;
}
public MavenSession( PlexusContainer container, MavenExecutionRequest request, MavenExecutionResult result, MavenProject project )
throws CycleDetectedException, DuplicateProjectException
{
@ -77,6 +71,7 @@ public class MavenSession
this.projects = projects;
}
@Deprecated
public PlexusContainer getContainer()
{
return container;