@Component(role=LifecycleExecutionPlanCalculator.class) public class DefaultLifecycleExecutionPlanCalculator extends Object implements LifecycleExecutionPlanCalculator
Constructor and Description |
---|
DefaultLifecycleExecutionPlanCalculator() |
DefaultLifecycleExecutionPlanCalculator(BuildPluginManager pluginManager,
DefaultLifecycles defaultLifeCycles,
MojoDescriptorCreator mojoDescriptorCreator,
LifecyclePluginResolver lifecyclePluginResolver) |
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)
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 LifecycleExecutionPlanCalculator
PluginNotFoundException
PluginResolutionException
LifecyclePhaseNotFoundException
PluginDescriptorParsingException
MojoNotFoundException
InvalidPluginDescriptorException
NoPluginFoundForPrefixException
LifecycleNotFoundException
PluginVersionResolutionException
public MavenExecutionPlan calculateExecutionPlan(MavenSession session, MavenProject project, List<Object> tasks) throws PluginNotFoundException, PluginResolutionException, LifecyclePhaseNotFoundException, PluginDescriptorParsingException, MojoNotFoundException, InvalidPluginDescriptorException, NoPluginFoundForPrefixException, LifecycleNotFoundException, PluginVersionResolutionException
calculateExecutionPlan
in interface LifecycleExecutionPlanCalculator
PluginNotFoundException
PluginResolutionException
LifecyclePhaseNotFoundException
PluginDescriptorParsingException
MojoNotFoundException
InvalidPluginDescriptorException
NoPluginFoundForPrefixException
LifecycleNotFoundException
PluginVersionResolutionException
public void setupMojoExecution(MavenSession session, MavenProject project, MojoExecution mojoExecution) throws PluginNotFoundException, PluginResolutionException, PluginDescriptorParsingException, MojoNotFoundException, InvalidPluginDescriptorException, NoPluginFoundForPrefixException, LifecyclePhaseNotFoundException, LifecycleNotFoundException, PluginVersionResolutionException
setupMojoExecution
in interface LifecycleExecutionPlanCalculator
PluginNotFoundException
PluginResolutionException
PluginDescriptorParsingException
MojoNotFoundException
InvalidPluginDescriptorException
NoPluginFoundForPrefixException
LifecyclePhaseNotFoundException
LifecycleNotFoundException
PluginVersionResolutionException
public 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 LifecycleExecutionPlanCalculator
MojoNotFoundException
PluginNotFoundException
PluginResolutionException
PluginDescriptorParsingException
NoPluginFoundForPrefixException
InvalidPluginDescriptorException
LifecyclePhaseNotFoundException
LifecycleNotFoundException
PluginVersionResolutionException
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.