Hi all,

I'm trying to set up our parent-pom so that it defines build properties
for different environments, to be activated case by case (the usual
env-dev, env-local, env-production, etc.)
I was thinking of using profiles, although this seems tricky, also
according to the many articles/posts on the topic.

As I understand, parent-pom profiles are not inherited in child-poms,
but <activation> by system properties should work: it hasn't worked for me.
I have tried specifying the <inherited>true</inherited> property in
profile plugins, but no result.

Nonetheless, profiles are used indeed, apparently as I would like, in
the maven parent pom, see for example:

<groupId>org.apache.maven</groupId>
<artifactId>maven-parent</artifactId>
<version>7</version>

Anyone can clarify?
Thanks,
   L

--
Dott. Lorenzo Bigagli
PIN - Polo Universitario di Prato
dell'Università di Firenze

i: Piazza dell'Università
  I-59100 Prato (PO), Italia
t: +39 0574 602535
f: +39 0574 602524
m: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to