bump to jdk 25

replace maven.compiler.source/target with maven.compiler.release,
update ci images to maven:3-eclipse-temurin-25, and fix the jar
name pattern in the readme while at it.
This commit is contained in:
bea
2026-09-29 11:50:51 +02:00
parent f90ad4af5c
commit 45cdabae7c
3 changed files with 7 additions and 8 deletions
+4 -4
View File
@@ -12,19 +12,19 @@ trigger:
steps: steps:
# test if it compiles correctly # test if it compiles correctly
- name: build - name: build
image: maven:3-eclipse-temurin-21 image: maven:3-eclipse-temurin-25
commands: commands:
- mvn verify --no-transfer-progress -DskipTests=true -Dmaven.javadoc.skip=true -B -V - mvn verify --no-transfer-progress -DskipTests=true -Dmaven.javadoc.skip=true -B -V
# run unit tests # run unit tests
- name: test - name: test
image: maven:3-eclipse-temurin-21 image: maven:3-eclipse-temurin-25
commands: commands:
- mvn test --no-transfer-progress -B -V - mvn test --no-transfer-progress -B -V
# run code analysis # run code analysis
- name: code-analysis - name: code-analysis
image: maven:3-eclipse-temurin-21 image: maven:3-eclipse-temurin-25
commands: commands:
- mvn sonar:sonar --no-transfer-progress -Dsonar.projectKey=$SONAR_PROJECT_KEY -Dsonar.host.url=$SONAR_INSTANCE_URL -Dsonar.token=$SONAR_LOGIN_KEY -B -V - mvn sonar:sonar --no-transfer-progress -Dsonar.projectKey=$SONAR_PROJECT_KEY -Dsonar.host.url=$SONAR_INSTANCE_URL -Dsonar.token=$SONAR_LOGIN_KEY -B -V
environment: environment:
@@ -55,7 +55,7 @@ steps:
# upload to maven repository # upload to maven repository
- name: maven-deploy - name: maven-deploy
image: maven:3-eclipse-temurin-21 image: maven:3-eclipse-temurin-25
commands: commands:
- mvn deploy --no-transfer-progress -DskipTests=true -Dmaven.javadoc.skip=true -B -V -gs settings.xml -Dmaven.repo.username=$MAVEN_REPO_USERNAME -Dmaven.repo.password=$MAVEN_REPO_PASSWORD - mvn deploy --no-transfer-progress -DskipTests=true -Dmaven.javadoc.skip=true -B -V -gs settings.xml -Dmaven.repo.username=$MAVEN_REPO_USERNAME -Dmaven.repo.password=$MAVEN_REPO_PASSWORD
environment: environment:
+1 -2
View File
@@ -9,8 +9,7 @@
<version>0.0.5-SNAPSHOT</version> <version>0.0.5-SNAPSHOT</version>
<properties> <properties>
<maven.compiler.source>21</maven.compiler.source> <maven.compiler.release>25</maven.compiler.release>
<maven.compiler.target>21</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties> </properties>
+2 -2
View File
@@ -18,7 +18,7 @@
## building ## building
**required tools** **required tools**
- java 21 sdk - java 25 sdk
- git - git
- maven - maven
@@ -26,7 +26,7 @@
1. clone the official repository linked below using `git clone`. 1. clone the official repository linked below using `git clone`.
2. `cd` into the directory and run `mvn clean package`. 2. `cd` into the directory and run `mvn clean package`.
3. you will find a runnable jar with dependencies in the `target/` folder. 3. you will find a runnable jar with dependencies in the `target/` folder.
4. run the built jar file with `java -jar target/autosqueal-*-dependencies.jar`. 4. run the built jar file with `java -jar target/autosqueal-*-jar-with-dependencies.jar`.
## support ## support
| category | info | | category | info |