Re: Detecting current phase in a plugin

2012-01-02 Thread Brett Porter
It's not possible, but depending on what you want to do there might be other ways to achieve it. Take a look at: http://stackoverflow.com/questions/3746585/determining-maven-execution-phase-within-a-plugin On 03/01/2012, at 3:21 PM, Carson Gross wrote: > I'd like to detect the current phase of

Detecting current phase in a plugin

2012-01-02 Thread Carson Gross
I'd like to detect the current phase of a build within a plugin's execute() method. I dug around in the project object and plugin context, but couldn't find it. Can anyone point me the right direction? Cheers, Carson