From 33e67a5391f84aa9b74961d06f28d40de9c27204 Mon Sep 17 00:00:00 2001 From: chenhang Date: Tue, 28 Feb 2023 10:58:56 +0800 Subject: [PATCH] Revert "upgrade jdk17. (#122)" This reverts commit b299c403b89f12416438e7576838ae548c1645c4. --- .github/workflows/pr-unit-tests.yml | 9 +++------ pom.xml | 24 ++++++++++-------------- 2 files changed, 13 insertions(+), 20 deletions(-) diff --git a/.github/workflows/pr-unit-tests.yml b/.github/workflows/pr-unit-tests.yml index d34d723..c3079ba 100644 --- a/.github/workflows/pr-unit-tests.yml +++ b/.github/workflows/pr-unit-tests.yml @@ -17,13 +17,10 @@ jobs: steps: - uses: actions/checkout@v1 - - - name: Set up JDK 17 - uses: actions/setup-java@v2 - if: ${{ needs.changed_files_job.outputs.docs_only != 'true' }} + - name: Set up JDK 1.8 + uses: actions/setup-java@v1 with: - distribution: 'temurin' - java-version: 17 + java-version: 1.8 - name: License check run: mvn -ntp -B license:check diff --git a/pom.xml b/pom.xml index d2ebe26..d680ed1 100644 --- a/pom.xml +++ b/pom.xml @@ -37,13 +37,13 @@ It is a lakehouse connector streaming convert data between lakehouse and Apache Pulsar. - 8 - 8 - 17 + 1.8 + 1.8 + 1.8 UTF-8 UTF-8 true - 4.2.2 + 3.1.8 0 @@ -71,11 +71,11 @@ 3.0 3.1.2 - 3.10.1 - 3.0.0-M3 + 3.7.0 + 2.21.0 1.2.0 8.37 - 4.2.2 + 3.1.8 @@ -564,7 +564,8 @@ maven-compiler-plugin ${maven-compiler-plugin.version} - UTF-8 + ${java.version} + ${java.version} -Xlint:deprecation -Xlint:unchecked @@ -577,17 +578,12 @@ org.apache.maven.plugins maven-surefire-plugin + ${maven-surefire-plugin.version} ${redirectTestOutputToFile} false 1800 ${testRetryCount} - - --add-opens java.base/java.util=ALL-UNNAMED - --add-opens java.base/java.lang=ALL-UNNAMED - --add-opens java.base/java.util.concurrent=ALL-UNNAMED - --add-opens java.base/java.nio=ALL-UNNAMED -