I am trying to switch profiles for each environment.
I have dev-7777, and dev-7778
Then in my profiles.xml I have:
* <profile>
<id>dev-7777</id>
<properties>
<env>dev-7777</env>
<build.type>no-documentation</build.type>
</properties>
</profile>
<profile>
<id>dev-7778</id>
<properties>
<env>dev-7778</env>
<build.type>no-documentation</build.type>
</properties>
</profile>*
*When I run:*
*mvn -P dev-7777 assembly:assembly -e -X > 7777.out.txt*
*
I keep getting this:*
*[WARNING] Overriding profile: 'dev-7777' (source: pom) with new instance
from source: profiles.xml
[WARNING] Overriding profile: 'dev-7778' (source: pom) with new instance
from source: profiles.xml*
so it looks like I get both, but 7778 seems to always override 7777. I only
want one of these profiles active at the same time. Can someone please help
me out?
--
Thanks,
Mick Knutson
http://www.baselogic.com
http://www.blincmagazine.com
http://www.djmick.com
http://www.myspace.com/mickknutson
http://www.myspace.com/BLiNCMagazine
http://tahoe.baselogic.com
---