The easiest will be to use EventSpy (put the the jar in $M2_HOME/lib/ext)
You can find a sample for using ExecutionListener here
https://github.com/olamy/maven-growl-plugin
But I find that a bit hackish :-)


2013/5/22 Jeffrey E Care <[email protected]>:
> Olivier Lamy <[email protected]> wrote on 05/20/2013 07:11:40 PM:
>
>> You can write your own ExecutionListener (you can extend this
>> http://maven.apache.org/ref/3-LATEST/apidocs/org/apache/maven/
>> execution/AbstractExecutionListener.html)
>> or your own EventSpy (see
>> http://maven.apache.org/ref/3-LATEST/apidocs/org/apache/maven/
>> eventspy/AbstractEventSpy.html
>> ).
>
> Thanks, that looks exactly like what I was after.
>
> How do you integrate implementations of these interfaces into the build
> process? Is there a guide for how to use these? Based on my google
> searches I *think* I can figure out how to integrate an event spy (use
> plexus annotations, drop JAR in $M2_HOME/lib/ext) but I have no idea how
> to use ExecutionListener. A guide or example project (that uses plexus &
> not sisu) would be useful.
>
> Thanks,
> JEC



-- 
Olivier Lamy
Ecetera: http://ecetera.com.au
http://twitter.com/olamy | http://linkedin.com/in/olamy

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to