You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Konrad Windszus (JIRA)" <ji...@apache.org> on 2018/05/12 08:59:00 UTC
[jira] [Created] (MPLUGIN-337) Try to derive JDK requirements also
from target parameter
Konrad Windszus created MPLUGIN-337:
---------------------------------------
Summary: Try to derive JDK requirements also from target parameter
Key: MPLUGIN-337
URL: https://issues.apache.org/jira/browse/MPLUGIN-337
Project: Maven Plugin Tools
Issue Type: Bug
Components: Plugin Plugin
Affects Versions: 3.5.1
Reporter: Konrad Windszus
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
# the explicitly set requirement (via plugin configuration parameter)
# 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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)