Binding to a jetty:run goal ?

2009-05-26 Thread Laurent Perez
Hi I would like to bind an ant task from maven antrun plugin only when I use the jetty:run goal : my task basically extracts and preconfigures a few files needed at webapp startup. I've managed to bind antrun to the compile phase, but this is not good enough. I've tried the goaljetty/goal or

Re: Binding to a jetty:run goal ?

2009-05-26 Thread Nick Stolwijk
You can only bind goals to a phase, never to a goal. Just make a shell script which calls mvn ant:run jetty:run. Hth, Nick Stolwijk ~Java Developer~ Iprofs BV. Claus Sluterweg 125 2012 WS Haarlem www.iprofs.nl On Tue, May 26, 2009 at 10:38 AM, Laurent Perez hak...@gmail.com wrote: Hi I