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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidexecute(List<MojoExecution> mojos, MavenSession session, MojoExecutionRunner mojoRunner) Entry point to the execution strategy
- 
Constructor Details- 
DefaultMojosExecutionStrategypublic DefaultMojosExecutionStrategy()
 
- 
- 
Method Details- 
executepublic void execute(List<MojoExecution> mojos, MavenSession session, MojoExecutionRunner mojoRunner) throws LifecycleExecutionException Description copied from interface:MojosExecutionStrategyEntry point to the execution strategy- Specified by:
- executein interface- MojosExecutionStrategy
- Parameters:
- mojos- list of mojos representing a project build
- session- current session
- mojoRunner- mojo execution task which must be invoked by a strategy to actually run it
- Throws:
- LifecycleExecutionException
 
 
-