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

Invoke top-level Maven targets ignores JVM Options

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • maven-plugin
    • None

      1. Create a new Freestyle project.
      2. Add two "Invoke top-level Maven targets" build steps
      3. Click "advanced" on each build specify and specify "-Dhttps.protocols=SSLv3 -Dforce.http.jre.executor=true" for JVM Options
      4. Run the project. Notice that the JVM options are never used. Instead, I get this output:

      [boost_snapshot] $ /home/builds/.jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_auto-install_/bin/mvn -Dsonatype_password=**** -Dsonatype_username=**** -Plinux-i386-gcc-debug deploy
      

      This is reproducible always.

      The reason I consider this critical is there is a critical Maven bug that we cannot work around without the ability to specify MAVEN_OPTS. See http://jira.codehaus.org/browse/MNG-5363 for more information.

          [JENKINS-16331] Invoke top-level Maven targets ignores JVM Options

          cowwoc created issue -
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 147146 ] New: JNJira + In-Review [ 176824 ]

            Unassigned Unassigned
            cowwoc cowwoc
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: