Profile activation by file fails when maven is run outside the pom's directory
------------------------------------------------------------------------------
Key: MNG-3017
URL: http://jira.codehaus.org/browse/MNG-3017
Project: Maven 2
Issue Type: Bug
Affects Versions: 2.0.6
Environment: Darwin Kernel Version 8.9.1
java version "1.6.0-dp"
Java(TM) SE Runtime Environment (build 1.6.0-dp-b88-34)
Java HotSpot(TM) Client VM (build 1.6.0-b88-17-release, mixed mode, sharing)
Reporter: Jean-Luc Wasmer
Attachments: maven-test.tgz
When calling maven outside the pom's directory, the profile activation fails:
macb:~/Development/maven-test/parent jl$ mvn install
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] Example parent
[INFO] Example module1
[INFO] Example module2
[INFO]
----------------------------------------------------------------------------
....
macb:~/Development/maven-test jl$ mvn -f parent/pom.xml install
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] Example parent
[INFO] Example module1
[INFO]
----------------------------------------------------------------------------
....
--
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