Package org.apache.maven.execution.scope
Interface WeakMojoExecutionListener
-
public interface WeakMojoExecutionListenerExtension point that allows build extensions observe and possibly veto mojo executions.Unlike
Note: This interface is part of work in progress and can be changed or removed without notice.MojoExecutionListener, this extension point does not trigger instantiation of the component, hence "weak" class name prefix. Only applies to mojo execution scoped components.- Since:
- 3.1.2
- See Also:
MojoExecutionListener
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidafterExecutionFailure(MojoExecutionEvent event)voidafterMojoExecutionSuccess(MojoExecutionEvent event)voidbeforeMojoExecution(MojoExecutionEvent event)
-
-
-
Method Detail
-
beforeMojoExecution
void beforeMojoExecution(MojoExecutionEvent event) throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
-
afterMojoExecutionSuccess
void afterMojoExecutionSuccess(MojoExecutionEvent event) throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
-
afterExecutionFailure
void afterExecutionFailure(MojoExecutionEvent event)
-
-