maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From William Ferguson <william.fergu...@xandar.com.au>
Subject Re: Decorating Mojos
Date Mon, 01 Sep 2014 01:38:13 GMT
Thanks Guys,

Jason, I think the maven-timeline solution will be perfect.

William


On Sun, Aug 31, 2014 at 10:47 PM, Jason van Zyl <jason@takari.io> wrote:

> 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 <
> william.ferguson@xandar.com.au> 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
>
>
>
>
>
>
>
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message