gnodet commented on PR #740:
URL: https://github.com/apache/maven/pull/740#issuecomment-1126052315
The event spy is the only one capable of producing actual timing for mojos.
We have brought one inspired from takari in mvnd iirc :
https://github.com/apache/maven-mvnd/blob/master/daemon/src/main/java/org/mvndaemon/mvnd/timing/BuildTimeEventSpy.java
That's a perfectly valid use case imho.
@laeubi if you need to interact with your specific event spy, you could
inject the implementation or another interface instead of the `EventSpy`
interface which is meant to be actually used by maven and does provide any
information.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]