Re: Detecting current phase in a plugin

2012-01-03 Thread Carson Gross
-**maven/<http://www.sonatype.com/people/2009/08/create-a-customized-build-process-in-maven/> >> >> Vincent >> >> >> 2012/1/3 Carson Gross >> >> Yes, it appears that I have a different mental model for plugins than >>> Maven >>> provides.

Re: Detecting current phase in a plugin

2012-01-03 Thread Carson Gross
other thoughts. Thanks, Carson On Tue, Jan 3, 2012 at 1:36 AM, Jochen Wiedmann wrote: > Sure you really want to do that? It would amount to hard wiring your > plugin to a certain phase, whereas > a plugin should typically be able to run in any phase, depending on the > POM. > > &g

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