I was missing plexus/components.xml. Got it working now. Thanks, all.
-tim
On Mon, Mar 5, 2012 at 6:47 PM, Jason van Zyl wrote:
> Here's a working example of an event spy. You can build it and drop it
> into the ${m2_home}/lib/ext directory:
>
> https://github.com/etesla/tesla-profiler
>
> On
Here's a working example of an event spy. You can build it and drop it into the
${m2_home}/lib/ext directory:
https://github.com/etesla/tesla-profiler
On Mar 5, 2012, at 6:04 PM, Tim Drury wrote:
> No, I hadn't but I just did and same result - nothing in the output logs.
>
> -tim
>
> On Mon,
On 5 Mar 2012, at 23:04, Tim Drury wrote:
> No, I hadn't but I just did and same result - nothing in the output logs.
Did you mark your spy implementation as a @Component? Does your jar contain a
META-INF/plexus/components.xml generated by the plexus-component-metadata
plugin?
> -tim
>
> On
No, I hadn't but I just did and same result - nothing in the output logs.
-tim
On Mon, Mar 5, 2012 at 5:56 PM, Olivier Lamy wrote:
> Did you add you jar in $M2_HOME/lib/ext/ ?
>
> 2012/3/5 Tim Drury :
> > I wrote a class that extends maven 3.0.4 AbstractEventSpy and simply
> writes
> > to a jav
Did you add you jar in $M2_HOME/lib/ext/ ?
2012/3/5 Tim Drury :
> I wrote a class that extends maven 3.0.4 AbstractEventSpy and simply writes
> to a java.util.logging.Logger at info level (and System.out) when each
> method is called. I run it via:
>
> mvn -Dmaven.ext.class.path=/Users/tdrury/.m2