@Component(role=LifecycleExecutor.class) public class DefaultLifecycleExecutor extends Object implements LifecycleExecutor
ROLE| Constructor and Description | 
|---|
| DefaultLifecycleExecutor() | 
| Modifier and Type | Method and Description | 
|---|---|
| MavenExecutionPlan | calculateExecutionPlan(MavenSession session,
                      boolean setup,
                      String... tasks) | 
| MavenExecutionPlan | calculateExecutionPlan(MavenSession session,
                      String... tasks) | 
| void | calculateForkedExecutions(MojoExecution mojoExecution,
                         MavenSession session) | 
| void | execute(MavenSession session) | 
| List<MavenProject> | executeForkedExecutions(MojoExecution mojoExecution,
                       MavenSession session) | 
| Map<String,Lifecycle> | getPhaseToLifecycleMap()Deprecated.  | 
| Set<Plugin> | getPluginsBoundByDefaultToAllLifecycles(String packaging) | 
public void execute(MavenSession session)
execute in interface LifecycleExecutorpublic Set<Plugin> getPluginsBoundByDefaultToAllLifecycles(String packaging)
getPluginsBoundByDefaultToAllLifecycles in interface LifecycleExecutornull if the packaging is
         unknown.@Deprecated public Map<String,Lifecycle> getPhaseToLifecycleMap()
public MavenExecutionPlan calculateExecutionPlan(MavenSession session, boolean setup, String... tasks) throws PluginNotFoundException, PluginResolutionException, PluginDescriptorParsingException, MojoNotFoundException, NoPluginFoundForPrefixException, InvalidPluginDescriptorException, PluginManagerException, LifecyclePhaseNotFoundException, LifecycleNotFoundException, PluginVersionResolutionException
calculateExecutionPlan in interface LifecycleExecutorPluginNotFoundExceptionPluginResolutionExceptionPluginDescriptorParsingExceptionMojoNotFoundExceptionNoPluginFoundForPrefixExceptionInvalidPluginDescriptorExceptionPluginManagerExceptionLifecyclePhaseNotFoundExceptionLifecycleNotFoundExceptionPluginVersionResolutionExceptionpublic MavenExecutionPlan calculateExecutionPlan(MavenSession session, String... tasks) throws PluginNotFoundException, PluginResolutionException, PluginDescriptorParsingException, MojoNotFoundException, NoPluginFoundForPrefixException, InvalidPluginDescriptorException, PluginManagerException, LifecyclePhaseNotFoundException, LifecycleNotFoundException, PluginVersionResolutionException
calculateExecutionPlan in interface LifecycleExecutorPluginNotFoundExceptionPluginResolutionExceptionPluginDescriptorParsingExceptionMojoNotFoundExceptionNoPluginFoundForPrefixExceptionInvalidPluginDescriptorExceptionPluginManagerExceptionLifecyclePhaseNotFoundExceptionLifecycleNotFoundExceptionPluginVersionResolutionExceptionpublic void calculateForkedExecutions(MojoExecution mojoExecution, MavenSession session) throws MojoNotFoundException, PluginNotFoundException, PluginResolutionException, PluginDescriptorParsingException, NoPluginFoundForPrefixException, InvalidPluginDescriptorException, LifecyclePhaseNotFoundException, LifecycleNotFoundException, PluginVersionResolutionException
calculateForkedExecutions in interface LifecycleExecutorMojoNotFoundExceptionPluginNotFoundExceptionPluginResolutionExceptionPluginDescriptorParsingExceptionNoPluginFoundForPrefixExceptionInvalidPluginDescriptorExceptionLifecyclePhaseNotFoundExceptionLifecycleNotFoundExceptionPluginVersionResolutionExceptionpublic List<MavenProject> executeForkedExecutions(MojoExecution mojoExecution, MavenSession session) throws LifecycleExecutionException
executeForkedExecutions in interface LifecycleExecutorLifecycleExecutionExceptionCopyright © 2001–2018 The Apache Software Foundation. All rights reserved.