Uploaded image for project: 'Build'
  1. Build
  2. BUILD-1013

Allow different Java versions for test compiler

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • POMs 54
    • None
    • Poms
    • None

      When using JDK <= 8 it was possible to configure a different Java version for the test compiler by setting the javaVersionForTests property. Somehow this functionality is not available for JDK > 8 (or got lost along the way).

      We should restore this by adding

       <configuration>
           <testRelease>${javaVersionForTests}</testRelease>
       </configuration> 

      to the maven-compiler-plugin of the compiler-jdk9 profile.

        Acceptance criteria

              mduerig Michael Duerig
              mduerig Michael Duerig
              Foundation
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Work Started: