You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by sn...@apache.org on 2025/03/03 08:27:01 UTC

(flink) branch master updated: [FLINK-37387][build] Enable license check for jdk17 and jdk21

This is an automated email from the ASF dual-hosted git repository.

snuyanzin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/master by this push:
     new f1a5add443d [FLINK-37387][build] Enable license check for jdk17 and jdk21
f1a5add443d is described below

commit f1a5add443d38af9975d21cde502eff8ed24f565
Author: Sergey Nuyanzin <sn...@gmail.com>
AuthorDate: Mon Mar 3 09:26:53 2025 +0100

    [FLINK-37387][build] Enable license check for jdk17 and jdk21
---
 tools/ci/compile.sh | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/tools/ci/compile.sh b/tools/ci/compile.sh
index 3d2d17d02eb..8e55a9717f6 100755
--- a/tools/ci/compile.sh
+++ b/tools/ci/compile.sh
@@ -114,10 +114,7 @@ EXIT_CODE=$(($EXIT_CODE+$?))
 echo "============ Run license check ============"
 
 find $MVN_VALIDATION_DIR
-# We use a different Scala version with Java 17 and 21
-if [[ ${PROFILE} != *"jdk17"* ]] && [[ ${PROFILE} != *"jdk21"* ]]; then
-  MVN=$MVN ${CI_DIR}/license_check.sh $MVN_CLEAN_COMPILE_OUT $MVN_VALIDATION_DIR || exit $?
-fi
+MVN=$MVN ${CI_DIR}/license_check.sh $MVN_CLEAN_COMPILE_OUT $MVN_VALIDATION_DIR || exit $?
 
 exit $EXIT_CODE