org.apache.maven.lifecycle.plan
Class DefaultBuildPlanner
java.lang.Object
org.apache.maven.lifecycle.plan.DefaultBuildPlanner
- All Implemented Interfaces:
- BuildPlanner, org.codehaus.plexus.logging.LogEnabled
@Component(role=BuildPlanner.class)
public class DefaultBuildPlanner
- extends java.lang.Object
- implements BuildPlanner, org.codehaus.plexus.logging.LogEnabled
Responsible for creating a plan of execution for a given project and list of tasks. This build plan consists of
MojoBinding instances that carry all the information necessary to execute a mojo, including configuration from the
POM and other sources. NOTE: the build plan may be constructed of a main lifecycle binding-set, plus any number of
lifecycle modifiers and direct-invocation modifiers, to handle cases of forked execution.
- Author:
- jdcasey
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultBuildPlanner
public DefaultBuildPlanner()
constructInitialProjectBuildPlans
public void constructInitialProjectBuildPlans(MavenSession session)
throws LifecycleLoaderException,
LifecycleSpecificationException,
LifecyclePlannerException
- Specified by:
constructInitialProjectBuildPlans in interface BuildPlanner
- Throws:
LifecycleLoaderException
LifecycleSpecificationException
LifecyclePlannerException
constructInitialProjectBuildPlan
public BuildPlan constructInitialProjectBuildPlan(MavenProject project,
MavenSession session)
throws LifecycleLoaderException,
LifecycleSpecificationException,
LifecyclePlannerException
- Specified by:
constructInitialProjectBuildPlan in interface BuildPlanner
- Throws:
LifecycleLoaderException
LifecycleSpecificationException
LifecyclePlannerException
constructBuildPlan
public BuildPlan constructBuildPlan(java.util.List tasks,
MavenProject project,
MavenSession session,
boolean allowUnbindableMojos)
throws LifecycleLoaderException,
LifecycleSpecificationException,
LifecyclePlannerException
- Orchestrates construction of the build plan which will be used by the user of LifecycleExecutor.
- Specified by:
constructBuildPlan in interface BuildPlanner
- Throws:
LifecycleLoaderException
LifecycleSpecificationException
LifecyclePlannerException
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.