• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • maven-plugin
    • None
    • Platform: PC, OS: Windows XP

      I am running Hudson under Tomcat 5.5 with Java 1.5, building a single-module
      Maven project. Since version 5.5 of Tomcat, it can be run with a JRE rather than
      a JDK, as Tomcat comes bundled with the Java compiler from Eclipse.

      Initially, I ran into problems compiling Java because, with the default
      settings, it seemed to be using the JRE running Tomcat, which of course doesn't
      have tools.jar. I then setup a JDK properly in Hudson, ensured that the project
      was configured to use it, and tried again. It seemed to completely ignore this
      setting and continued using the same JRE. I tried re-starting, but that had no
      effect.

      The only way I got this to work was to start Tomcat using a JDK - it appeared
      that the JDK settings in Hudson were ignored.

      Thanks, Alex.

          [JENKINS-501] Selected JDK is ignored for Maven build

          alexmcmanus created issue -
          Kohsuke Kawaguchi made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          alexmcmanus made changes -
          Resolution Original: Fixed [ 1 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]
          Kohsuke Kawaguchi made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Reopened [ 4 ] New: Resolved [ 5 ]
          alexmcmanus made changes -
          Status Original: Resolved [ 5 ] New: Verified [ 10000 ]
          Vincent Latombe made changes -
          Status Original: Verified [ 10000 ] 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 [ 130574 ] New: JNJira + In-Review [ 199935 ]

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

              Created:
              Updated:
              Resolved: