Package org.apache.maven.logging
Class LoggingExecutionListener
java.lang.Object
org.apache.maven.logging.LoggingExecutionListener
- All Implemented Interfaces:
ExecutionListener,ProjectExecutionListener
public class LoggingExecutionListener
extends Object
implements ExecutionListener, ProjectExecutionListener
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final BuildEventListenerprivate final ExecutionListener -
Constructor Summary
ConstructorsConstructorDescriptionLoggingExecutionListener(ExecutionListener delegate, BuildEventListener buildEventListener) -
Method Summary
Modifier and TypeMethodDescriptionvoidafterProjectExecutionFailure(ProjectExecutionEvent projectExecutionEvent) voidafterProjectExecutionSuccess(ProjectExecutionEvent projectExecutionEvent) voidbeforeProjectExecution(ProjectExecutionEvent projectExecutionEvent) voidbeforeProjectLifecycleExecution(ProjectExecutionEvent projectExecutionEvent) voidvoidvoidvoidforkFailed(ExecutionEvent event) voidforkStarted(ExecutionEvent event) voidforkSucceeded(ExecutionEvent event) voidmojoFailed(ExecutionEvent event) voidmojoSkipped(ExecutionEvent event) voidmojoStarted(ExecutionEvent event) voidmojoSucceeded(ExecutionEvent event) voidvoidprojectFailed(ExecutionEvent event) voidprojectSkipped(ExecutionEvent event) voidprojectStarted(ExecutionEvent event) voidprojectSucceeded(ExecutionEvent event) voidsessionEnded(ExecutionEvent event) voidsessionStarted(ExecutionEvent event) private voidsetMdc(ExecutionEvent event)
-
Field Details
-
delegate
-
buildEventListener
-
-
Constructor Details
-
LoggingExecutionListener
-
-
Method Details
-
beforeProjectExecution
public void beforeProjectExecution(ProjectExecutionEvent projectExecutionEvent) throws LifecycleExecutionException - Specified by:
beforeProjectExecutionin interfaceProjectExecutionListener- Throws:
LifecycleExecutionException
-
beforeProjectLifecycleExecution
public void beforeProjectLifecycleExecution(ProjectExecutionEvent projectExecutionEvent) throws LifecycleExecutionException - Specified by:
beforeProjectLifecycleExecutionin interfaceProjectExecutionListener- Throws:
LifecycleExecutionException
-
afterProjectExecutionSuccess
public void afterProjectExecutionSuccess(ProjectExecutionEvent projectExecutionEvent) throws LifecycleExecutionException - Specified by:
afterProjectExecutionSuccessin interfaceProjectExecutionListener- Throws:
LifecycleExecutionException
-
afterProjectExecutionFailure
- Specified by:
afterProjectExecutionFailurein interfaceProjectExecutionListener
-
projectDiscoveryStarted
- Specified by:
projectDiscoveryStartedin interfaceExecutionListener
-
sessionStarted
- Specified by:
sessionStartedin interfaceExecutionListener
-
sessionEnded
- Specified by:
sessionEndedin interfaceExecutionListener
-
projectStarted
- Specified by:
projectStartedin interfaceExecutionListener
-
projectSucceeded
- Specified by:
projectSucceededin interfaceExecutionListener
-
projectFailed
- Specified by:
projectFailedin interfaceExecutionListener
-
projectSkipped
- Specified by:
projectSkippedin interfaceExecutionListener
-
mojoStarted
- Specified by:
mojoStartedin interfaceExecutionListener
-
mojoSucceeded
- Specified by:
mojoSucceededin interfaceExecutionListener
-
mojoFailed
- Specified by:
mojoFailedin interfaceExecutionListener
-
mojoSkipped
- Specified by:
mojoSkippedin interfaceExecutionListener
-
forkStarted
- Specified by:
forkStartedin interfaceExecutionListener
-
forkSucceeded
- Specified by:
forkSucceededin interfaceExecutionListener
-
forkFailed
- Specified by:
forkFailedin interfaceExecutionListener
-
forkedProjectStarted
- Specified by:
forkedProjectStartedin interfaceExecutionListener
-
forkedProjectSucceeded
- Specified by:
forkedProjectSucceededin interfaceExecutionListener
-
forkedProjectFailed
- Specified by:
forkedProjectFailedin interfaceExecutionListener
-
setMdc
-