Uploaded image for project: 'Maven Ant Tasks (RETIRED)'
  1. Maven Ant Tasks (RETIRED)
  2. MANTTASKS-82

Environment variables are not resolved in settings files

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.7
    • 2.0.8
    • None
    • None

    Description

      (Pulled Item 2 of Issue 80 out to this Issue):

      when i use a settings file in antlib like in
      <property name="gs" value="d:/laglap3/HEAD_CI/tools/maven-2.0.7/conf/settings.xml"/>
      <install file="target/xxx.jar" settingsFile="${gs}">

      and, in the settings file, I use a environment variable, like:
      <localRepository>${env.MPA_ROOT}/mavenrepo</localRepository>

      then this environment variable MPA_ROOT is NOT resolved to its value.

      Note that this is inconsistent to the behaviour of mvn.bat

      Attachments

        Issue Links

          Activity

            People

              hboutemy Herve Boutemy
              gerhard6 Gerhard Langs
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: