[ http://jira.codehaus.org/browse/MNG-3017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=134053#action_134053 ]
Nathaniel Harward commented on MNG-3017: ---------------------------------------- Also does not work in 2.0.9: Maven version: 2.0.9 Java version: 1.5.0_13 OS name: "mac os x" version: "10.5.2" arch: "i386" Family: "unix" I thought MNG-2809 might fix this by looking for any/all variables, but apparently not; it seems to _only_ look for ${user.home} :( > 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 > Components: Profiles > 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 > Fix For: 2.0.x > > 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