Re: Plugin development: how to get the phase

2007-07-31 Thread John Petritis
: > > > On 30 Jul 07, at 2:59 PM 30 Jul 07, John Petritis wrote: > >> >> Here is why: >> > > Sure, I'm just saying that to do any of this the plugin doesn't need > to know anything about the phase it's running in. This is definitely

Re: Plugin development: how to get the phase

2007-07-30 Thread John Petritis
. Jason van Zyl-2 wrote: > > > On 30 Jul 07, at 1:18 PM 30 Jul 07, John Petritis wrote: > >> >> I need to be able to get the phase my plugin is run in. > > Why? > > There is no way to get the phase a plugin is running in as you > generally declare tha

Plugin development: how to get the phase

2007-07-30 Thread John Petritis
I need to be able to get the phase my plugin is run in. I will probably make it run in multiple phases. I would prefer to get the phase from an @parameter expression="${???}" But I cannot figure out what variable name to use in it. (I am basically trying to make a logger that tracks when maven g