Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-1661

Read maven settings.xml from $M2_HOME/conf, too

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • maven-plugin
    • None
    • Platform: All, OS: All

      Maven reads its settings from either of two places.

      From http://maven.apache.org/settings.html :

      "There are two locations where a settings.xml file may live:

      The Maven install: $M2_HOME/conf/settings.xml
      A user's install: ${user.home}/.m2/settings.xml"

      Hudson, however, reads only the user specific settings and ignores the site-wide
      settings.

      It would be more consistent if hudson did exactly the same as maven:

      It should read $M2_HOME/conf/settings.xml if ${user.home}/.m2/settings.xml can't
      be found.

            Unassigned Unassigned
            hok hok
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: