[
http://jira.codehaus.org/browse/MPH-38?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=146283#action_146283
]
Vincent Siveton commented on MPH-38:
------------------------------------
Since it works with mvn 2.0.9, I guess it is a regression in mvn 2.1
> mvn help:active-profiles won't show the active profiles in settings.xml
> ------------------------------------------------------------------------
>
> Key: MPH-38
> URL: http://jira.codehaus.org/browse/MPH-38
> Project: Maven 2.x Help Plugin
> Issue Type: Bug
> Affects Versions: 2.1
> Environment: linux (never tried it in windows), sun's jdk 1.5.0_12
> Reporter: Allan G. Ramirez
> Fix For: 2.2
>
> Attachments: apache-maven-2.1-659801-bin.zip
>
>
> 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
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira