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
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(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:MojosExecutionStrategyEntry point to the execution strategy- Specified by:
 executein 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
 
 -