I've struggled with profiles over the last week. It seems if you have
the parent/ configuration in your child pom, it inherits the profiles
of the parent implicitely. See following for details.
http://maven.apache.org/pom.html#Inheritance
Is there an easy way to put a profile in a parent pom and then activate
that from a child profile?
-Original Message-
From: Tim Kettler [mailto:[EMAIL PROTECTED]
Sent: Friday, 24 August 2007 3:24 PM
To: Maven Users List
Subject: [***POSSIBLE SPAM***] - Re: Activating a Profile from another
Profile - Email has different SMTP TO: and MIME TO: fields in the email
addresses
Hi
://maven.apache.org/maven-v4_0_0.xsd
William
-Original Message-
From: Tim Kettler [mailto:[EMAIL PROTECTED]
Sent: Friday, 24 August 2007 3:24 PM
To: Maven Users List
Subject: [***POSSIBLE SPAM***] - Re: Activating a Profile from another
Profile - Email has different SMTP TO: and MIME
Resending as its been 24 hours and the message hasn't shown up.
Is there any way to activatee a Profile from another Profile?
We have some pieces of the build, specifcally build.resources
definitions that vary depending on which Profile is targetted. But some
of the resource definitions are
Is there any way to activatee a Profile from another Profile?
We have some pieces of the build, specifcally build.resources
definitions that vary depending on which Profile is targetted. But some
of the resource definitions are identical for several of the Profiles.
So I had hoped to extract the
Hi,
No, this is currently not possible directly. However, what you can do is
activate the set of profile via a system property you specify on the
commandline ('mvn -Ddev ...'):
profiles
profile
iddev/id
activation
property
namedev/name
/property
/activation