Uploaded image for project: 'Maven Compiler Plugin'
  1. Maven Compiler Plugin
  2. MCOMPILER-404

Update default source/target from 1.6 to 1.7

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.8.1
    • 3.9.0

    Description

      Similar to what was done in MCOMPILER-335 the default should now be 1.7, as that is the oldest version being supported by javac in Java 12 and Java 13 (https://docs.oracle.com/en/java/javase/12/tools/javac.html#GUID-AEEC9F07-CB49-4E96-8BC7-BCC2C7F725C9__GUID-D343F6B4-3FDD-43A8-AD24-43DD70214471).

      Otherwise compiling sources with Maven on Java 12+ will lead to errors in case no explicit source/target/release is set.

       

      Note: ensure to update index.apt.vm as well.

       

      Attachments

        Issue Links

          Activity

            People

              rfscholte Robert Scholte
              kwin Konrad Windszus
              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 - 10m
                  10m