Re: Mojo @execute with both phase and goal

2012-07-03 Thread Thomas Broyer
Le 3 juil. 2012 16:42, "Olivier Lamy" a écrit : > > 2012/7/3 Wayne Fay : > >>> Am I on the right track? What would be the best practice? > >> Perso I would use the lifecycle approach which is more IMFO in the > >> maven supported approach. > > > > Is that your "frank" opinion or h... Didn't kn

Re: Mojo @execute with both phase and goal

2012-07-03 Thread Olivier Lamy
2012/7/3 Wayne Fay : >>> Am I on the right track? What would be the best practice? >> Perso I would use the lifecycle approach which is more IMFO in the >> maven supported approach. > > Is that your "frank" opinion or h... Didn't know you felt so > strongly about it, Olivier. ;-) hehe F can hav

Re: Mojo @execute with both phase and goal

2012-07-03 Thread Wayne Fay
>> Am I on the right track? What would be the best practice? > Perso I would use the lifecycle approach which is more IMFO in the > maven supported approach. Is that your "frank" opinion or h... Didn't know you felt so strongly about it, Olivier. ;-) Wayne ---

Re: Mojo @execute with both phase and goal

2012-07-03 Thread Thomas Broyer
On Mon, Jul 2, 2012 at 10:03 PM, Olivier Lamy wrote: > 2012/7/1 Thomas Broyer : >> Hi all, >> >> Let's say I have a mojo that requires both a phase (process-classes) >> and a goal (war:exploded) to be executed before it itself is run, am I >> right to think that I should create a new custom lifecy

Re: Mojo @execute with both phase and goal

2012-07-02 Thread Olivier Lamy
2012/7/1 Thomas Broyer : > Hi all, > > Let's say I have a mojo that requires both a phase (process-classes) > and a goal (war:exploded) to be executed before it itself is run, am I > right to think that I should create a new custom lifecycle that binds > the war:exploded goal to some phase after pr