org.apache.maven
Class DefaultMaven
java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
org.apache.maven.DefaultMaven
- All Implemented Interfaces:
- Maven, org.codehaus.plexus.logging.LogEnabled, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
public class DefaultMaven
- extends org.codehaus.plexus.logging.AbstractLogEnabled
- implements Maven, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
- Version:
- $Id: DefaultMaven.java 798706 2009-07-28 20:50:02Z brett $
- Author:
- Jason van Zyl
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
projectBuilder
protected MavenProjectBuilder projectBuilder
lifecycleExecutor
protected LifecycleExecutor lifecycleExecutor
container
protected org.codehaus.plexus.PlexusContainer container
errorDiagnostics
protected ErrorDiagnostics errorDiagnostics
runtimeInformation
protected RuntimeInformation runtimeInformation
DefaultMaven
public DefaultMaven()
execute
public void execute(MavenExecutionRequest request)
throws MavenExecutionException
- Specified by:
execute
in interface Maven
- Throws:
MavenExecutionException
getProject
public MavenProject getProject(File pom,
ArtifactRepository localRepository,
Settings settings,
Properties userProperties,
ProfileManager globalProfileManager)
throws ProjectBuildingException,
ArtifactResolutionException,
ProfileActivationException
- Deprecated. Use
getProject(File, MavenExecutionRequest)
instead.
- Throws:
ProjectBuildingException
ArtifactResolutionException
ProfileActivationException
getProject
public MavenProject getProject(File pom,
MavenExecutionRequest request)
throws ProjectBuildingException,
ArtifactResolutionException,
ProfileActivationException
- Throws:
ProjectBuildingException
ArtifactResolutionException
ProfileActivationException
createSession
protected MavenSession createSession(MavenExecutionRequest request,
ReactorManager rpm)
contextualize
public void contextualize(org.codehaus.plexus.context.Context context)
throws org.codehaus.plexus.context.ContextException
- Specified by:
contextualize
in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
- Throws:
org.codehaus.plexus.context.ContextException
logFatal
protected void logFatal(Throwable error)
logError
protected void logError(Exception e,
boolean showErrors)
logFailure
protected void logFailure(BuildFailureException e,
boolean showErrors)
logSuccess
protected void logSuccess(ReactorManager rm)
stats
protected void stats(Date start)
line
protected void line()
formatTime
protected static String formatTime(long ms)
Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.