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
Attachments: testcase.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