From 161902530d447ba6eca99cea48c743f25c40a2e2 Mon Sep 17 00:00:00 2001 From: Gang Li Date: Tue, 17 Mar 2026 07:19:46 +0000 Subject: [PATCH] Rollback to java 11 build env And also do following rollback: * jakarta.enterprise:jakarta.enterprise.cdi-api to 4.0.1 * org.jboss.weld.se:weld-se-shaded from 5.1.2.Final to 5.1.2 --- .github/workflows/maven-push.yml | 8 ++++---- .github/workflows/maven-verify.yml | 4 ++-- pom.xml | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/maven-push.yml b/.github/workflows/maven-push.yml index 40f669f..f3ad8ab 100644 --- a/.github/workflows/maven-push.yml +++ b/.github/workflows/maven-push.yml @@ -34,15 +34,15 @@ jobs: - name: Set up JDK uses: actions/setup-java@v5 with: - java-version: '17' + java-version: '11' distribution: 'temurin' architecture: x64 - - uses: s4u/maven-settings-action@v2.8.0 + - uses: s4u/maven-settings-action@v4.0.0 with: sonatypeSnapshots: true - - uses: s4u/maven-settings-action@v2.8.0 + - uses: s4u/maven-settings-action@v4.0.0 if: ${{ github.event_name == 'push' }} with: servers: | @@ -54,4 +54,4 @@ jobs: - name: Deploy the artifact if: ${{ github.event_name == 'push' }} - run: mvn help:effective-settings -B -V clean deploy -e \ No newline at end of file + run: mvn help:effective-settings -B -V clean deploy -e diff --git a/.github/workflows/maven-verify.yml b/.github/workflows/maven-verify.yml index f038584..c659180 100644 --- a/.github/workflows/maven-verify.yml +++ b/.github/workflows/maven-verify.yml @@ -30,11 +30,11 @@ jobs: - name: Set up JDK uses: actions/setup-java@v5 with: - java-version: '17' + java-version: '11' distribution: 'temurin' architecture: x64 - - uses: s4u/maven-settings-action@v2.8.0 + - uses: s4u/maven-settings-action@v4.0.0 with: sonatypeSnapshots: true diff --git a/pom.xml b/pom.xml index b8834b4..d1acd2d 100644 --- a/pom.xml +++ b/pom.xml @@ -45,10 +45,10 @@ UTF-8 false 1.9.2 - 6.0.4.Final + 5.1.2.Final 3.0.0 2.0.1 - 4.1.0 + 4.0.1