From 2f4fc3dbd2a33672d2a60d06843be373d30602ea Mon Sep 17 00:00:00 2001 From: ruhan Date: Wed, 4 Feb 2026 15:24:38 +0700 Subject: [PATCH 1/2] Pin GitHub Actions runners to ubuntu-22.04 The ubuntu-latest runner switched from Ubuntu 22.04 to Ubuntu 24.04 on Jan 17, 2025, which includes Maven 3.9.12. Maven 3.9.6+ enforces stricter Java prerequisites for plugins. While quarkus-maven-plugin 3.6.9 requires Java 17 to execute, our codebase uses Datastax Cassandra Driver 3.7.2 (from path-mapped-storage) which only supports Java 8-11. Upgrading to Datastax Driver 4.x would be a major migration. Pinning to ubuntu-22.04 keeps us on an older Maven version that doesn't enforce the plugin Java requirement as strictly, allowing builds to continue on Java 11. Co-Authored-By: Claude Sonnet 4.5 --- .github/workflows/merge-build.yml | 2 +- .github/workflows/pr-build.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/merge-build.yml b/.github/workflows/merge-build.yml index da0b729..9f9c1d9 100644 --- a/.github/workflows/merge-build.yml +++ b/.github/workflows/merge-build.yml @@ -25,7 +25,7 @@ jobs: publish-snapshot: name: publish to oss sonatype & push image - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 permissions: contents: read diff --git a/.github/workflows/pr-build.yml b/.github/workflows/pr-build.yml index 73eaf9b..93008f2 100644 --- a/.github/workflows/pr-build.yml +++ b/.github/workflows/pr-build.yml @@ -24,7 +24,7 @@ on: [pull_request] jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v2 From 04fd420155dc98f8fbdaa5ecf27cac6a09315854 Mon Sep 17 00:00:00 2001 From: ruhan Date: Wed, 4 Feb 2026 15:29:23 +0700 Subject: [PATCH 2/2] Install Maven 3.8.8 explicitly to avoid Java 17 requirement Maven 3.9.0+ enforces stricter Java prerequisites for plugins. The quarkus-maven-plugin:3.6.9 requires Java 17 to execute when used with Maven 3.9.x, even though it's compiled for Java 11. Maven 3.8.8 (last pre-3.9 version) doesn't enforce this check, allowing the build to work with Java 11. Co-Authored-By: Claude Sonnet 4.5 --- .github/workflows/merge-build.yml | 5 +++++ .github/workflows/pr-build.yml | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/.github/workflows/merge-build.yml b/.github/workflows/merge-build.yml index 9f9c1d9..84168a5 100644 --- a/.github/workflows/merge-build.yml +++ b/.github/workflows/merge-build.yml @@ -44,6 +44,11 @@ jobs: architecture: x64 java-version: 11 + - name: Set up Maven + uses: stCarolas/setup-maven@v4.5 + with: + maven-version: 3.8.8 + - name: maven-settings-xml-action uses: whelk-io/maven-settings-xml-action@v14 if: ${{ github.event.repository.fork == false }} diff --git a/.github/workflows/pr-build.yml b/.github/workflows/pr-build.yml index 93008f2..bbc3277 100644 --- a/.github/workflows/pr-build.yml +++ b/.github/workflows/pr-build.yml @@ -35,6 +35,11 @@ jobs: java-version: '11' distribution: 'adopt' + - name: Set up Maven + uses: stCarolas/setup-maven@v4.5 + with: + maven-version: 3.8.8 + - name: maven-settings-xml-action uses: whelk-io/maven-settings-xml-action@v14 with: