org.apache.maven.execution
Class MavenSession
java.lang.Object
org.apache.maven.execution.MavenSession
public class MavenSession
- extends Object
- Version:
- $Id: MavenSession.java 688884 2008-08-25 21:11:19Z jdcasey $
- Author:
- Jason van Zyl
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,
Settings settings,
ArtifactRepository localRepository,
EventDispatcher eventDispatcher,
ReactorManager reactorManager,
List goals,
String executionRootDir,
Properties executionProperties,
Date startTime)
getPluginContext
public Map getPluginContext(PluginDescriptor pluginDescriptor,
MavenProject project)
getContainer
public org.codehaus.plexus.PlexusContainer getContainer()
getLocalRepository
public 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 EventDispatcher getEventDispatcher()
getSettings
public Settings getSettings()
getSortedProjects
public List getSortedProjects()
getExecutionRootDirectory
public String getExecutionRootDirectory()
setUsingPOMsFromFilesystem
public void setUsingPOMsFromFilesystem(boolean usingPOMsFromFilesystem)
isUsingPOMsFromFilesystem
public boolean isUsingPOMsFromFilesystem()
getStartTime
public Date getStartTime()
setCurrentProject
public void setCurrentProject(MavenProject currentProject)
getCurrentProject
public MavenProject getCurrentProject()
- Return the current project for use in a mojo execution.
Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.