Like I said it was a bit of a mess. There is also the technique used in the maven-timeline-plugin where you can use an execution listener:
https://github.com/dgageot/maven-timeline/blob/master/src/main/java/net/gageot/maven/buildevents/BuildEventListener.java This can be loaded from the POM. On Aug 31, 2014, at 12:11 AM, William Ferguson <[email protected]> wrote: > If I wanted to decorate the calls to each of the Mojos in a plugin what > would be the best way of achieving that? > > I'm considering a use case to use analytics to capture plugin usage so we > have a better understanding of which Mojos are of most value. And perhaps > to capture details on Mojo failures. > > > William Thanks, Jason ---------------------------------------------------------- Jason van Zyl Founder, Apache Maven http://twitter.com/jvanzyl http://twitter.com/takari_io --------------------------------------------------------- I never make the mistake of arguing with people for whose opinions I have no respect. -- Edward Gibbon
