[ http://jira.codehaus.org/browse/MNG-3946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=178392#action_178392 ]
Vitaliy Tkachenko commented on MNG-3946: ---------------------------------------- Either if the settings.xml is taken from the user home "~/.m2/settings.xml" ${user.home} is not expanded also when we have the following line in settings <localRepository>${user.home}/.m2/btrepository</localRepository> The result is ".m" directory in the root of the current drive. Reproduced on Windows XP SP3. > 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.2.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