I have tried everything ie with multiple -Ps, comma separated list but in vain :), I think it is a bug, if anybody has any workaround please let me know
Thnkx sridharl -----Original Message----- From: anders.g.ham...@gmail.com [mailto:anders.g.ham...@gmail.com] On Behalf Of Anders Hammar Sent: Thursday, August 26, 2010 6:40 PM To: Maven Users List Subject: Re: Multiple profile execution in maven I checked the docs at maven.apache.org and they say comma list. But as always, there might be bugs...:-) /Anders On Thu, Aug 26, 2010 at 14:42, Stephen Connolly < stephen.alan.conno...@gmail.com> wrote: > I think you use multiple -P's to activate them > > -Px -Py > > but that could all just be my imagination ;-) > > On 26 August 2010 12:33, Anders Hammar <and...@hammar.net> wrote: > > > It should work. However, I'm not sure if I have ever enabled more than > one > > profile from command line. > > Just for the heck of it, could you try adding a space between -P and the > > profiles list ("-P x,y")? > > > > /Anders > > > > On Thu, Aug 26, 2010 at 13:16, Sridhar Laxmipuram Srinivasan < > > sridh...@yahoo-inc.com> wrote: > > > > > Hi, > > > I have 2 profiles which are deactivated by default but at run time I > need > > > to execute both of them, I have tried with -P<x>,<y> but of no use it > > always > > > executes the latter, Could you kindly provide me a solution to this. I > am > > > using maven 2.2.1 version > > > > > > thnkx > > > sridharl > > > > > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org