Uploaded image for project: 'Maven Plugin Tools'
  1. Maven Plugin Tools
  2. MPLUGIN-337

Try to derive JDK requirements also from release parameter

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.5.1
    • Fix Version/s: 3.6.0
    • Component/s: Plugin Plugin
    • Labels:
      None

      Description

      Currently the JDK requirements are extracted (https://github.com/apache/maven-plugin-tools/blob/1087f55e8cdfd8c1fec605a7cb9004efaee4e592/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/PluginReport.java#L759) from either

      1. the explicitly set requirement (via plugin configuration parameter)
      2. or by evaluating the maven-compiler-plugin's target parameter

      With Java 9 it is pretty common to use release instead (https://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html#release). Therefore this parameter should be evaluated as well.

        Attachments

          Activity

            People

            • Assignee:
              olamy Olivier Lamy (*$^¨%`£)
              Reporter:
              kwin Konrad Windszus
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: