Glad you chipped in Manfred :-)

I was mainly thinking about this for the the android-maven-plugin as it has
a huge number of Mojos, many of which I suspect are hardly ever used.
getting some quantification on usage would allow us to work out which Mojos
could be dropped and which might be better to push into a separate plugin.

People might object, but if we default to on and give an option to switch
off, that seems fair for use of an open source plugin. And analytics
collection is only going to work when you have a connection.

William


On Tue, Sep 2, 2014 at 4:46 AM, Manfred Moser <[email protected]> wrote:

> If you want this to be resulting in some sort of useful analysis results I
> would think it should be fairly useful to hook it up as an option for the
> plugin and use e.g. Google analytics with some fake urls for each mojo.
>
> Only problem is that people might object to you doing that..
>
> manfred
>
> Jason van Zyl wrote on 31.08.2014 05:47:
>
> > 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
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to