org.apache.maven.lifecycle.plan
Interface BuildPlanner
- All Known Implementing Classes:
- DefaultBuildPlanner
public interface BuildPlanner
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
constructBuildPlan
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.
- Throws:
LifecycleLoaderException
LifecycleSpecificationException
LifecyclePlannerException
constructInitialProjectBuildPlans
void constructInitialProjectBuildPlans(MavenSession session)
throws LifecycleLoaderException,
LifecycleSpecificationException,
LifecyclePlannerException
- Throws:
LifecycleLoaderException
LifecycleSpecificationException
LifecyclePlannerException
constructInitialProjectBuildPlan
BuildPlan constructInitialProjectBuildPlan(MavenProject project,
MavenSession session)
throws LifecycleLoaderException,
LifecycleSpecificationException,
LifecyclePlannerException
- Throws:
LifecycleLoaderException
LifecycleSpecificationException
LifecyclePlannerException
Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.