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

Plugin parent POM changes for requiring Java 11

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • _unsorted
    • None

      The plugin parent POM currently has many Java 8 specific elements that will need adjusting when we require Java 11.

      • We currently rely heavily on Animal Sniffer, including the Animal Sniffer signatures, to verify that we do not use APIs from future versions of Java. Since this functionality is handled by the -release flag in newer version of Java, we should remove all references to Animal Sniffer and Animal Snfiffer signatures.
      • We currently configure Enforce Bytecode Version to enforce a maximum JDK version of Java 8. This should be updated to enforce a maximum JDK version of Java 11.
      • We currently set maven.compiler.release and maven.compiler.testRelease to Java 8. When we begin requiring Java 11, these need to be changed to Java 11.
      • Any Java profiles that apply only to Java 8 or below will become superfluous when we begin requiring Java 11. Such profiles can be deleted.

            Unassigned Unassigned
            basil Basil Crow
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: