From 8fd8b38e59cdf4eb04ee6e41d1f09fefb3990941 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Corbi=C3=A8re?= Date: Sat, 21 Nov 2026 23:46:21 +0100 Subject: [PATCH] Move to ascopes and Java 17 for building --- .github/workflows/deploy_to_central.yaml | 4 ++-- .github/workflows/java_test.yml | 4 ++-- biscuit-core/pom.xml | 9 +++++++++ pom.xml | 23 +++++------------------ 4 files changed, 18 insertions(+), 22 deletions(-) diff --git a/.github/workflows/deploy_to_central.yaml b/.github/workflows/deploy_to_central.yaml index ce941419..13dc8a38 100644 --- a/.github/workflows/deploy_to_central.yaml +++ b/.github/workflows/deploy_to_central.yaml @@ -10,10 +10,10 @@ jobs: steps: - name: Checkout uses: actions/checkout@v7 - - name: Set up JDK 11 and Maven Central Repository + - name: Set up JDK 17 and Maven Central Repository uses: actions/setup-java@v6 with: - java-version: "11" + java-version: "17" distribution: "temurin" cache: maven server-id: central diff --git a/.github/workflows/java_test.yml b/.github/workflows/java_test.yml index 239d9991..cb778a77 100644 --- a/.github/workflows/java_test.yml +++ b/.github/workflows/java_test.yml @@ -15,10 +15,10 @@ jobs: steps: - name: Checkout uses: actions/checkout@v7 - - name: Set up JDK 11 + - name: Set up JDK 17 uses: actions/setup-java@v6 with: - java-version: "11" + java-version: "17" distribution: "temurin" cache: maven - name: Check Spotless format diff --git a/biscuit-core/pom.xml b/biscuit-core/pom.xml index 95eaf71e..16b9d493 100644 --- a/biscuit-core/pom.xml +++ b/biscuit-core/pom.xml @@ -29,4 +29,13 @@ ${jackson.version} + + + + + io.github.ascopes + protobuf-maven-plugin + + + diff --git a/pom.xml b/pom.xml index 659a55e4..846b77e4 100644 --- a/pom.xml +++ b/pom.xml @@ -22,8 +22,7 @@ UTF-8 - 11 - 11 + 11 3.2.8 @@ -39,8 +38,7 @@ 3.25.5 - 0.6.1 - 1.7.1 + 5.1.12 1.6 2.17.3 1.84 @@ -126,28 +124,21 @@ - - - kr.motd.maven - os-maven-plugin - ${os-maven-plugin.version} - - - org.xolstice.maven.plugins + io.github.ascopes protobuf-maven-plugin ${protobuf-maven-plugin.version} - compile + generate - com.google.protobuf:protoc:${protobuf.version}:exe:${os.detected.classifier} + ${protobuf.version} @@ -210,10 +201,6 @@ -Xdoclint:none - - org.xolstice.maven.plugins - protobuf-maven-plugin - maven-failsafe-plugin 2.22.2