-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide / describe a way to extend the output #125
Comments
This extension provides a If you're trying to observe specific things done by a mojo, it seems unlikely that the mojo will triggered an event. You can try do track all the execution of It should be possible to implements custom events but it implies that a mojo uses |
Just say I have full control over the mojo code could the mojo emit events that are understood by maven-profiler? |
Thanks for the hint, even though its internal I won't mind using that, do you think maven-profiler could define some kind of custom event that could be used for such purpose? Another way I could think of would be that maven-profiler provides a (public) component where one could send events directly? |
For example |
I think you're right you may also be able to inject |
I think it must not be linked directly to a mojo more something like:
and so on... |
I played around a bit with this option and think one might even reuse some events here (e.g. repository download events), sadly this does not work out-of-the-box and I have opened apache/maven#740 to address this. |
Sometimes mojos are performing some sub-task that would be good to appear at the reports.
Is this already possible? If yes it would be nice to document this.
If not, would it be possible to have some kind of custom events to listen to?
The text was updated successfully, but these errors were encountered: