@Component(role=LifecycleExecutionPlanCalculator.class) public class DefaultLifecycleExecutionPlanCalculator extends Object implements LifecycleExecutionPlanCalculator
| Constructor and Description | 
|---|
DefaultLifecycleExecutionPlanCalculator()  | 
DefaultLifecycleExecutionPlanCalculator(BuildPluginManager pluginManager,
                                                                              DefaultLifecycles defaultLifeCycles,
                                                                              MojoDescriptorCreator mojoDescriptorCreator,
                                                                              LifecyclePluginResolver lifecyclePluginResolver,
                                                                              DefaultSchedules defaultSchedules)  | 
| Modifier and Type | Method and Description | 
|---|---|
MavenExecutionPlan | 
calculateExecutionPlan(MavenSession session,
                                            MavenProject project,
                                            List<Object> tasks)  | 
MavenExecutionPlan | 
calculateExecutionPlan(MavenSession session,
                                            MavenProject project,
                                            List<Object> tasks,
                                            boolean setup)  | 
void | 
calculateForkedExecutions(MojoExecution mojoExecution,
                                                  MavenSession session)  | 
List<MojoExecution> | 
calculateMojoExecutions(MavenSession session,
                                              MavenProject project,
                                              List<Object> tasks)  | 
void | 
setupMojoExecution(MavenSession session,
                                    MavenProject project,
                                    MojoExecution mojoExecution)  | 
public DefaultLifecycleExecutionPlanCalculator()
public DefaultLifecycleExecutionPlanCalculator(BuildPluginManager pluginManager, DefaultLifecycles defaultLifeCycles, MojoDescriptorCreator mojoDescriptorCreator, LifecyclePluginResolver lifecyclePluginResolver, DefaultSchedules defaultSchedules)
public MavenExecutionPlan calculateExecutionPlan(MavenSession session, MavenProject project, List<Object> tasks, boolean setup) throws PluginNotFoundException, PluginResolutionException, LifecyclePhaseNotFoundException, PluginDescriptorParsingException, MojoNotFoundException, InvalidPluginDescriptorException, NoPluginFoundForPrefixException, LifecycleNotFoundException, PluginVersionResolutionException
calculateExecutionPlan in interface LifecycleExecutionPlanCalculatorPluginNotFoundExceptionPluginResolutionExceptionLifecyclePhaseNotFoundExceptionPluginDescriptorParsingExceptionMojoNotFoundExceptionInvalidPluginDescriptorExceptionNoPluginFoundForPrefixExceptionLifecycleNotFoundExceptionPluginVersionResolutionExceptionpublic MavenExecutionPlan calculateExecutionPlan(MavenSession session, MavenProject project, List<Object> tasks) throws PluginNotFoundException, PluginResolutionException, LifecyclePhaseNotFoundException, PluginDescriptorParsingException, MojoNotFoundException, InvalidPluginDescriptorException, NoPluginFoundForPrefixException, LifecycleNotFoundException, PluginVersionResolutionException
calculateExecutionPlan in interface LifecycleExecutionPlanCalculatorPluginNotFoundExceptionPluginResolutionExceptionLifecyclePhaseNotFoundExceptionPluginDescriptorParsingExceptionMojoNotFoundExceptionInvalidPluginDescriptorExceptionNoPluginFoundForPrefixExceptionLifecycleNotFoundExceptionPluginVersionResolutionExceptionpublic void setupMojoExecution(MavenSession session, MavenProject project, MojoExecution mojoExecution) throws PluginNotFoundException, PluginResolutionException, PluginDescriptorParsingException, MojoNotFoundException, InvalidPluginDescriptorException, NoPluginFoundForPrefixException, LifecyclePhaseNotFoundException, LifecycleNotFoundException, PluginVersionResolutionException
setupMojoExecution in interface LifecycleExecutionPlanCalculatorPluginNotFoundExceptionPluginResolutionExceptionPluginDescriptorParsingExceptionMojoNotFoundExceptionInvalidPluginDescriptorExceptionNoPluginFoundForPrefixExceptionLifecyclePhaseNotFoundExceptionLifecycleNotFoundExceptionPluginVersionResolutionExceptionpublic List<MojoExecution> calculateMojoExecutions(MavenSession session, MavenProject project, List<Object> tasks) throws PluginNotFoundException, PluginResolutionException, PluginDescriptorParsingException, MojoNotFoundException, NoPluginFoundForPrefixException, InvalidPluginDescriptorException, PluginVersionResolutionException, LifecyclePhaseNotFoundException
public void calculateForkedExecutions(MojoExecution mojoExecution, MavenSession session) throws MojoNotFoundException, PluginNotFoundException, PluginResolutionException, PluginDescriptorParsingException, NoPluginFoundForPrefixException, InvalidPluginDescriptorException, LifecyclePhaseNotFoundException, LifecycleNotFoundException, PluginVersionResolutionException
calculateForkedExecutions in interface LifecycleExecutionPlanCalculatorMojoNotFoundExceptionPluginNotFoundExceptionPluginResolutionExceptionPluginDescriptorParsingExceptionNoPluginFoundForPrefixExceptionInvalidPluginDescriptorExceptionLifecyclePhaseNotFoundExceptionLifecycleNotFoundExceptionPluginVersionResolutionExceptionCopyright © 2001–2013 The Apache Software Foundation. All rights reserved.