org.apache.maven
Class DefaultMaven

java.lang.Object
  extended by org.apache.maven.DefaultMaven
All Implemented Interfaces:
Maven, org.codehaus.plexus.logging.LogEnabled

@Component(role=Maven.class)
public class DefaultMaven
extends java.lang.Object
implements Maven, org.codehaus.plexus.logging.LogEnabled

Version:
$Id: DefaultMaven.java 721627 2008-11-29 04:54:23Z jvanzyl $
Author:
Jason van Zyl

Field Summary
protected  org.codehaus.plexus.PlexusContainer container
           
protected  LifecycleExecutor lifecycleExecutor
           
protected  MavenProjectBuilder projectBuilder
           
protected  RuntimeInformation runtimeInformation
           
 
Fields inherited from interface org.apache.maven.Maven
POMv4, RELEASE_POMv4, ROLE
 
Constructor Summary
DefaultMaven()
           
 
Method Summary
 ReactorManager createReactorManager(MavenExecutionRequest request, MavenExecutionResult result)
           
protected  MavenSession createSession(MavenExecutionRequest request, ReactorManager reactorManager, EventDispatcher dispatcher)
           
 void enableLogging(org.codehaus.plexus.logging.Logger logger)
           
 MavenExecutionResult execute(MavenExecutionRequest request)
           
protected  org.codehaus.plexus.logging.Logger getLogger()
           
protected  java.util.List getProjects(MavenExecutionRequest request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

projectBuilder

@Requirement
protected MavenProjectBuilder projectBuilder

lifecycleExecutor

@Requirement
protected LifecycleExecutor lifecycleExecutor

container

@Requirement
protected org.codehaus.plexus.PlexusContainer container

runtimeInformation

@Requirement
protected RuntimeInformation runtimeInformation
Constructor Detail

DefaultMaven

public DefaultMaven()
Method Detail

createReactorManager

public ReactorManager createReactorManager(MavenExecutionRequest request,
                                           MavenExecutionResult result)
Specified by:
createReactorManager in interface Maven

execute

public MavenExecutionResult execute(MavenExecutionRequest request)
Specified by:
execute in interface Maven

getProjects

protected java.util.List getProjects(MavenExecutionRequest request)
                              throws MavenExecutionException
Throws:
MavenExecutionException

createSession

protected MavenSession createSession(MavenExecutionRequest request,
                                     ReactorManager reactorManager,
                                     EventDispatcher dispatcher)

getLogger

protected org.codehaus.plexus.logging.Logger getLogger()

enableLogging

public void enableLogging(org.codehaus.plexus.logging.Logger logger)
Specified by:
enableLogging in interface org.codehaus.plexus.logging.LogEnabled


Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.