org.apache.maven

Class DefaultMaven

public class DefaultMaven extends AbstractLogEnabled implements Maven, Contextualizable

Version: $Id: DefaultMaven.java 386445 2006-03-16 20:00:18Z jdcasey $

Author: Jason van Zyl

Field Summary
protected PlexusContainercontainer
protected ErrorDiagnosticserrorDiagnostics
protected LifecycleExecutorlifecycleExecutor
protected MavenProjectBuilderprojectBuilder
protected RuntimeInformationruntimeInformation
Method Summary
voidcontextualize(Context context)
protected MavenSessioncreateSession(MavenExecutionRequest request, ReactorManager rpm)
voidexecute(MavenExecutionRequest request)
protected static StringformatTime(long ms)
MavenProjectgetProject(File pom, ArtifactRepository localRepository, Settings settings, ProfileManager globalProfileManager)
protected voidline()
protected voidlogError(Exception e, boolean showErrors)
protected voidlogFailure(BuildFailureException e, boolean showErrors)
protected voidlogFatal(Throwable error)
protected voidlogSuccess(ReactorManager rm)
protected voidstats(Date start)

Field Detail

container

protected PlexusContainer container

errorDiagnostics

protected ErrorDiagnostics errorDiagnostics

lifecycleExecutor

protected LifecycleExecutor lifecycleExecutor

projectBuilder

protected MavenProjectBuilder projectBuilder

runtimeInformation

protected RuntimeInformation runtimeInformation

Method Detail

contextualize

public void contextualize(Context context)

createSession

protected MavenSession createSession(MavenExecutionRequest request, ReactorManager rpm)

execute

public void execute(MavenExecutionRequest request)

formatTime

protected static String formatTime(long ms)

getProject

public MavenProject getProject(File pom, ArtifactRepository localRepository, Settings settings, ProfileManager globalProfileManager)

line

protected void line()

logError

protected void logError(Exception e, boolean showErrors)

logFailure

protected void logFailure(BuildFailureException e, boolean showErrors)

logFatal

protected void logFatal(Throwable error)

logSuccess

protected void logSuccess(ReactorManager rm)

stats

protected void stats(Date start)
Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.