org.apache.maven.execution
Class MavenSession
java.lang.Object
org.apache.maven.execution.MavenSession
- public class MavenSession
- extends Object
- Version:
- $Id: MavenSession.java 320797 2005-10-13 16:36:54Z brett $
- Author:
- Jason van Zyl
Constructor Summary |
MavenSession(org.codehaus.plexus.PlexusContainer container,
org.apache.maven.settings.Settings settings,
org.apache.maven.artifact.repository.ArtifactRepository localRepository,
org.apache.maven.monitor.event.EventDispatcher eventDispatcher,
ReactorManager reactorManager,
List goals,
String executionRootDir,
Properties executionProperties,
Date startTime)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MavenSession
public MavenSession(org.codehaus.plexus.PlexusContainer container,
org.apache.maven.settings.Settings settings,
org.apache.maven.artifact.repository.ArtifactRepository localRepository,
org.apache.maven.monitor.event.EventDispatcher eventDispatcher,
ReactorManager reactorManager,
List goals,
String executionRootDir,
Properties executionProperties,
Date startTime)
getPluginContext
public Map getPluginContext(org.apache.maven.plugin.descriptor.PluginDescriptor pluginDescriptor,
org.apache.maven.project.MavenProject project)
getContainer
public org.codehaus.plexus.PlexusContainer getContainer()
getLocalRepository
public org.apache.maven.artifact.repository.ArtifactRepository getLocalRepository()
getGoals
public List getGoals()
getExecutionProperties
public Properties getExecutionProperties()
lookup
public Object lookup(String role)
throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
- Throws:
org.codehaus.plexus.component.repository.exception.ComponentLookupException
lookup
public Object lookup(String role,
String roleHint)
throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
- Throws:
org.codehaus.plexus.component.repository.exception.ComponentLookupException
lookupList
public List lookupList(String role)
throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
- Throws:
org.codehaus.plexus.component.repository.exception.ComponentLookupException
lookupMap
public Map lookupMap(String role)
throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
- Throws:
org.codehaus.plexus.component.repository.exception.ComponentLookupException
getEventDispatcher
public org.apache.maven.monitor.event.EventDispatcher getEventDispatcher()
getSettings
public org.apache.maven.settings.Settings getSettings()
getSortedProjects
public List getSortedProjects()
getExecutionRootDirectory
public String getExecutionRootDirectory()
setUsingPOMsFromFilesystem
public void setUsingPOMsFromFilesystem(boolean usingPOMsFromFilesystem)
isUsingPOMsFromFilesystem
public boolean isUsingPOMsFromFilesystem()
getStartTime
public Date getStartTime()
Copyright 2001-2006 Apache Software Foundation. All Rights Reserved.