You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2023/10/17 13:40:00 UTC
[jira] [Updated] (FLINK-33291) The release profile of Flink does include enforcing the Java version only in a "soft" way
[ https://issues.apache.org/jira/browse/FLINK-33291?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated FLINK-33291:
-----------------------------------
Labels: pull-request-available (was: )
> 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
> Priority: Major
> Labels: pull-request-available
>
> 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)