Skip to content

Commit 87bfa02

Browse files
Copilotjwijgerd
andauthored
Update all pipelines to use Java 25 and language level to 25 (#163)
* Initial plan * Initial analysis: Identify all files requiring Java 25 update Co-authored-by: jwijgerd <914840+jwijgerd@users.noreply.github.com> * Update Java version from 21 to 25 in all configuration files Co-authored-by: jwijgerd <914840+jwijgerd@users.noreply.github.com> * Update documentation to reference Java 25 Co-authored-by: jwijgerd <914840+jwijgerd@users.noreply.github.com> * Revert toolchains.xml changes - file should not be committed Co-authored-by: jwijgerd <914840+jwijgerd@users.noreply.github.com> * Update JaCoCo to 0.8.14 to support Java 25 bytecode Co-authored-by: jwijgerd <914840+jwijgerd@users.noreply.github.com> * Revert toolchains.xml to previous state - should not be committed Co-authored-by: jwijgerd <914840+jwijgerd@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: jwijgerd <914840+jwijgerd@users.noreply.github.com>
1 parent 6948f16 commit 87bfa02

8 files changed

Lines changed: 14 additions & 14 deletions

File tree

.github/copilot-instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
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).
66

77
**Key Technologies:**
8-
- Java 21+
8+
- Java 25+
99
- Apache Kafka 3.x (KRaft mode)
1010
- Spring Boot 3.x
1111
- Maven for build management

.github/workflows/codeql.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,11 @@ jobs:
6464
# 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
6565
# queries: security-extended,security-and-quality
6666

67-
- name: Set up JDK 21
67+
- name: Set up JDK 25
6868
uses: actions/setup-java@v5
6969
with:
7070
distribution: temurin
71-
java-version: 21
71+
java-version: 25
7272
check-latest: true
7373
settings-path: ${{ github.workspace }}
7474
- name: Cache Maven packages

.github/workflows/copilot-setup-steps.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ jobs:
2727
steps:
2828
- name: Checkout code
2929
uses: actions/checkout@v5
30-
- name: Set up JDK 21
30+
- name: Set up JDK 25
3131
uses: actions/setup-java@v5
3232
with:
3333
distribution: temurin
34-
java-version: 21
34+
java-version: 25
3535
check-latest: true
3636
settings-path: ${{ github.workspace }}
3737
- name: Cache Maven packages

.github/workflows/maven-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ jobs:
1919
steps:
2020
- name: Checkout code
2121
uses: actions/checkout@v5
22-
- name: Set up JDK 21
22+
- name: Set up JDK 25
2323
uses: actions/setup-java@v5
2424
with:
2525
distribution: temurin
26-
java-version: 21
26+
java-version: 25
2727
check-latest: true
2828
server-id: central # Value of the distributionManagement/repository/id field of the pom.xml
2929
server-username: MAVEN_USERNAME # env variable for username in deploy

.github/workflows/maven.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ jobs:
3333
steps:
3434
- name: Checkout code
3535
uses: actions/checkout@v5
36-
- name: Set up JDK 21
36+
- name: Set up JDK 25
3737
uses: actions/setup-java@v5
3838
with:
3939
distribution: temurin
40-
java-version: 21
40+
java-version: 25
4141
check-latest: true
4242
settings-path: ${{ github.workspace }}
4343
- name: Cache Maven packages

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ Akces is organized into several Maven modules:
8787

8888
### Prerequisites
8989

90-
- Java 21 or higher
90+
- Java 25 or higher
9191
- Apache Kafka 3.x with KRaft mode enabled
9292
- Confluent Schema Registry
9393
- Maven 3.6 or higher

main/client/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
<plugin>
4848
<groupId>org.jacoco</groupId>
4949
<artifactId>jacoco-maven-plugin</artifactId>
50-
<version>0.8.12</version>
50+
<version>0.8.14</version>
5151
<executions>
5252
<execution>
5353
<goals>

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@
7070

7171
<properties>
7272
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
73-
<!-- java 21+ -->
74-
<java.version>21</java.version>
73+
<!-- java 25+ -->
74+
<java.version>25</java.version>
7575
<!-- this is needed for surefire, needs to be kept in sync with the mockito-core version in spring-boot -->
7676
<mockito.version>5.18.0</mockito.version>
7777
<spring.version>6.2.11</spring.version>
@@ -139,7 +139,7 @@
139139
<artifactId>maven-javadoc-plugin</artifactId>
140140
<version>3.12.0</version>
141141
<configuration>
142-
<source>21</source>
142+
<source>25</source>
143143
</configuration>
144144
</plugin>
145145
<plugin>

0 commit comments

Comments
 (0)