Uploaded image for project: 'jclouds'
  1. jclouds
  2. JCLOUDS-1496

Update maven-compiler-plugin for increased JDK compatibility

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.0
    • Component/s: jclouds-core
    • Labels:
      None

      Description

      The maven-compiler-plugin is referenced in the wrong clause of the pom file.
      It should be within <project><build><pluginManagement><plugins>.
      (See for instance https://maven.apache.org/plugins/maven-compiler-plugin/usage.html )

      Otherwise you will see Nullptr Exceptions for instance with JDK11.

      For now I propose to only move the plugin and use current version 3.8.0. Increasing the errorprone module version will trigger a lot of diagnostics in errorprone plugins, which should be dealt seperately.

      Doublechecked: Still compiles with java 1.8

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                oflebbe Olaf Flebbe
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 40m
                  2h 40m