mirror of https://github.com/apache/maven.git
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:
parent
835c8f14ef
commit
9e33c65eec
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue