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 PROTECTED]> wrote: > 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 book of all is the expurgated book. >> ---- >> Walt Whitman > > > > > -- > The dirtiest book of all is the expurgated book. > ---- > Walt Whitman > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]