You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Wendy Smoak <ws...@gmail.com> on 2006/03/03 18:48:21 UTC
[m2] Activating profiles
Given this profile in settings.xml
<profile>
<id>env-local</id>
<activation>
<property>
<name>env</name>
<value>local</value>
</property>
</activation>
...
<profile>
Is there any reason that using -P env-local would work, while -Denv=local
would not? (Maven 2.0.2)
Here's the output of mvn projecthelp:active-profiles:
http://wiki.wsmoak.net/cgi-bin/wiki.pl?Maven/ProjectHelp
I'm working from this:
http://maven.apache.org/guides/introduction/introduction-to-profiles.html
Thanks,
Wendy