Package org.apache.maven.lifecycle
Interface LifecycleExecutor
- All Known Implementing Classes:
- DefaultLifecycleExecutor
public interface LifecycleExecutor
A facade that provides lifecycle services to components outside Maven core.
- 
Field SummaryFields
- 
Method SummaryModifier and TypeMethodDescriptioncalculateExecutionPlan(MavenSession session, boolean setup, String... tasks) calculateExecutionPlan(MavenSession session, String... tasks) voidcalculateForkedExecutions(MojoExecution mojoExecution, MavenSession session) voidexecute(MavenSession session) executeForkedExecutions(MojoExecution mojoExecution, MavenSession session) getPluginsBoundByDefaultToAllLifecycles(String packaging) 
- 
Field Details- 
ROLEDeprecated.
 
- 
- 
Method Details- 
getPluginsBoundByDefaultToAllLifecycles- Returns:
- The plugins bound to the lifecycles of the specified packaging or nullif the packaging is unknown.
 
- 
calculateExecutionPlanMavenExecutionPlan calculateExecutionPlan(MavenSession session, String... tasks) throws PluginNotFoundException, PluginResolutionException, PluginDescriptorParsingException, MojoNotFoundException, NoPluginFoundForPrefixException, InvalidPluginDescriptorException, PluginManagerException, LifecyclePhaseNotFoundException, LifecycleNotFoundException, PluginVersionResolutionException 
- 
calculateExecutionPlanMavenExecutionPlan calculateExecutionPlan(MavenSession session, boolean setup, String... tasks) throws PluginNotFoundException, PluginResolutionException, PluginDescriptorParsingException, MojoNotFoundException, NoPluginFoundForPrefixException, InvalidPluginDescriptorException, PluginManagerException, LifecyclePhaseNotFoundException, LifecycleNotFoundException, PluginVersionResolutionException 
- 
execute
- 
calculateForkedExecutionsvoid calculateForkedExecutions(MojoExecution mojoExecution, MavenSession session) throws MojoNotFoundException, PluginNotFoundException, PluginResolutionException, PluginDescriptorParsingException, NoPluginFoundForPrefixException, InvalidPluginDescriptorException, LifecyclePhaseNotFoundException, LifecycleNotFoundException, PluginVersionResolutionException 
- 
executeForkedExecutionsList<MavenProject> executeForkedExecutions(MojoExecution mojoExecution, MavenSession session) throws LifecycleExecutionException - Throws:
- LifecycleExecutionException
 
 
-