public class MavenSession extends Object implements Cloneable
Constructor and Description |
---|
MavenSession(PlexusContainer container,
MavenExecutionRequest request,
MavenExecutionResult result,
List<MavenProject> projects)
Deprecated.
|
MavenSession(PlexusContainer container,
MavenExecutionRequest request,
MavenExecutionResult result,
MavenProject project)
Deprecated.
|
MavenSession(PlexusContainer container,
RepositorySystemSession repositorySession,
MavenExecutionRequest request,
MavenExecutionResult result) |
MavenSession(PlexusContainer container,
Settings settings,
ArtifactRepository localRepository,
EventDispatcher eventDispatcher,
ReactorManager unused,
List<String> goals,
String executionRootDir,
Properties executionProperties,
Date startTime)
Deprecated.
|
MavenSession(PlexusContainer container,
Settings settings,
ArtifactRepository localRepository,
EventDispatcher eventDispatcher,
ReactorManager unused,
List<String> goals,
String executionRootDir,
Properties executionProperties,
Properties userProperties,
Date startTime)
Deprecated.
|
@Deprecated public MavenSession(PlexusContainer container, MavenExecutionRequest request, MavenExecutionResult result, MavenProject project)
@Deprecated public MavenSession(PlexusContainer container, Settings settings, ArtifactRepository localRepository, EventDispatcher eventDispatcher, ReactorManager unused, List<String> goals, String executionRootDir, Properties executionProperties, Date startTime)
@Deprecated public MavenSession(PlexusContainer container, Settings settings, ArtifactRepository localRepository, EventDispatcher eventDispatcher, ReactorManager unused, List<String> goals, String executionRootDir, Properties executionProperties, Properties userProperties, Date startTime)
@Deprecated public MavenSession(PlexusContainer container, MavenExecutionRequest request, MavenExecutionResult result, List<MavenProject> projects)
public MavenSession(PlexusContainer container, RepositorySystemSession repositorySession, MavenExecutionRequest request, MavenExecutionResult result)
public void setProjects(List<MavenProject> projects)
@Deprecated public PlexusContainer getContainer()
@Deprecated public Object lookup(String role) throws ComponentLookupException
ComponentLookupException
@Deprecated public Object lookup(String role, String roleHint) throws ComponentLookupException
ComponentLookupException
@Deprecated public List<Object> lookupList(String role) throws ComponentLookupException
ComponentLookupException
@Deprecated public Map<String,Object> lookupMap(String role) throws ComponentLookupException
ComponentLookupException
public ArtifactRepository getLocalRepository()
public Properties getUserProperties()
-Dkey=value
parameter on the command
line.null
.public Properties getSystemProperties()
System.getProperties()
and environment variables.null
.@Deprecated public Properties getExecutionProperties()
public Settings getSettings()
public List<MavenProject> getProjects()
@Deprecated public List<MavenProject> getSortedProjects()
public String getExecutionRootDirectory()
@Deprecated public boolean isUsingPOMsFromFilesystem()
public MavenExecutionRequest getRequest()
public void setCurrentProject(MavenProject currentProject)
public MavenProject getCurrentProject()
public ProjectBuildingRequest getProjectBuildingRequest()
public List<String> getPluginGroups()
public boolean isOffline()
public MavenProject getTopLevelProject()
public MavenExecutionResult getResult()
public Map<String,Object> getPluginContext(PluginDescriptor plugin, MavenProject project)
public ProjectDependencyGraph getProjectDependencyGraph()
public void setProjectDependencyGraph(ProjectDependencyGraph projectDependencyGraph)
public String getReactorFailureBehavior()
public MavenSession clone()
@Deprecated public EventDispatcher getEventDispatcher()
public Date getStartTime()
public boolean isParallel()
public void setParallel(boolean parallel)
public RepositorySystemSession getRepositorySession()
@Deprecated public RepositoryCache getRepositoryCache()
public void setProjectMap(Map<String,MavenProject> projectMap)
public Map<String,MavenProject> getProjectMap()
public List<MavenProject> getAllProjects()
public void setAllProjects(List<MavenProject> allProjects)
Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.