Package org.apache.maven.plugin
Class DefaultMojosExecutionStrategy
java.lang.Object
org.apache.maven.plugin.DefaultMojosExecutionStrategy
- All Implemented Interfaces:
MojosExecutionStrategy
@Named
@Singleton
public class DefaultMojosExecutionStrategy
extends Object
implements MojosExecutionStrategy
Default mojo execution strategy. It just iterates over mojo executions and runs one by one
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(List<MojoExecution> mojos, MavenSession session, MojoExecutionRunner mojoRunner) Entry point to the execution strategy
-
Constructor Details
-
DefaultMojosExecutionStrategy
public DefaultMojosExecutionStrategy()
-
-
Method Details
-
execute
public void execute(List<MojoExecution> mojos, MavenSession session, MojoExecutionRunner mojoRunner) throws LifecycleExecutionException Description copied from interface:MojosExecutionStrategy
Entry point to the execution strategy- Specified by:
execute
in interfaceMojosExecutionStrategy
- Parameters:
mojos
- list of mojos representing a project buildsession
- current sessionmojoRunner
- mojo execution task which must be invoked by a strategy to actually run it- Throws:
LifecycleExecutionException
-