Uses of Class
org.apache.maven.plugin.MojoExecution
Package
Description
-
Uses of MojoExecution in org.apache.maven.execution
Modifier and TypeMethodDescriptionMojoExecutionEvent.getExecution()
ExecutionEvent.getMojoExecution()
Gets the current mojo execution (if any).ModifierConstructorDescriptionMojoExecutionEvent
(MavenSession session, MavenProject project, MojoExecution mojoExecution, Mojo mojo) MojoExecutionEvent
(MavenSession session, MavenProject project, MojoExecution mojoExecution, Mojo mojo, Throwable cause) ModifierConstructorDescriptionProjectExecutionEvent
(MavenSession session, MavenProject project, List<MojoExecution> executionPlan) ProjectExecutionEvent
(MavenSession session, MavenProject project, List<MojoExecution> executionPlan, Throwable cause) -
Uses of MojoExecution in org.apache.maven.internal.impl
-
Uses of MojoExecution in org.apache.maven.lifecycle
Modifier and TypeMethodDescriptionLifecycleMappingDelegate.calculateLifecycleMappings
(MavenSession session, MavenProject project, Lifecycle lifecycle, String lifecyclePhase) MavenExecutionPlan.getExecutions()
Deprecated.MavenExecutionPlan.getMojoExecutions()
Modifier and TypeMethodDescriptionvoid
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.DefaultLifecycleExecutor.executeForkedExecutions
(MojoExecution mojoExecution, MavenSession session) LifecycleExecutor.executeForkedExecutions
(MojoExecution mojoExecution, MavenSession session) ModifierConstructorDescriptionLifecycleExecutionException
(String message, MojoExecution execution, MavenProject project) LifecycleExecutionException
(String message, MojoExecution execution, MavenProject project, Throwable cause) LifecycleExecutionException
(MessageBuilderFactory messageBuilderFactory, MojoExecution execution, MavenProject project, Throwable cause) LifecycleExecutionException
(MojoExecution execution, MavenProject project, Throwable cause) -
Uses of MojoExecution in org.apache.maven.lifecycle.internal
Modifier and TypeMethodDescriptionDefaultLifecycleMappingDelegate.calculateLifecycleMappings
(MavenSession session, MavenProject project, Lifecycle lifecycle, String lifecyclePhase) DefaultLifecycleExecutionPlanCalculator.calculateMojoExecutions
(MavenSession session, MavenProject project, List<Object> tasks) Modifier and TypeMethodDescriptionvoid
DefaultLifecycleExecutionPlanCalculator.calculateForkedExecutions
(MojoExecution mojoExecution, MavenSession session) void
LifecycleExecutionPlanCalculator.calculateForkedExecutions
(MojoExecution mojoExecution, MavenSession session) void
DefaultMojoExecutionConfigurator.configure
(MavenProject project, MojoExecution mojoExecution, boolean allowPluginLevelConfig) 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, Exception exception) void
ExecutionEventCatapult.fire
(ExecutionEvent.Type eventType, MavenSession session, MojoExecution mojoExecution) void
ExecutionEventCatapult.fire
(ExecutionEvent.Type eventType, MavenSession session, MojoExecution mojoExecution, Exception exception) boolean
PhaseRecorder.isDifferentPhase
(MojoExecution nextMojoExecution) void
PhaseRecorder.observeExecution
(MojoExecution mojoExecution) void
DefaultLifecycleExecutionPlanCalculator.setupMojoExecution
(MavenSession session, MavenProject project, MojoExecution mojoExecution, Set<MojoDescriptor> alreadyPlannedExecutions) void
LifecycleExecutionPlanCalculator.setupMojoExecution
(MavenSession session, MavenProject project, MojoExecution mojoExecution, Set<MojoDescriptor> alreadyPlannedExecutions) Modifier and TypeMethodDescriptionstatic List<ExecutionPlanItem>
ExecutionPlanItem.createExecutionPlanItems
(MavenProject mavenProject, List<MojoExecution> executions) void
MojoExecutor.execute
(MavenSession session, List<MojoExecution> mojoExecutions, ProjectIndex projectIndex) MojoExecutor.newDependencyContext
(MavenSession session, List<MojoExecution> mojoExecutions) -
Uses of MojoExecution in org.apache.maven.plugin
Modifier and TypeMethodDescriptionvoid
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 executionModifier and TypeMethodDescriptionvoid
DefaultMojosExecutionStrategy.execute
(List<MojoExecution> mojos, MavenSession session, MojoExecutionRunner mojoRunner) void
MojosExecutionStrategy.execute
(List<MojoExecution> mojos, MavenSession session, MojoExecutionRunner mojoExecutionRunner) Entry point to the execution strategyvoid
MojoExecution.setForkedExecutions
(String projectKey, List<MojoExecution> forkedExecutions) ModifierConstructorDescriptionPluginExecutionException
(MojoExecution mojoExecution, MavenProject project, Exception cause) PluginExecutionException
(MojoExecution mojoExecution, MavenProject project, String message) PluginExecutionException
(MojoExecution mojoExecution, MavenProject project, String message, Throwable cause) PluginExecutionException
(MojoExecution mojoExecution, MavenProject project, DuplicateArtifactAttachmentException cause) PluginParameterExpressionEvaluator
(MavenSession session, MojoExecution mojoExecution) PluginParameterExpressionEvaluatorV4
(Session session, Project project, MojoExecution mojoExecution) -
Uses of MojoExecution in org.apache.maven.plugin.internal
Modifier and TypeMethodDescription<T> T
DefaultMavenPluginManager.getConfiguredMojo
(Class<T> mojoInterface, MavenSession session, MojoExecution mojoExecution) void
DefaultMavenPluginManager.releaseMojo
(Object mojo, MojoExecution mojoExecution)