Matthias Pohl created FLINK-33291: ------------------------------------- Summary: 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.17.1, 1.16.2, 1.18.0, 1.19.0 Reporter: Matthias Pohl
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)