From b3f31c5ea2f7b58a2cc4709781eac74e604fb814 Mon Sep 17 00:00:00 2001 From: Asta86 Date: Thu, 19 Mar 2026 15:58:32 -0300 Subject: [PATCH 1/2] Use Java 25 --- pom.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index a714fa2..355091a 100644 --- a/pom.xml +++ b/pom.xml @@ -5,12 +5,12 @@ org.springframework.boot spring-boot-starter-parent - 4.0.0 + 4.0.3 cf.maybelambda http-validator - 3.0.3 + 4.0.0 http-validator Retrieves target HTTP resources and responses, validates them and notifies about their current status. @@ -63,7 +63,7 @@ - 21 + 25 ${project.build.directory}/generated-snippets From ff356a7f0751c836259669e530e1ccbdf06810bd Mon Sep 17 00:00:00 2001 From: Asta86 Date: Thu, 19 Mar 2026 16:04:30 -0300 Subject: [PATCH 2/2] Use Java 25 --- .github/workflows/ci.yml | 4 ++-- src/docs/asciidocs/api-guide.adoc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f7fc6d4..5d857e0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,10 +28,10 @@ jobs: steps: - uses: actions/checkout@v6 - - name: Set up JDK 21 + - name: Set up JDK 25 uses: actions/setup-java@v5 with: - java-version: '21' + java-version: '25' distribution: 'corretto' - name: Build with Maven diff --git a/src/docs/asciidocs/api-guide.adoc b/src/docs/asciidocs/api-guide.adoc index 2db2cec..077984d 100644 --- a/src/docs/asciidocs/api-guide.adoc +++ b/src/docs/asciidocs/api-guide.adoc @@ -186,12 +186,12 @@ Finally, run java -jar target/http-validator-x.y.z.jar ---- -**NOTE:** If more than one version of Java is installed on the host a suitable one (**v21+**) might need to be specified +**NOTE:** If more than one version of Java is installed on the host a suitable one (**v25+**) might need to be specified instead of the default before running the commands above, i.e. [source,bash] ---- -export JAVA_HOME=/usr/lib/jvm/java-21-openjdk +export JAVA_HOME=/usr/lib/jvm/java-25-openjdk ./mvnw... /path/to/java -jar... ----