Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-3946

user.home not expanded in conf/settngs.xml

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.0.9
    • None
    • Settings
    • None
    • MacOS 10.5

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              bentmann Benjamin Bentmann
              bmargulies Benson Margulies
              Votes:
              3 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: