public class LifecycleExecutionPlanCalculatorStub extends Object implements org.apache.maven.lifecycle.internal.LifecycleExecutionPlanCalculator
| Modifier and Type | Field and Description |
|---|---|
static MojoDescriptor |
CLEAN |
static MojoDescriptor |
COMPILE |
static MojoDescriptor |
INITIALIZE |
static MojoDescriptor |
INSTALL |
static MojoDescriptor |
PACKAGE |
static MojoDescriptor |
POST_CLEAN |
static MojoDescriptor |
POST_SITE |
static MojoDescriptor |
PRE_CLEAN |
static MojoDescriptor |
PRE_SITE |
static MojoDescriptor |
PROCESS_RESOURCES |
static MojoDescriptor |
PROCESS_TEST_RESOURCES |
static MojoDescriptor |
SITE |
static MojoDescriptor |
SITE_DEPLOY |
static MojoDescriptor |
TEST |
static MojoDescriptor |
TEST_COMPILE |
static MojoDescriptor |
VALIDATE |
| Constructor and Description |
|---|
LifecycleExecutionPlanCalculatorStub() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.maven.lifecycle.MavenExecutionPlan |
calculateExecutionPlan(org.apache.maven.execution.MavenSession session,
org.apache.maven.project.MavenProject project,
List<Object> tasks) |
org.apache.maven.lifecycle.MavenExecutionPlan |
calculateExecutionPlan(org.apache.maven.execution.MavenSession session,
org.apache.maven.project.MavenProject project,
List<Object> tasks,
boolean setup) |
void |
calculateForkedExecutions(org.apache.maven.plugin.MojoExecution mojoExecution,
org.apache.maven.execution.MavenSession session) |
static MojoDescriptor |
createMojoDescriptor(String phaseName) |
static MojoDescriptor |
createMojoDescriptor(String phaseName,
boolean threadSafe) |
int |
getNumberOfExceutions(org.apache.maven.lifecycle.internal.ProjectBuildList projectBuildList)
Deprecated.
instead use
getNumberOfExecutions(ProjectBuildList) |
int |
getNumberOfExecutions(org.apache.maven.lifecycle.internal.ProjectBuildList projectBuildList) |
static org.apache.maven.lifecycle.MavenExecutionPlan |
getProjectAExceutionPlan() |
static org.apache.maven.lifecycle.MavenExecutionPlan |
getProjectBExecutionPlan() |
static Set<String> |
getScopes() |
void |
setupMojoExecution(org.apache.maven.execution.MavenSession session,
org.apache.maven.project.MavenProject project,
org.apache.maven.plugin.MojoExecution mojoExecution) |
public static final MojoDescriptor PRE_CLEAN
public static final MojoDescriptor CLEAN
public static final MojoDescriptor POST_CLEAN
public static final MojoDescriptor VALIDATE
public static final MojoDescriptor INITIALIZE
public static final MojoDescriptor TEST_COMPILE
public static final MojoDescriptor PROCESS_TEST_RESOURCES
public static final MojoDescriptor PROCESS_RESOURCES
public static final MojoDescriptor COMPILE
public static final MojoDescriptor TEST
public static final MojoDescriptor PACKAGE
public static final MojoDescriptor INSTALL
public static final MojoDescriptor PRE_SITE
public static final MojoDescriptor SITE
public static final MojoDescriptor POST_SITE
public static final MojoDescriptor SITE_DEPLOY
public LifecycleExecutionPlanCalculatorStub()
@Deprecated public int getNumberOfExceutions(org.apache.maven.lifecycle.internal.ProjectBuildList projectBuildList) throws org.apache.maven.plugin.InvalidPluginDescriptorException, org.apache.maven.plugin.version.PluginVersionResolutionException, org.apache.maven.plugin.PluginDescriptorParsingException, org.apache.maven.plugin.prefix.NoPluginFoundForPrefixException, org.apache.maven.plugin.MojoNotFoundException, org.apache.maven.plugin.PluginNotFoundException, org.apache.maven.plugin.PluginResolutionException, org.apache.maven.lifecycle.LifecyclePhaseNotFoundException, org.apache.maven.lifecycle.LifecycleNotFoundException
getNumberOfExecutions(ProjectBuildList)org.apache.maven.plugin.InvalidPluginDescriptorExceptionorg.apache.maven.plugin.version.PluginVersionResolutionExceptionorg.apache.maven.plugin.PluginDescriptorParsingExceptionorg.apache.maven.plugin.prefix.NoPluginFoundForPrefixExceptionorg.apache.maven.plugin.MojoNotFoundExceptionorg.apache.maven.plugin.PluginNotFoundExceptionorg.apache.maven.plugin.PluginResolutionExceptionorg.apache.maven.lifecycle.LifecyclePhaseNotFoundExceptionorg.apache.maven.lifecycle.LifecycleNotFoundExceptionpublic int getNumberOfExecutions(org.apache.maven.lifecycle.internal.ProjectBuildList projectBuildList)
throws org.apache.maven.plugin.InvalidPluginDescriptorException,
org.apache.maven.plugin.version.PluginVersionResolutionException,
org.apache.maven.plugin.PluginDescriptorParsingException,
org.apache.maven.plugin.prefix.NoPluginFoundForPrefixException,
org.apache.maven.plugin.MojoNotFoundException,
org.apache.maven.plugin.PluginNotFoundException,
org.apache.maven.plugin.PluginResolutionException,
org.apache.maven.lifecycle.LifecyclePhaseNotFoundException,
org.apache.maven.lifecycle.LifecycleNotFoundException
org.apache.maven.plugin.InvalidPluginDescriptorExceptionorg.apache.maven.plugin.version.PluginVersionResolutionExceptionorg.apache.maven.plugin.PluginDescriptorParsingExceptionorg.apache.maven.plugin.prefix.NoPluginFoundForPrefixExceptionorg.apache.maven.plugin.MojoNotFoundExceptionorg.apache.maven.plugin.PluginNotFoundExceptionorg.apache.maven.plugin.PluginResolutionExceptionorg.apache.maven.lifecycle.LifecyclePhaseNotFoundExceptionorg.apache.maven.lifecycle.LifecycleNotFoundExceptionpublic void calculateForkedExecutions(org.apache.maven.plugin.MojoExecution mojoExecution,
org.apache.maven.execution.MavenSession session)
throws org.apache.maven.plugin.MojoNotFoundException,
org.apache.maven.plugin.PluginNotFoundException,
org.apache.maven.plugin.PluginResolutionException,
org.apache.maven.plugin.PluginDescriptorParsingException,
org.apache.maven.plugin.prefix.NoPluginFoundForPrefixException,
org.apache.maven.plugin.InvalidPluginDescriptorException,
org.apache.maven.lifecycle.LifecyclePhaseNotFoundException,
org.apache.maven.lifecycle.LifecycleNotFoundException,
org.apache.maven.plugin.version.PluginVersionResolutionException
calculateForkedExecutions in interface org.apache.maven.lifecycle.internal.LifecycleExecutionPlanCalculatororg.apache.maven.plugin.MojoNotFoundExceptionorg.apache.maven.plugin.PluginNotFoundExceptionorg.apache.maven.plugin.PluginResolutionExceptionorg.apache.maven.plugin.PluginDescriptorParsingExceptionorg.apache.maven.plugin.prefix.NoPluginFoundForPrefixExceptionorg.apache.maven.plugin.InvalidPluginDescriptorExceptionorg.apache.maven.lifecycle.LifecyclePhaseNotFoundExceptionorg.apache.maven.lifecycle.LifecycleNotFoundExceptionorg.apache.maven.plugin.version.PluginVersionResolutionExceptionpublic org.apache.maven.lifecycle.MavenExecutionPlan calculateExecutionPlan(org.apache.maven.execution.MavenSession session,
org.apache.maven.project.MavenProject project,
List<Object> tasks,
boolean setup)
throws org.apache.maven.plugin.PluginNotFoundException,
org.apache.maven.plugin.PluginResolutionException,
org.apache.maven.lifecycle.LifecyclePhaseNotFoundException,
org.apache.maven.plugin.PluginDescriptorParsingException,
org.apache.maven.plugin.MojoNotFoundException,
org.apache.maven.plugin.InvalidPluginDescriptorException,
org.apache.maven.plugin.prefix.NoPluginFoundForPrefixException,
org.apache.maven.lifecycle.LifecycleNotFoundException,
org.apache.maven.plugin.version.PluginVersionResolutionException
calculateExecutionPlan in interface org.apache.maven.lifecycle.internal.LifecycleExecutionPlanCalculatororg.apache.maven.plugin.PluginNotFoundExceptionorg.apache.maven.plugin.PluginResolutionExceptionorg.apache.maven.lifecycle.LifecyclePhaseNotFoundExceptionorg.apache.maven.plugin.PluginDescriptorParsingExceptionorg.apache.maven.plugin.MojoNotFoundExceptionorg.apache.maven.plugin.InvalidPluginDescriptorExceptionorg.apache.maven.plugin.prefix.NoPluginFoundForPrefixExceptionorg.apache.maven.lifecycle.LifecycleNotFoundExceptionorg.apache.maven.plugin.version.PluginVersionResolutionExceptionpublic org.apache.maven.lifecycle.MavenExecutionPlan calculateExecutionPlan(org.apache.maven.execution.MavenSession session,
org.apache.maven.project.MavenProject project,
List<Object> tasks)
throws org.apache.maven.plugin.PluginNotFoundException,
org.apache.maven.plugin.PluginResolutionException,
org.apache.maven.lifecycle.LifecyclePhaseNotFoundException,
org.apache.maven.plugin.PluginDescriptorParsingException,
org.apache.maven.plugin.MojoNotFoundException,
org.apache.maven.plugin.InvalidPluginDescriptorException,
org.apache.maven.plugin.prefix.NoPluginFoundForPrefixException,
org.apache.maven.lifecycle.LifecycleNotFoundException,
org.apache.maven.plugin.version.PluginVersionResolutionException
calculateExecutionPlan in interface org.apache.maven.lifecycle.internal.LifecycleExecutionPlanCalculatororg.apache.maven.plugin.PluginNotFoundExceptionorg.apache.maven.plugin.PluginResolutionExceptionorg.apache.maven.lifecycle.LifecyclePhaseNotFoundExceptionorg.apache.maven.plugin.PluginDescriptorParsingExceptionorg.apache.maven.plugin.MojoNotFoundExceptionorg.apache.maven.plugin.InvalidPluginDescriptorExceptionorg.apache.maven.plugin.prefix.NoPluginFoundForPrefixExceptionorg.apache.maven.lifecycle.LifecycleNotFoundExceptionorg.apache.maven.plugin.version.PluginVersionResolutionExceptionpublic void setupMojoExecution(org.apache.maven.execution.MavenSession session,
org.apache.maven.project.MavenProject project,
org.apache.maven.plugin.MojoExecution mojoExecution)
throws org.apache.maven.plugin.PluginNotFoundException,
org.apache.maven.plugin.PluginResolutionException,
org.apache.maven.plugin.PluginDescriptorParsingException,
org.apache.maven.plugin.MojoNotFoundException,
org.apache.maven.plugin.InvalidPluginDescriptorException,
org.apache.maven.plugin.prefix.NoPluginFoundForPrefixException,
org.apache.maven.lifecycle.LifecyclePhaseNotFoundException,
org.apache.maven.lifecycle.LifecycleNotFoundException,
org.apache.maven.plugin.version.PluginVersionResolutionException
setupMojoExecution in interface org.apache.maven.lifecycle.internal.LifecycleExecutionPlanCalculatororg.apache.maven.plugin.PluginNotFoundExceptionorg.apache.maven.plugin.PluginResolutionExceptionorg.apache.maven.plugin.PluginDescriptorParsingExceptionorg.apache.maven.plugin.MojoNotFoundExceptionorg.apache.maven.plugin.InvalidPluginDescriptorExceptionorg.apache.maven.plugin.prefix.NoPluginFoundForPrefixExceptionorg.apache.maven.lifecycle.LifecyclePhaseNotFoundExceptionorg.apache.maven.lifecycle.LifecycleNotFoundExceptionorg.apache.maven.plugin.version.PluginVersionResolutionExceptionpublic static org.apache.maven.lifecycle.MavenExecutionPlan getProjectAExceutionPlan()
throws org.apache.maven.plugin.PluginNotFoundException,
org.apache.maven.plugin.PluginResolutionException,
org.apache.maven.lifecycle.LifecyclePhaseNotFoundException,
org.apache.maven.plugin.PluginDescriptorParsingException,
org.apache.maven.plugin.MojoNotFoundException,
org.apache.maven.plugin.InvalidPluginDescriptorException,
org.apache.maven.plugin.prefix.NoPluginFoundForPrefixException,
org.apache.maven.lifecycle.LifecycleNotFoundException,
org.apache.maven.plugin.version.PluginVersionResolutionException
org.apache.maven.plugin.PluginNotFoundExceptionorg.apache.maven.plugin.PluginResolutionExceptionorg.apache.maven.lifecycle.LifecyclePhaseNotFoundExceptionorg.apache.maven.plugin.PluginDescriptorParsingExceptionorg.apache.maven.plugin.MojoNotFoundExceptionorg.apache.maven.plugin.InvalidPluginDescriptorExceptionorg.apache.maven.plugin.prefix.NoPluginFoundForPrefixExceptionorg.apache.maven.lifecycle.LifecycleNotFoundExceptionorg.apache.maven.plugin.version.PluginVersionResolutionExceptionpublic static org.apache.maven.lifecycle.MavenExecutionPlan getProjectBExecutionPlan()
throws org.apache.maven.plugin.PluginNotFoundException,
org.apache.maven.plugin.PluginResolutionException,
org.apache.maven.lifecycle.LifecyclePhaseNotFoundException,
org.apache.maven.plugin.PluginDescriptorParsingException,
org.apache.maven.plugin.MojoNotFoundException,
org.apache.maven.plugin.InvalidPluginDescriptorException,
org.apache.maven.plugin.prefix.NoPluginFoundForPrefixException,
org.apache.maven.lifecycle.LifecycleNotFoundException,
org.apache.maven.plugin.version.PluginVersionResolutionException
org.apache.maven.plugin.PluginNotFoundExceptionorg.apache.maven.plugin.PluginResolutionExceptionorg.apache.maven.lifecycle.LifecyclePhaseNotFoundExceptionorg.apache.maven.plugin.PluginDescriptorParsingExceptionorg.apache.maven.plugin.MojoNotFoundExceptionorg.apache.maven.plugin.InvalidPluginDescriptorExceptionorg.apache.maven.plugin.prefix.NoPluginFoundForPrefixExceptionorg.apache.maven.lifecycle.LifecycleNotFoundExceptionorg.apache.maven.plugin.version.PluginVersionResolutionExceptionpublic static MojoDescriptor createMojoDescriptor(String phaseName)
public static MojoDescriptor createMojoDescriptor(String phaseName, boolean threadSafe)
Copyright © 2001–2021 The Apache Software Foundation. All rights reserved.