Package org.apache.maven.plugin
Interface MojosExecutionStrategy
-
- All Known Implementing Classes:
DefaultMojosExecutionStrategy
public interface MojosExecutionStrategyInterface allows overriding default mojo execution strategy For example it is possible wrap some mojo execution to decorate default functionality or skip some executions
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidexecute(java.util.List<MojoExecution> mojos, MavenSession session, MojoExecutionRunner mojoExecutionRunner)Entry point to the execution strategy
-
-
-
Method Detail
-
execute
void execute(java.util.List<MojoExecution> mojos, MavenSession session, MojoExecutionRunner mojoExecutionRunner) throws LifecycleExecutionException
Entry point to the execution strategy- Parameters:
mojos- list of mojos representing a project buildsession- current sessionmojoExecutionRunner- mojo execution task which must be invoked by a strategy to actually run it- Throws:
LifecycleExecutionException
-
-