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

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

Sorry for bad entry in the issue.
read id dev with a property <test>dev</test> instead of the previous.
And that's what I have done.
And I have the same result.
But you mean activeByDefault override the profile forced in the cli ??
I have problem with this because i need to declare my company repositories in 
the default profile.
I'm agree on remove "activeByDefault" : It works on a solaris machine but not 
on my cygwin (probably a bad configuration of it on my machine I will check).
Thanks,
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