settings.xml has this
<activeProfiles>
<activeProfile>appserverConfig</activeProfile>
</activeProfiles>
pom.xml of MavenProject2 project has this
<profile>
<id>appserverConfig-dev-2</id>
<activation>
<activeByDefault>true</activeByDefault>
<property>
<name>env</name>
<value>dev-2</value>
</property>
</activation>
<properties>
<appserver.home>/path/to/another/dev/appserver2</appserver.home>
</properties>
</profile>
I tried mvn help:active-profiles using the maven 2.1-SNAPSHOT I only got
- appserverConfig-dev-2 (source: pom)
appserverConfig defined in settings.xml is not shown
I am having the exact same issue on windows with JDK 1.5.0_14