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:
# test if it compiles correctly
- name: build
image: maven:3-eclipse-temurin-21
image: maven:3-eclipse-temurin-25
commands:
- mvn verify --no-transfer-progress -DskipTests=true -Dmaven.javadoc.skip=true -B -V
# run unit tests
- name: test
image: maven:3-eclipse-temurin-21
image: maven:3-eclipse-temurin-25
commands:
- mvn test --no-transfer-progress -B -V
# run code analysis
- name: code-analysis
image: maven:3-eclipse-temurin-21
image: maven:3-eclipse-temurin-25
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
environment:
@@ -55,7 +55,7 @@ steps:
# upload to maven repository
- name: maven-deploy
image: maven:3-eclipse-temurin-21
image: maven:3-eclipse-temurin-25
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
environment:
+1 -2
View File
@@ -9,8 +9,7 @@
<version>0.0.5-SNAPSHOT</version>
<properties>
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
<maven.compiler.release>25</maven.compiler.release>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
+2 -2
View File
@@ -18,7 +18,7 @@
## building
**required tools**
- java 21 sdk
- java 25 sdk
- git
- maven
@@ -26,7 +26,7 @@
1. clone the official repository linked below using `git clone`.
2. `cd` into the directory and run `mvn clean package`.
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
| category | info |