public interface LifecycleExecutor
| 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) |
Set<Plugin> |
getPluginsBoundByDefaultToAllLifecycles(String packaging)
Deprecated.
As of Maven 3.4, please use
LifecyclePluginAnalyzer.getLifecycleModel(org.apache.maven.model.Model). |
@Deprecated static final String ROLE
@Deprecated Set<Plugin> getPluginsBoundByDefaultToAllLifecycles(String packaging) throws LifecycleMappingNotFoundException
LifecyclePluginAnalyzer.getLifecycleModel(org.apache.maven.model.Model).MavenExecutionPlan calculateExecutionPlan(MavenSession session, String... tasks) throws PluginNotFoundException, PluginResolutionException, PluginDescriptorParsingException, MojoNotFoundException, NoPluginFoundForPrefixException, InvalidPluginDescriptorException, PluginManagerException, LifecyclePhaseNotFoundException, LifecycleNotFoundException, PluginVersionResolutionException
MavenExecutionPlan calculateExecutionPlan(MavenSession session, boolean setup, String... tasks) throws PluginNotFoundException, PluginResolutionException, PluginDescriptorParsingException, MojoNotFoundException, NoPluginFoundForPrefixException, InvalidPluginDescriptorException, PluginManagerException, LifecyclePhaseNotFoundException, LifecycleNotFoundException, PluginVersionResolutionException
void execute(MavenSession session)
void calculateForkedExecutions(MojoExecution mojoExecution, MavenSession session) throws MojoNotFoundException, PluginNotFoundException, PluginResolutionException, PluginDescriptorParsingException, NoPluginFoundForPrefixException, InvalidPluginDescriptorException, LifecyclePhaseNotFoundException, LifecycleNotFoundException, PluginVersionResolutionException
List<MavenProject> executeForkedExecutions(MojoExecution mojoExecution, MavenSession session) throws LifecycleExecutionException
LifecycleExecutionExceptionCopyright © 2001–2016 The Apache Software Foundation. All rights reserved.