| 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 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 | 
|---|---|
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 | 
LifecycleExecutor.calculateForkedExecutions(MojoExecution mojoExecution,
                         MavenSession session)  | 
void | 
DefaultLifecycleExecutor.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> | 
LifecycleExecutor.executeForkedExecutions(MojoExecution mojoExecution,
                       MavenSession session)  | 
List<MavenProject> | 
DefaultLifecycleExecutor.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)  | 
void | 
MojoExecutor.execute(MavenSession session,
       MojoExecution mojoExecution,
       ProjectIndex projectIndex,
       DependencyContext dependencyContext,
       PhaseRecorder phaseRecorder)  | 
List<MavenProject> | 
MojoExecutor.executeForkedExecutions(MojoExecution mojoExecution,
                       MavenSession session,
                       ProjectIndex projectIndex)  | 
void | 
ExecutionEventCatapult.fire(ExecutionEvent.Type eventType,
    MavenSession session,
    MojoExecution mojoExecution)  | 
void | 
DefaultExecutionEventCatapult.fire(ExecutionEvent.Type eventType,
    MavenSession session,
    MojoExecution mojoExecution)  | 
void | 
ExecutionEventCatapult.fire(ExecutionEvent.Type eventType,
    MavenSession session,
    MojoExecution mojoExecution,
    Exception exception)  | 
void | 
DefaultExecutionEventCatapult.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)  | 
void | 
DefaultLifecycleExecutionPlanCalculator.setupMojoExecution(MavenSession session,
                  MavenProject project,
                  MojoExecution mojoExecution)  | 
| 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 | 
DefaultBuildPluginManager.executeMojo(MavenSession session,
           MojoExecution mojoExecution)  | 
void | 
BuildPluginManager.executeMojo(MavenSession session,
           MojoExecution execution)  | 
<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. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
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)  | 
PluginParameterExpressionEvaluator(MavenSession session,
                                  MojoExecution mojoExecution,
                                  PathTranslator pathTranslator,
                                  org.codehaus.plexus.logging.Logger logger,
                                  MavenProject project,
                                  Properties properties)
Deprecated.  
 | 
| 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–2019 The Apache Software Foundation. All rights reserved.