You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Patrik Kleindl (JIRA)" <ji...@codehaus.org> on 2009/04/10 13:45:05 UTC

[jira] Commented: (MNG-3946) user.home not expanded in conf/settngs.xml

    [ http://jira.codehaus.org/browse/MNG-3946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=172621#action_172621 ] 

Patrik Kleindl commented on MNG-3946:
-------------------------------------

Same issue here
Windows XP
Maven 2.0.10 and 2.1.0
Java  1.5.0_17 and 1.6

Came accross this when i tried to set a separate local repository per EXECUTOR_NUMBER in Hudson (${env.EXECUTOR_NUMBER}), when this didn't work i tried it with ${user.home} alone and this didn't work as well.

> user.home not expanded in conf/settngs.xml
> ------------------------------------------
>
>                 Key: MNG-3946
>                 URL: http://jira.codehaus.org/browse/MNG-3946
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Settings
>    Affects Versions: 2.0.9
>         Environment: MacOS 10.5
>            Reporter: benson margulies
>             Fix For: 2.1.x
>
>
> I have the following in conf/settings.xml in my maven install tree.
>   <localRepository>${user.home}/.m2/btrepository</localRepository>
> The user.home does not expand. Using a ~ doesn't help. I still end up with a .m2 directory in the root.
> [INFO] [install:install]
> [INFO] Installing /Users/benson/x/tip/rlp/utilities/source/maven-buildtools/target/common-buildtools-7.0-SNAPSHOT.jar to /.m2/btrepository/com/basistech/common-buildtools/7.0-SNAPSHOT/common-buildtools-7.0-SNAPSHOT.jar

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