From 42af60e4697e78997b760b3b14246c6cf39feaf6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jarl=20Andr=C3=A9=20H=C3=BCbenthal?= Date: Thu, 23 Jul 2026 17:50:00 +0200 Subject: [PATCH] Bump junit-jupiter-engine to 6.1.2 and raise baseline to Java 17 JUnit 6 requires Java 17+, so the dependabot bump to 6.1.2 (#265) can't land without also raising the project's Java baseline from 11 to 17. Updates pom.xml compiler settings, CI workflow matrices, the Nix dev shells, and README accordingly. Supersedes #265. Co-Authored-By: Claude Sonnet 5 --- .github/workflows/maven.yml | 2 +- .github/workflows/publish.yaml | 2 +- README.md | 4 ++-- flake.nix | 2 +- pom.xml | 8 ++++---- shell.nix | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 58a9dd1..9a5a5c0 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -11,7 +11,7 @@ jobs: strategy: matrix: - java-version: [ 11, 17, 21, 25 ] + java-version: [ 17, 21, 25 ] steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index e365fa0..3775d30 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -42,7 +42,7 @@ jobs: - name: Set up Maven Central Repository uses: actions/setup-java@v4 with: - java-version: 11 + java-version: 17 distribution: 'temurin' # `central` matches in pom.xml; the legacy # `s01.oss.sonatype.org` host is dead (OSSRH was sunset 2025-06-30). diff --git a/README.md b/README.md index babb16f..146070c 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ Backed by the official [`quay.io/ceph/demo`](https://quay.io/repository/ceph/dem ## Requirements -- Java 11+ +- Java 17+ - Docker (or a compatible daemon — Podman / Colima / Docker Desktop / Rancher Desktop / Testcontainers Cloud) ## Installation @@ -241,7 +241,7 @@ new CephContainer().waitingFor(Wait.forListeningPort()); ## Contributing -Issues and PRs welcome. The repo ships a Nix dev shell — `nix develop` (or `direnv allow`) gives you JDK 11, Maven, and the Docker CLI, so you don't need to install the toolchain on your host. +Issues and PRs welcome. The repo ships a Nix dev shell — `nix develop` (or `direnv allow`) gives you JDK 17, Maven, and the Docker CLI, so you don't need to install the toolchain on your host. Run the test suite with: diff --git a/flake.nix b/flake.nix index ce0b2e2..bb98f7f 100644 --- a/flake.nix +++ b/flake.nix @@ -10,7 +10,7 @@ flake-utils.lib.eachDefaultSystem (system: let pkgs = nixpkgs.legacyPackages.${system}; - jdk = pkgs.jdk11; + jdk = pkgs.jdk17; in { devShells.default = pkgs.mkShell { diff --git a/pom.xml b/pom.xml index 85a945e..f7baa8f 100644 --- a/pom.xml +++ b/pom.xml @@ -21,9 +21,9 @@ - 11 - 11 - 11 + 17 + 17 + 17 UTF-8 UTF-8 @@ -171,7 +171,7 @@ org.junit.jupiter junit-jupiter-engine - 5.12.0 + 6.1.2 test diff --git a/shell.nix b/shell.nix index dbd8e4e..f06b52f 100644 --- a/shell.nix +++ b/shell.nix @@ -1,7 +1,7 @@ { pkgs ? import { } }: let - jdk = pkgs.jdk11; + jdk = pkgs.jdk17; in pkgs.mkShell { packages = [