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

maven2 project doesn't pick up environment variable MAVEN_OPTS

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Critical Critical
    • maven-plugin
    • None
    • Platform: All, OS: All

      In an M2 project, environment MAVEN_OPTS seems to be ignored. That means that
      when having some common settings (e.g. -Dhttp.proxyHost) I need to copy those
      values into the "MAVEN_OPTS" field for every single project. That causes a
      maintenance nightmare.
      I've noticed that on Solaris, but I suspect it affects other platforms as well.

            abayer Andrew Bayer
            jpawlowski jpawlowski
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: