Package org.apache.maven.execution
Interface MojoExecutionListener
-
- All Known Implementing Classes:
MojoExecutionScope
public interface MojoExecutionListener
Extension point that allows build extensions observe and possibly veto mojo executions.
Note: This interface is part of work in progress and can be changed or removed without notice.- Since:
- 3.1.2
- See Also:
WeakMojoExecutionListener
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
afterExecutionFailure(MojoExecutionEvent event)
void
afterMojoExecutionSuccess(MojoExecutionEvent event)
void
beforeMojoExecution(MojoExecutionEvent event)
-
-
-
Method Detail
-
beforeMojoExecution
void beforeMojoExecution(MojoExecutionEvent event) throws MojoExecutionException
- Throws:
MojoExecutionException
-
afterMojoExecutionSuccess
void afterMojoExecutionSuccess(MojoExecutionEvent event) throws MojoExecutionException
- Throws:
MojoExecutionException
-
afterExecutionFailure
void afterExecutionFailure(MojoExecutionEvent event)
-
-