Re: get active profile in pom

2008-07-07 Thread Arash Bizhan zadeh
I will assume that there is no way to get a hold on active profile in pom file. On Sat, Jul 5, 2008 at 3:34 PM, Arash Bizhan zadeh [EMAIL PROTECTED] wrote: Hi all, Is there any variable to return active profile in the maven 2; (something like ${maven.profile})? thanks -- The dirtiest

Re: get active profile in pom

2008-07-07 Thread Andrew Robinson
There is no such thing as an active profile that I know of. There are active profile*s*. If you want to know if one particular profile is enabled, set a property in that profile and then test or use that profile elsewhere. -Andrew On Mon, Jul 7, 2008 at 10:47 AM, Arash Bizhan zadeh [EMAIL

Re: get active profile in pom

2008-07-07 Thread Tomislav Stojcevich
Or use the help plugin. mvn help:active-profiles - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

get active profile in pom

2008-07-05 Thread Arash Bizhan zadeh
Hi all, Is there any variable to return active profile in the maven 2; (something like ${maven.profile})? thanks -- The dirtiest book of all is the expurgated book. Walt Whitman