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

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

This works fine:
<localRepository>${env.HOME}/.m2/${env.EXECUTOR_NUMBER}/repository</localRepository>

This doesn't:
<localRepository>${user.home}/.m2/${env.EXECUTOR_NUMBER}/repository</localRepository>
Caused by: java.io.FileNotFoundException: /.m2/${env.EXECUTOR_NUMBER}

Maybe Hudson doesn't behave as expected...

> 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

        

Reply via email to