public interface LifecycleExecutorListener
The exact semantics in Maven is undocumented (as usual!), but apparently this is invoked at the beginning of the build and the end, surrounding the complete mojo executions.
| Modifier and Type | Method and Description |
|---|---|
void |
endModule()
This event is avaialble from
LifecycleExecutorListener
and offers accurate "leaving module" event. |
void |
postBuild(org.apache.maven.execution.MavenSession session,
org.apache.maven.execution.ReactorManager rm,
org.apache.maven.monitor.event.EventDispatcher dispatcher) |
void |
preBuild(org.apache.maven.execution.MavenSession session,
org.apache.maven.execution.ReactorManager rm,
org.apache.maven.monitor.event.EventDispatcher dispatcher) |
void preBuild(org.apache.maven.execution.MavenSession session,
org.apache.maven.execution.ReactorManager rm,
org.apache.maven.monitor.event.EventDispatcher dispatcher)
throws org.apache.maven.BuildFailureException,
org.apache.maven.lifecycle.LifecycleExecutionException,
InterruptedException,
IOException
org.apache.maven.BuildFailureExceptionorg.apache.maven.lifecycle.LifecycleExecutionExceptionInterruptedExceptionIOExceptionvoid postBuild(org.apache.maven.execution.MavenSession session,
org.apache.maven.execution.ReactorManager rm,
org.apache.maven.monitor.event.EventDispatcher dispatcher)
throws org.apache.maven.BuildFailureException,
org.apache.maven.lifecycle.LifecycleExecutionException,
InterruptedException,
IOException
org.apache.maven.BuildFailureExceptionorg.apache.maven.lifecycle.LifecycleExecutionExceptionInterruptedExceptionIOExceptionvoid endModule()
throws InterruptedException,
IOException
LifecycleExecutorListener
and offers accurate "leaving module" event.InterruptedExceptionIOExceptionCopyright © 2004-2017. All Rights Reserved.