profile activation is based on _SYSTEM_ properties. you cannot activate profiles based on properties defined in your pom
you cannot activate profiles based on system properties defined after the build plan has started execution -Stephen On 2 July 2010 08:37, Søren Krogh Neigaard < [email protected]> wrote: > Hi > > I would like to activate (or not) a profile in my settings.xml base don > which profile is active in my pom.xml. The active profile is determined by > either activated by default, or by setting a -P argument to maven. How can I > do this? > > In my pom.xml I also set a <env>production</env> in my production profile > and so on, can I use this to activate profiles in settings.xml, or how do I > do this? > > Med venlig hilsen / Kind regards > > > Søren Krogh Neigaard > Systems Engineer > > Søren Frichs Vej 39, 8000 Aarhus C > Denmark > > Mobile +4541965252 > [email protected] > www.systematic.com > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
