William,

If you just want to know what Mojos are being used then there are a couple 
implementations for profiling[1][2] but they use EventSpies which means they 
have to be installed in the distribution being used in order to be activated. 
We had a brief discussion a few months ago about making an eventing mechanism 
that didn't require being in the distribution. Take a look and see if what 
these profilers are doing is along the lines of what you want and then maybe 
it's another discussion item for the developer hangout.

It may also not be hard to make event spies work as extensions configured in 
the POM (IIRC they do not right now). If you want to see which of your plugins 
are popular the Nexus OSS instance has stats that you can extract and analyze 
yourself. The download counts will give you some idea.

[1]: https://github.com/takari/maven-profiler
[2]: https://github.com/eBay/mTracker

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
---------------------------------------------------------

What matters is not ideas, but the people who have them. Good people can fix 
bad ideas, but good ideas can't save bad people. 

 -- Paul Graham









Reply via email to