This is an automated email from the ASF dual-hosted git repository.
veithen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ws-axiom.git
The following commit(s) were added to refs/heads/master by this push:
new b2f5c3b49 Require Java 21 for the build
b2f5c3b49 is described below
commit b2f5c3b4997a15871faf3b1896d836320f811149
Author: Andreas Veithen-Knowles <[email protected]>
AuthorDate: Sun Oct 5 10:48:32 2025 +0000
Require Java 21 for the build
---
.devcontainer/devcontainer.json | 2 +-
.github/workflows/ci.yml | 6 +++---
pom.xml | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json
index 981436a7a..8dde8d5fe 100644
--- a/.devcontainer/devcontainer.json
+++ b/.devcontainer/devcontainer.json
@@ -2,7 +2,7 @@
"image": "mcr.microsoft.com/devcontainers/base:ubuntu-22.04",
"features": {
"ghcr.io/devcontainers/features/java:1": {
- "version": "17",
+ "version": "21",
"installMaven": "true"
},
"ghcr.io/devcontainers-contrib/features/mvnd-sdkman:2": {
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 1f97bb9cb..d0b435b42 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -28,7 +28,7 @@ jobs:
strategy:
fail-fast: false
matrix:
- java: [ 17, 21, 23 ]
+ java: [ 21, 23 ]
name: "Java ${{ matrix.java }}"
runs-on: ubuntu-22.04
steps:
@@ -69,7 +69,7 @@ jobs:
uses: actions/setup-java@v5
with:
distribution: 'zulu'
- java-version: 17
+ java-version: 21
- name: Build
run: mvn -B -e -Dmaven.test.skip=true package site-deploy
- name: Remove Snapshots
@@ -96,7 +96,7 @@ jobs:
uses: actions/setup-java@v5
with:
distribution: 'zulu'
- java-version: 17
+ java-version: 21
server-id: apache.snapshots.https
server-username: NEXUS_USER
server-password: NEXUS_PW
diff --git a/pom.xml b/pom.xml
index b03a6a7d5..95b15ac3f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -918,7 +918,7 @@
<rules>
<requireJavaVersion>
<!-- A more recent Java version is required by
some of the Maven plugins in the build. -->
- <version>17</version>
+ <version>21</version>
</requireJavaVersion>
<requireMavenVersion>
<!-- Require a recent Maven version for consistent
build results -->