[ https://issues.apache.org/jira/browse/FLINK-33291?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthias Pohl resolved FLINK-33291. ----------------------------------- Fix Version/s: 1.18.0 1.16.3 1.17.2 1.19.0 Resolution: Fixed master: 36caa02bf73bb4e1644451f71ca07860360ec0d8 1.18: 2f66dd4cfa5c7d0eb0f2ff0f03977034e8d0df75 1.17: 8e33eb6d5e23fcbf35bb347061f72e770641a3f7 1.16: a33d5326bd86562975426724a1ff76f3193a24a1 > The release profile of Flink does include enforcing the Java version only in > a "soft" way > ----------------------------------------------------------------------------------------- > > Key: FLINK-33291 > URL: https://issues.apache.org/jira/browse/FLINK-33291 > Project: Flink > Issue Type: Bug > Components: Build System > Affects Versions: 1.16.2, 1.18.0, 1.17.1, 1.19.0 > Reporter: Matthias Pohl > Assignee: Matthias Pohl > Priority: Major > Labels: pull-request-available > Fix For: 1.18.0, 1.16.3, 1.17.2, 1.19.0 > > > The vote on 1.18.0-rc2 > [revealed|https://lists.apache.org/thread/fbdl2w6wjmwk55y94ml91bpnhmh4rnm0] > that we don't do proper JDK version enforcement in {{release}} profile of the > Maven build. > This is added to ensure that Java 8 is used when releasing the artifacts. The > current configuration sets the version as a "soft" requirement (see > [documentation on > version|https://cwiki.apache.org/confluence/display/MAVENOLD/Dependency+Mediation+and+Conflict+Resolution#DependencyMediationandConflictResolution-DependencyVersionRanges] > which is referenced in the [Maven Enforcer Plugin > website|https://maven.apache.org/enforcer/maven-enforcer-plugin/]). > We should use square brackets to enforce the JDK version. The same can be > applied to the Maven version. -- This message was sent by Atlassian Jira (v8.20.10#820010)