org.apache.maven.lifecycle
Class DefaultLifecycleExecutor
java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
org.apache.maven.lifecycle.DefaultLifecycleExecutor
- All Implemented Interfaces:
- LifecycleExecutor, org.codehaus.plexus.logging.LogEnabled, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable, org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable
public class DefaultLifecycleExecutor
- extends org.codehaus.plexus.logging.AbstractLogEnabled
- implements LifecycleExecutor, org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
- Version:
- $Id: DefaultLifecycleExecutor.java 799759 2009-07-31 22:19:49Z jdcasey $
- Author:
- Jason van Zyl, Brett Porter
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 |
DefaultLifecycleExecutor
public DefaultLifecycleExecutor()
execute
public void execute(MavenSession session,
ReactorManager rm,
EventDispatcher dispatcher)
throws BuildFailureException,
LifecycleExecutionException
- Execute a task. Each task may be a phase in the lifecycle or the
execution of a mojo.
- Specified by:
execute
in interface LifecycleExecutor
- Parameters:
session
- rm
- dispatcher
-
- Throws:
BuildFailureException
LifecycleExecutionException
line
protected void line()
getPhaseToLifecycleMap
public Map getPhaseToLifecycleMap()
throws LifecycleExecutionException
- Throws:
LifecycleExecutionException
getLifecycles
public List getLifecycles()
- Specified by:
getLifecycles
in interface LifecycleExecutor
initialize
public void initialize()
throws org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException
- Specified by:
initialize
in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable
- Throws:
org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException
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
Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.