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,
org.eclipse.aether.RepositorySystemSession repositorySession,
MavenExecutionRequest request,
MavenExecutionResult result)
Deprecated.
|
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, org.eclipse.aether.RepositorySystemSession repositorySession, MavenExecutionRequest request, MavenExecutionResult result)
@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 void setProjects(List<MavenProject> projects)
public ArtifactRepository getLocalRepository()
public Properties getUserProperties()
-Dkey=value
parameter on the command
line.null
.public Properties getSystemProperties()
System.getProperties()
and environment variables.null
.public Settings getSettings()
public List<MavenProject> getProjects()
public String getExecutionRootDirectory()
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()
public Date getStartTime()
public boolean isParallel()
public void setParallel(boolean parallel)
public org.eclipse.aether.RepositorySystemSession getRepositorySession()
public void setProjectMap(Map<String,MavenProject> projectMap)
@Deprecated public Map<String,MavenProject> getProjectMap()
public List<MavenProject> getAllProjects()
public void setAllProjects(List<MavenProject> allProjects)
@Deprecated public List<MavenProject> getSortedProjects()
@Deprecated public RepositoryCache getRepositoryCache()
@Deprecated public EventDispatcher getEventDispatcher()
@Deprecated public boolean isUsingPOMsFromFilesystem()
@Deprecated public Properties getExecutionProperties()
@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
Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.