update ci jdk to v21
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2025-03-08 20:01:06 +01:00
parent 4f9783004e
commit b002da349b

View File

@@ -7,19 +7,19 @@ platform:
steps:
# test if it compiles correctly
- name: build
image: maven:3-eclipse-temurin-17
image: maven:3-eclipse-temurin-21
commands:
- mvn verify --no-transfer-progress -DskipTests=true -Dmaven.javadoc.skip=true -B -V
# run unit tests
- name: test
image: maven:3-eclipse-temurin-17
image: maven:3-eclipse-temurin-21
commands:
- mvn test --no-transfer-progress -B -V
# run code analysis
- name: code-analysis
image: maven:3-eclipse-temurin-17
image: maven:3-eclipse-temurin-21
commands:
- mvn sonar:sonar --no-transfer-progress -Dsonar.projectKey=$SONAR_PROJECT_KEY -Dsonar.host.url=$SONAR_INSTANCE_URL -Dsonar.login=$SONAR_LOGIN_KEY -B -V
environment: