You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Clifton <cl...@gmail.com> on 2007/06/19 16:07:16 UTC
Inherited Profile won't activate with property
I have a profile declared in my global team's pom.xml that controls the
deployment location for our projects. (It includes the distribution
management section.) I want to use it for the child poms so I declared it to
activate with a property. I can activate it by specifying it on the command
line with the -P switch. However if I specify it in the the <properties/>
section of a child pom then it doesn't take effect. What am I doing wrong?
--
View this message in context: http://www.nabble.com/Inherited-Profile-won%27t-activate-with-property-tf3946645s177.html#a11195492
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Inherited Profile won't activate with property
Posted by Wendy Smoak <ws...@gmail.com>.
On 6/19/07, Clifton <cl...@gmail.com> wrote:
> I have a profile declared in my global team's pom.xml that controls the
> deployment location for our projects. (It includes the distribution
> management section.) I want to use it for the child poms so I declared it to
> activate with a property. I can activate it by specifying it on the command
> line with the -P switch. However if I specify it in the the <properties/>
> section of a child pom then it doesn't take effect. What am I doing wrong?
If it's activated by a property, you should also be able to specify it
with -DpropertyName=abc on the commandline.
Did you look in JIRA or the list archives for something similar? This
sounds familiar...
--
Wendy
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org