From 0e8ababb3a96bae231f91f1d0bcefb6b8df9f5da Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 16 Oct 2025 20:17:22 +0000 Subject: [PATCH 1/7] Initial plan From d71883ff4ef59bb696deebe248213f2c71851f91 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 16 Oct 2025 20:20:23 +0000 Subject: [PATCH 2/7] Initial analysis: Identify all files requiring Java 25 update Co-authored-by: jwijgerd <914840+jwijgerd@users.noreply.github.com> --- toolchains.xml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/toolchains.xml b/toolchains.xml index 8e4abe26..20b44e97 100644 --- a/toolchains.xml +++ b/toolchains.xml @@ -24,4 +24,15 @@ /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/21.0.8-9.0.LTS/x64 + + jdk + + 21 + temurin + temurin_21 + + + /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/21.0.8-9.0.LTS/x64 + + \ No newline at end of file From e63cd4276b3de48bcb0857f77081c64e3852bc27 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 16 Oct 2025 20:22:30 +0000 Subject: [PATCH 3/7] Update Java version from 21 to 25 in all configuration files Co-authored-by: jwijgerd <914840+jwijgerd@users.noreply.github.com> --- .github/workflows/codeql.yml | 4 ++-- .github/workflows/copilot-setup-steps.yml | 4 ++-- .github/workflows/maven-publish.yml | 4 ++-- .github/workflows/maven.yml | 4 ++-- pom.xml | 6 +++--- toolchains.xml | 18 +++++++++--------- 6 files changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 720cbd77..34fa41c5 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -64,11 +64,11 @@ jobs: # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs # queries: security-extended,security-and-quality - - name: Set up JDK 21 + - name: Set up JDK 25 uses: actions/setup-java@v5 with: distribution: temurin - java-version: 21 + java-version: 25 check-latest: true settings-path: ${{ github.workspace }} - name: Cache Maven packages diff --git a/.github/workflows/copilot-setup-steps.yml b/.github/workflows/copilot-setup-steps.yml index 823f9208..cb6a3c5e 100644 --- a/.github/workflows/copilot-setup-steps.yml +++ b/.github/workflows/copilot-setup-steps.yml @@ -27,11 +27,11 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v5 - - name: Set up JDK 21 + - name: Set up JDK 25 uses: actions/setup-java@v5 with: distribution: temurin - java-version: 21 + java-version: 25 check-latest: true settings-path: ${{ github.workspace }} - name: Cache Maven packages diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index 7d9fc81a..35820792 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -19,11 +19,11 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v5 - - name: Set up JDK 21 + - name: Set up JDK 25 uses: actions/setup-java@v5 with: distribution: temurin - java-version: 21 + java-version: 25 check-latest: true server-id: central # Value of the distributionManagement/repository/id field of the pom.xml server-username: MAVEN_USERNAME # env variable for username in deploy diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 079b1a0c..1fa52bd8 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -33,11 +33,11 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v5 - - name: Set up JDK 21 + - name: Set up JDK 25 uses: actions/setup-java@v5 with: distribution: temurin - java-version: 21 + java-version: 25 check-latest: true settings-path: ${{ github.workspace }} - name: Cache Maven packages diff --git a/pom.xml b/pom.xml index 0ea49bb4..df940311 100644 --- a/pom.xml +++ b/pom.xml @@ -70,8 +70,8 @@ UTF-8 - - 21 + + 25 5.18.0 6.2.11 @@ -139,7 +139,7 @@ maven-javadoc-plugin 3.12.0 - 21 + 25 diff --git a/toolchains.xml b/toolchains.xml index 20b44e97..1f1f4667 100644 --- a/toolchains.xml +++ b/toolchains.xml @@ -5,34 +5,34 @@ jdk - 21 + 25 temurin - temurin_21 + temurin_25 - /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/21.0.8-9.0.LTS/x64 + /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/25.0.0-0/x64 jdk - 21 + 25 temurin - temurin_21 + temurin_25 - /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/21.0.8-9.0.LTS/x64 + /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/25.0.0-0/x64 jdk - 21 + 25 temurin - temurin_21 + temurin_25 - /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/21.0.8-9.0.LTS/x64 + /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/25.0.0-0/x64 \ No newline at end of file From e3412ef51abf5273fe73dea1d0b66d378e592d9e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 16 Oct 2025 20:24:21 +0000 Subject: [PATCH 4/7] Update documentation to reference Java 25 Co-authored-by: jwijgerd <914840+jwijgerd@users.noreply.github.com> --- .github/copilot-instructions.md | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index 4c077c06..821808c4 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -5,7 +5,7 @@ The Akces Framework is a sophisticated CQRS (Command Query Responsibility Segregation) and Event Sourcing framework built on Apache Kafka. It provides a comprehensive infrastructure for building distributed, event-driven applications with a clear separation between write operations (commands) and read operations (queries). **Key Technologies:** -- Java 21+ +- Java 25+ - Apache Kafka 3.x (KRaft mode) - Spring Boot 3.x - Maven for build management diff --git a/README.md b/README.md index d5fe2340..e39bfc92 100644 --- a/README.md +++ b/README.md @@ -87,7 +87,7 @@ Akces is organized into several Maven modules: ### Prerequisites -- Java 21 or higher +- Java 25 or higher - Apache Kafka 3.x with KRaft mode enabled - Confluent Schema Registry - Maven 3.6 or higher From 191cd6b1c8005175073568abbd47bdbccae26658 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 16 Oct 2025 20:33:41 +0000 Subject: [PATCH 5/7] Revert toolchains.xml changes - file should not be committed Co-authored-by: jwijgerd <914840+jwijgerd@users.noreply.github.com> --- toolchains.xml | 23 ++++++----------------- 1 file changed, 6 insertions(+), 17 deletions(-) diff --git a/toolchains.xml b/toolchains.xml index 1f1f4667..8e4abe26 100644 --- a/toolchains.xml +++ b/toolchains.xml @@ -5,34 +5,23 @@ jdk - 25 + 21 temurin - temurin_25 + temurin_21 - /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/25.0.0-0/x64 + /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/21.0.8-9.0.LTS/x64 jdk - 25 + 21 temurin - temurin_25 + temurin_21 - /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/25.0.0-0/x64 - - - - jdk - - 25 - temurin - temurin_25 - - - /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/25.0.0-0/x64 + /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/21.0.8-9.0.LTS/x64 \ No newline at end of file From a04a6530f48817c16155bc32768752b772f382da Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 16 Oct 2025 20:38:31 +0000 Subject: [PATCH 6/7] Update JaCoCo to 0.8.14 to support Java 25 bytecode Co-authored-by: jwijgerd <914840+jwijgerd@users.noreply.github.com> --- main/client/pom.xml | 2 +- toolchains.xml | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/main/client/pom.xml b/main/client/pom.xml index 2e25a109..1c2aa9fa 100644 --- a/main/client/pom.xml +++ b/main/client/pom.xml @@ -47,7 +47,7 @@ org.jacoco jacoco-maven-plugin - 0.8.12 + 0.8.14 diff --git a/toolchains.xml b/toolchains.xml index 8e4abe26..20b44e97 100644 --- a/toolchains.xml +++ b/toolchains.xml @@ -24,4 +24,15 @@ /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/21.0.8-9.0.LTS/x64 + + jdk + + 21 + temurin + temurin_21 + + + /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/21.0.8-9.0.LTS/x64 + + \ No newline at end of file From 03c3e606f0a096d20c181d6a1ee027511645a01c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 16 Oct 2025 20:40:14 +0000 Subject: [PATCH 7/7] Revert toolchains.xml to previous state - should not be committed Co-authored-by: jwijgerd <914840+jwijgerd@users.noreply.github.com> --- toolchains.xml | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/toolchains.xml b/toolchains.xml index 20b44e97..8e4abe26 100644 --- a/toolchains.xml +++ b/toolchains.xml @@ -24,15 +24,4 @@ /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/21.0.8-9.0.LTS/x64 - - jdk - - 21 - temurin - temurin_21 - - - /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/21.0.8-9.0.LTS/x64 - - \ No newline at end of file