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 [email protected] http://brettporter.wordpress.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
