| Package | Description |
|---|---|
| org.apache.maven.execution | |
| org.apache.maven.lifecycle | |
| org.apache.maven.lifecycle.internal | |
| org.apache.maven.plugin | |
| org.apache.maven.plugin.internal |
| Modifier and Type | Method | Description |
|---|---|---|
MojoExecution |
MojoExecutionEvent.getExecution() |
|
MojoExecution |
ExecutionEvent.getMojoExecution() |
Gets the current mojo execution (if any).
|
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<MojoExecution> |
ProjectExecutionEvent.getExecutionPlan() |
| Constructor | Description |
|---|---|
MojoExecutionEvent(MavenSession session,
MavenProject project,
MojoExecution mojoExecution,
org.apache.maven.plugin.Mojo mojo) |
|
MojoExecutionEvent(MavenSession session,
MavenProject project,
MojoExecution mojoExecution,
org.apache.maven.plugin.Mojo mojo,
java.lang.Throwable cause) |
| Constructor | Description |
|---|---|
ProjectExecutionEvent(MavenSession session,
MavenProject project,
java.util.List<MojoExecution> executionPlan) |
|
ProjectExecutionEvent(MavenSession session,
MavenProject project,
java.util.List<MojoExecution> executionPlan,
java.lang.Throwable cause) |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Map<java.lang.String,java.util.List<MojoExecution>> |
LifecycleMappingDelegate.calculateLifecycleMappings(MavenSession session,
MavenProject project,
Lifecycle lifecycle,
java.lang.String lifecyclePhase) |
|
java.util.List<MojoExecution> |
MavenExecutionPlan.getExecutions() |
Deprecated.
|
java.util.List<MojoExecution> |
MavenExecutionPlan.getMojoExecutions() |
| Modifier and Type | Method | 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.
|
java.util.List<MavenProject> |
DefaultLifecycleExecutor.executeForkedExecutions(MojoExecution mojoExecution,
MavenSession session) |
|
java.util.List<MavenProject> |
LifecycleExecutor.executeForkedExecutions(MojoExecution mojoExecution,
MavenSession session) |
| Constructor | Description |
|---|---|
LifecycleExecutionException(java.lang.String message,
MojoExecution execution,
MavenProject project) |
|
LifecycleExecutionException(java.lang.String message,
MojoExecution execution,
MavenProject project,
java.lang.Throwable cause) |
|
LifecycleExecutionException(MojoExecution execution,
MavenProject project,
java.lang.Throwable cause) |
| Modifier and Type | Method | Description |
|---|---|---|
MojoExecution |
ExecutionPlanItem.getMojoExecution() |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Map<java.lang.String,java.util.List<MojoExecution>> |
DefaultLifecycleMappingDelegate.calculateLifecycleMappings(MavenSession session,
MavenProject project,
Lifecycle lifecycle,
java.lang.String lifecyclePhase) |
|
java.util.List<MojoExecution> |
DefaultLifecycleExecutionPlanCalculator.calculateMojoExecutions(MavenSession session,
MavenProject project,
java.util.List<java.lang.Object> tasks) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
DefaultLifecycleExecutionPlanCalculator.calculateForkedExecutions(MojoExecution mojoExecution,
MavenSession session) |
|
void |
LifecycleExecutionPlanCalculator.calculateForkedExecutions(MojoExecution mojoExecution,
MavenSession session) |
|
void |
DefaultMojoExecutionConfigurator.configure(MavenProject project,
MojoExecution mojoExecution,
boolean allowPluginLevelConfig) |
|
void |
MojoExecutor.execute(MavenSession session,
MojoExecution mojoExecution,
ProjectIndex projectIndex,
DependencyContext dependencyContext,
PhaseRecorder phaseRecorder) |
|
java.util.List<MavenProject> |
MojoExecutor.executeForkedExecutions(MojoExecution mojoExecution,
MavenSession session,
ProjectIndex projectIndex) |
|
void |
DefaultExecutionEventCatapult.fire(ExecutionEvent.Type eventType,
MavenSession session,
MojoExecution mojoExecution) |
|
void |
DefaultExecutionEventCatapult.fire(ExecutionEvent.Type eventType,
MavenSession session,
MojoExecution mojoExecution,
java.lang.Exception exception) |
|
void |
ExecutionEventCatapult.fire(ExecutionEvent.Type eventType,
MavenSession session,
MojoExecution mojoExecution) |
|
void |
ExecutionEventCatapult.fire(ExecutionEvent.Type eventType,
MavenSession session,
MojoExecution mojoExecution,
java.lang.Exception exception) |
|
boolean |
PhaseRecorder.isDifferentPhase(MojoExecution nextMojoExecution) |
|
void |
PhaseRecorder.observeExecution(MojoExecution mojoExecution) |
|
void |
DefaultLifecycleExecutionPlanCalculator.setupMojoExecution(MavenSession session,
MavenProject project,
MojoExecution mojoExecution) |
|
void |
LifecycleExecutionPlanCalculator.setupMojoExecution(MavenSession session,
MavenProject project,
MojoExecution mojoExecution) |
| Modifier and Type | Method | Description |
|---|---|---|
static java.util.List<ExecutionPlanItem> |
ExecutionPlanItem.createExecutionPlanItems(MavenProject mavenProject,
java.util.List<MojoExecution> executions) |
|
void |
MojoExecutor.execute(MavenSession session,
java.util.List<MojoExecution> mojoExecutions,
ProjectIndex projectIndex) |
|
DependencyContext |
MojoExecutor.newDependencyContext(MavenSession session,
java.util.List<MojoExecution> mojoExecutions) |
| Constructor | Description |
|---|---|
ExecutionPlanItem(MojoExecution mojoExecution) |
| Modifier and Type | Method | Description |
|---|---|---|
MojoExecution |
PluginExecutionException.getMojoExecution() |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Map<java.lang.String,java.util.List<MojoExecution>> |
MojoExecution.getForkedExecutions() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
BuildPluginManager.executeMojo(MavenSession session,
MojoExecution execution) |
|
void |
DefaultBuildPluginManager.executeMojo(MavenSession session,
MojoExecution mojoExecution) |
|
void |
PluginManager.executeMojo(MavenProject project,
MojoExecution execution,
MavenSession session) |
Deprecated.
|
<T> T |
MavenPluginManager.getConfiguredMojo(java.lang.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(java.lang.Object mojo,
MojoExecution mojoExecution) |
Releases the specified mojo back to the container.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
MojoExecution.setForkedExecutions(java.lang.String projectKey,
java.util.List<MojoExecution> forkedExecutions) |
| Constructor | Description |
|---|---|
PluginExecutionException(MojoExecution mojoExecution,
MavenProject project,
java.lang.Exception cause) |
|
PluginExecutionException(MojoExecution mojoExecution,
MavenProject project,
java.lang.String message) |
|
PluginExecutionException(MojoExecution mojoExecution,
MavenProject project,
java.lang.String message,
java.lang.Throwable cause) |
|
PluginExecutionException(MojoExecution mojoExecution,
MavenProject project,
DuplicateArtifactAttachmentException cause) |
|
PluginParameterExpressionEvaluator(MavenSession session,
MojoExecution mojoExecution) |
|
PluginParameterExpressionEvaluator(MavenSession session,
MojoExecution mojoExecution,
PathTranslator pathTranslator,
org.codehaus.plexus.logging.Logger logger,
MavenProject project,
java.util.Properties properties) |
Deprecated.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
DefaultPluginManager.executeMojo(MavenProject project,
MojoExecution execution,
MavenSession session) |
|
<T> T |
DefaultMavenPluginManager.getConfiguredMojo(java.lang.Class<T> mojoInterface,
MavenSession session,
MojoExecution mojoExecution) |
|
void |
DefaultMavenPluginManager.releaseMojo(java.lang.Object mojo,
MojoExecution mojoExecution) |