Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Duplicate
-
Affects Version/s: 2.1
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:linux (never tried it in windows), sun's jdk 1.5.0_12
-
Number of attachments :
Description
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
Attachments
Issue Links
| This issue is related to: | ||||
| MNG-3732 | [regression] project.getActiveProfiles() has not the same behaviour |
|
|
|
I am having the exact same issue on windows with JDK 1.5.0_14