You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "pinghe (JIRA)" <ji...@codehaus.org> on 2006/01/19 06:59:40 UTC
[jira] Commented: (MNG-1985) Triggering Profiles bugs
[ http://jira.codehaus.org/browse/MNG-1985?page=comments#action_56300 ]
pinghe commented on MNG-1985:
-----------------------------
=======env 2:
exec: mvn projecthelp:active-profiles
output:
* os-win32 (source: pom)
expect:
* env-prod (source: pom) ------>env-common
* os-win32 (source: pom)
> Triggering Profiles bugs
> ------------------------
>
> Key: MNG-1985
> URL: http://jira.codehaus.org/browse/MNG-1985
> Project: Maven 2
> Type: Bug
> Versions: 2.0.2
> Environment: windows2000 maven 2.02
> Reporter: pinghe
> Priority: Critical
>
>
> =======env 1,
> inside pom.xml
> <profiles>
> <profile>
> <id>env-common</id>
> <activation>
> <activeByDefault>true</activeByDefault>
> </activation>
> </profile>
> <profile>
> <id>os-win32</id>
> <activation>
> <activeByDefault>true</activeByDefault>
> <!--os>
> <family>windows</family>
> </os-->
> <property>
> <name>performRelease</name>
> </property>
> </activation>
> </profile>
> <profile>
> <id>env-prod</id>
> <activation>
> <property>
> <name>performRelease</name>
> </property>
> </activation>
> </profile>
> </profiles>
> exec: mvn projecthelp:active-profiles
> output:
> - env-common (source: pom)
> - os-win32 (source: pom)
> exec: mvn projecthelp:active-profiles -DperformRelease
> output:
> - env-prod (source: pom)
> - os-win32 (source: pom)
> expect:
> - env-prod (source: pom)
> - os-win32 (source: pom)
> - env-common (source: pom)
> =======env 2:
> inside pom.xml
> <profiles>
> <profile>
> <id>env-common</id>
> <activation>
> <activeByDefault>true</activeByDefault>
> </activation>
> </profile>
> <profile>
> <id>os-win32</id>
> <activation>
> <activeByDefault>true</activeByDefault>
> <os>
> <family>windows</family>
> </os>
> <property>
> <name>performRelease</name>
> </property>
> </activation>
> </profile>
> <profile>
> <id>env-prod</id>
> <activation>
> <property>
> <name>performRelease</name>
> </property>
> </activation>
> </profile>
> </profiles>
> exec: mvn projecthelp:active-profiles
> output:
> - os-win32 (source: pom)
> expect:
> - env-prod (source: pom)
> - os-win32 (source: pom)
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org