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

Update maven-compiler-plugin for increased JDK compatibility

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.2.0
    • jclouds-core
    • 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

              Unassigned Unassigned
              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