[ http://jira.codehaus.org/browse/MNG-2206?page=all ]
Edwin Punzalan updated MNG-2206:
--------------------------------
Attachment: MNG-2206-maven-project.patch
> 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
> Assignee: Edwin Punzalan
> Priority: Blocker
> Fix For: 2.0.5
> Attachments: MNG-2206-maven-project.patch, pom.xml
>
> Original Estimate: 2 hours
> Remaining: 2 hours
>
> 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