maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brett Porter <br...@apache.org>
Subject Re: Detecting current phase in a plugin
Date Tue, 03 Jan 2012 06:02:10 GMT
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 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

--
Brett Porter
brett@apache.org
http://brettporter.wordpress.com/


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message