[ http://jira.codehaus.org/browse/MNG-2206?page=comments#action_65665 ] 

Olivier Lamy commented on MNG-2206:
-----------------------------------

As I understand there is a random profile activation.
IMO it's a bug, because if I activate a profile with -P cli option this profile 
must win !.
WDYT ?
Olivier

> bad properties interpolation with profiles 
> -------------------------------------------
>
>          Key: MNG-2206
>          URL: http://jira.codehaus.org/browse/MNG-2206
>      Project: Maven 2
>         Type: Bug

>   Components: Inheritence and Interpolation
>     Versions: 2.0.3
>  Environment: cygwin
>     Reporter: Olivier Lamy
>     Priority: Blocker
>  Attachments: pom.xml
>
>
> create two profiles in your settings.xml
> - id  test with a property <test>dev</test> 
> - id snapshots with a property <test>snapshots</test> 
> <activeProfiles>
> <activeProfile>dev</activeProfile>
> <activeProfile>snapshots</activeProfile>
> </activeProfiles>
> With the attached pom run :
> mvn validate :
> [echo] dev 
> mvn -P snapshots validate :
> [echo] dev
> Olivier

-- 
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

Reply via email to