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

maven2 project doesn't pick up environment variable MAVEN_OPTS

    • 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.

          [JENKINS-2932] maven2 project doesn't pick up environment variable MAVEN_OPTS

          jpawlowski created issue -
          mdonohue made changes -
          Link New: This issue is duplicated by JENKINS-3536 [ JENKINS-3536 ]
          Andrew Bayer made changes -
          Assignee New: Andrew Bayer [ abayer ]
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Andrew Bayer made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          Jenkins IRC Bot made changes -
          Component/s New: maven-plugin [ 16033 ]
          Component/s Original: maven2 [ 15487 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 133005 ] New: JNJira + In-Review [ 201846 ]

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

              Created:
              Updated:
              Resolved: