Uploaded image for project: 'Parquet'
  1. Parquet
  2. PARQUET-2458

Java compiler should use release instead of source/target

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.14.0
    • None
    • None

    Description

      Parquet project is configuring `source` and `target` properties to make sure that the codebase is compiled for Java 8, but starting Java 9, the `release` argument is the superior solution as it also includes the boot classpath.

       

      Starting with maven-compiler-plugin 3.13.0 which fixed MCOMPILER-582, the plugin is conditionally emitting the `–release` argument only if the java version is 9 or higher, so no profile is required anymore.

      Attachments

        Issue Links

          Activity

            People

              laurent Laurent Goujon
              laurent Laurent Goujon
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: