public interface EventSpy
A core extension to monitor Maven's execution. Typically, such an extension gets loaded into Maven by specifying the property
maven.ext.class.pathon the command line. As soon as dependency injection is set up, Maven looks up all implementers of this interface and calls their
init(Context)method. Note: Implementors are strongly advised to inherit from
AbstractEventSpyinstead of directly implementing this interface.
Nested Class SummaryModifier and TypeInterfaceDescription
initInitializes the spy.
context- The event spy context, never
onEventNotifies the spy of some build event/operation.
closevoid close() throws ExceptionNotifies the spy of Maven's termination, allowing it to free any resources allocated by it.