[ 
http://jira.codehaus.org/browse/MNG-4471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

J C updated MNG-4471:
---------------------

    Attachment: testcase2.xml

To reproduce:
1. Run "mvn -f testcase2.xml help:active-profiles"
2. Expected result: both profiles should have been activated;
   Observed result: only one profile is activated, 
   the "testcase2" profile is not activated. 


> Profile activation fails if <file> contains variables 
> ------------------------------------------------------
>
>                 Key: MNG-4471
>                 URL: http://jira.codehaus.org/browse/MNG-4471
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Profiles
>    Affects Versions: 3.0-alpha-5
>         Environment: Mac OS X 10.6.2
>            Reporter: J C
>            Assignee: Benjamin Bentmann
>         Attachments: pom.xml, testcase.xml, testcase2.xml
>
>
> See the attached testcase.
> The profile is not activated when <file> has variables in it:
> <file><exists>${env.M2_HOME}/bin/mvn</exists></file>
> But when the path is absolute, it works:
> <file><exists>/my/maven/home/bin/mvn</exists></file>

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