Modifier and Type | Method and Description |
---|---|
MojoExecution |
MojoExecutionEvent.getExecution() |
MojoExecution |
ExecutionEvent.getMojoExecution()
Gets the current mojo execution (if any).
|
Modifier and Type | Method and Description |
---|---|
List<MojoExecution> |
ProjectExecutionEvent.getExecutionPlan() |
Constructor and Description |
---|
MojoExecutionEvent(MavenSession session,
MavenProject project,
MojoExecution mojoExecution,
Mojo mojo) |
MojoExecutionEvent(MavenSession session,
MavenProject project,
MojoExecution mojoExecution,
Mojo mojo,
Throwable cause) |
Constructor and Description |
---|
ProjectExecutionEvent(MavenSession session,
MavenProject project,
List<MojoExecution> executionPlan) |
ProjectExecutionEvent(MavenSession session,
MavenProject project,
List<MojoExecution> executionPlan,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
MojoExecution |
DefaultMojoExecution.getDelegate() |
Constructor and Description |
---|
DefaultMojoExecution(MojoExecution delegate) |
Modifier and Type | Method and Description |
---|---|
Map<String,List<MojoExecution>> |
LifecycleMappingDelegate.calculateLifecycleMappings(MavenSession session,
MavenProject project,
Lifecycle lifecycle,
String lifecyclePhase) |
List<MojoExecution> |
MavenExecutionPlan.getExecutions()
Deprecated.
|
List<MojoExecution> |
MavenExecutionPlan.getMojoExecutions() |
Modifier and Type | Method and Description |
---|---|
void |
DefaultLifecycleExecutor.calculateForkedExecutions(MojoExecution mojoExecution,
MavenSession session) |
void |
LifecycleExecutor.calculateForkedExecutions(MojoExecution mojoExecution,
MavenSession session) |
void |
MojoExecutionConfigurator.configure(MavenProject project,
MojoExecution mojoExecution,
boolean allowPluginLevelConfig)
Create the MojoExecution configuration based on configuration for a Mojo in the MavenProject and the
default configuration for the Mojo from the containing plugin's plugin.xml descriptor.
|
List<MavenProject> |
DefaultLifecycleExecutor.executeForkedExecutions(MojoExecution mojoExecution,
MavenSession session) |
List<MavenProject> |
LifecycleExecutor.executeForkedExecutions(MojoExecution mojoExecution,
MavenSession session) |
Constructor and Description |
---|
LifecycleExecutionException(MojoExecution execution,
MavenProject project,
Throwable cause) |
LifecycleExecutionException(String message,
MojoExecution execution,
MavenProject project) |
LifecycleExecutionException(String message,
MojoExecution execution,
MavenProject project,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
MojoExecution |
ExecutionPlanItem.getMojoExecution() |
Modifier and Type | Method and Description |
---|---|
Map<String,List<MojoExecution>> |
DefaultLifecycleMappingDelegate.calculateLifecycleMappings(MavenSession session,
MavenProject project,
Lifecycle lifecycle,
String lifecyclePhase) |
List<MojoExecution> |
DefaultLifecycleExecutionPlanCalculator.calculateMojoExecutions(MavenSession session,
MavenProject project,
List<Object> tasks) |
Modifier and Type | Method and Description |
---|---|
void |
LifecycleExecutionPlanCalculator.calculateForkedExecutions(MojoExecution mojoExecution,
MavenSession session) |
void |
DefaultLifecycleExecutionPlanCalculator.calculateForkedExecutions(MojoExecution mojoExecution,
MavenSession session) |
void |
DefaultMojoExecutionConfigurator.configure(MavenProject project,
MojoExecution mojoExecution,
boolean allowPluginLevelConfig) |
List<MavenProject> |
MojoExecutor.executeForkedExecutions(MojoExecution mojoExecution,
MavenSession session,
ProjectIndex projectIndex) |
void |
DefaultExecutionEventCatapult.fire(ExecutionEvent.Type eventType,
MavenSession session,
MojoExecution mojoExecution) |
void |
ExecutionEventCatapult.fire(ExecutionEvent.Type eventType,
MavenSession session,
MojoExecution mojoExecution) |
void |
DefaultExecutionEventCatapult.fire(ExecutionEvent.Type eventType,
MavenSession session,
MojoExecution mojoExecution,
Exception exception) |
void |
ExecutionEventCatapult.fire(ExecutionEvent.Type eventType,
MavenSession session,
MojoExecution mojoExecution,
Exception exception) |
boolean |
PhaseRecorder.isDifferentPhase(MojoExecution nextMojoExecution) |
void |
PhaseRecorder.observeExecution(MojoExecution mojoExecution) |
void |
LifecycleExecutionPlanCalculator.setupMojoExecution(MavenSession session,
MavenProject project,
MojoExecution mojoExecution,
Set<MojoDescriptor> alreadyPlannedExecutions) |
void |
DefaultLifecycleExecutionPlanCalculator.setupMojoExecution(MavenSession session,
MavenProject project,
MojoExecution mojoExecution,
Set<MojoDescriptor> alreadyPlannedExecutions) |
Modifier and Type | Method and Description |
---|---|
static List<ExecutionPlanItem> |
ExecutionPlanItem.createExecutionPlanItems(MavenProject mavenProject,
List<MojoExecution> executions) |
void |
MojoExecutor.execute(MavenSession session,
List<MojoExecution> mojoExecutions,
ProjectIndex projectIndex) |
DependencyContext |
MojoExecutor.newDependencyContext(MavenSession session,
List<MojoExecution> mojoExecutions) |
Constructor and Description |
---|
ExecutionPlanItem(MojoExecution mojoExecution) |
Modifier and Type | Method and Description |
---|---|
MojoExecution |
PluginExecutionException.getMojoExecution() |
Modifier and Type | Method and Description |
---|---|
Map<String,List<MojoExecution>> |
MojoExecution.getForkedExecutions() |
Modifier and Type | Method and Description |
---|---|
void |
PluginManager.executeMojo(MavenProject project,
MojoExecution execution,
MavenSession session)
Deprecated.
|
void |
BuildPluginManager.executeMojo(MavenSession session,
MojoExecution execution) |
void |
DefaultBuildPluginManager.executeMojo(MavenSession session,
MojoExecution mojoExecution) |
<T> T |
MavenPluginManager.getConfiguredMojo(Class<T> mojoInterface,
MavenSession session,
MojoExecution mojoExecution)
Looks up the mojo for the specified mojo execution and populates its parameters from the configuration given by
the mojo execution.
|
void |
MavenPluginManager.releaseMojo(Object mojo,
MojoExecution mojoExecution)
Releases the specified mojo back to the container.
|
void |
MojoExecutionRunner.run(MojoExecution execution)
Runs mojo execution
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultMojosExecutionStrategy.execute(List<MojoExecution> mojos,
MavenSession session,
MojoExecutionRunner mojoRunner) |
void |
MojosExecutionStrategy.execute(List<MojoExecution> mojos,
MavenSession session,
MojoExecutionRunner mojoExecutionRunner)
Entry point to the execution strategy
|
void |
MojoExecution.setForkedExecutions(String projectKey,
List<MojoExecution> forkedExecutions) |
Constructor and Description |
---|
PluginExecutionException(MojoExecution mojoExecution,
MavenProject project,
DuplicateArtifactAttachmentException cause) |
PluginExecutionException(MojoExecution mojoExecution,
MavenProject project,
Exception cause) |
PluginExecutionException(MojoExecution mojoExecution,
MavenProject project,
String message) |
PluginExecutionException(MojoExecution mojoExecution,
MavenProject project,
String message,
Throwable cause) |
PluginParameterExpressionEvaluator(MavenSession session,
MojoExecution mojoExecution) |
PluginParameterExpressionEvaluatorV4(Session session,
Project project,
MojoExecution mojoExecution) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultPluginManager.executeMojo(MavenProject project,
MojoExecution execution,
MavenSession session) |
<T> T |
DefaultMavenPluginManager.getConfiguredMojo(Class<T> mojoInterface,
MavenSession session,
MojoExecution mojoExecution) |
void |
DefaultMavenPluginManager.releaseMojo(Object mojo,
MojoExecution mojoExecution) |
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.