Package org.apache.maven.execution.scope
Interface WeakMojoExecutionListener
public interface WeakMojoExecutionListener
Extension point that allows build extensions observe and possibly veto mojo executions.
Unlike 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:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
-
Method Details
-
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
-