From 8278931624028918c094222b7c910a7721b1e5c5 Mon Sep 17 00:00:00 2001 From: Sascha Bieberstein Date: Thu, 19 Oct 2023 14:56:26 +0200 Subject: [PATCH 1/2] Updates sirius-parent to latest version To build project with Java 21 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 1fddaeb85..2b76dc755 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ com.scireum sirius-parent - 10.2.1 + 11.1.0 sirius-db DEVELOPMENT-SNAPSHOT From 4cd05b1bf0b4b279c9332c9601d923716d5d51c3 Mon Sep 17 00:00:00 2001 From: Sascha Bieberstein Date: Thu, 19 Oct 2023 14:58:12 +0200 Subject: [PATCH 2/2] Builds with Java 21 --- .drone.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index 2258db6a3..9cf8ccf46 100644 --- a/.drone.yml +++ b/.drone.yml @@ -17,7 +17,7 @@ clone: steps: - name: compile - image: scireum/sirius-build-jdk18 + image: scireum/sirius-build-jdk21 commands: - mvn clean compile volumes: *scireum_volumes @@ -28,7 +28,7 @@ steps: - push - name: cron_unit_tests - image: scireum/sirius-build-jdk18 + image: scireum/sirius-build-jdk21 commands: - mvn clean test volumes: *scireum_volumes @@ -48,7 +48,7 @@ steps: - cron - name: test - image: scireum/sirius-build-jdk18 + image: scireum/sirius-build-jdk21 commands: - mvn clean test -Dtest.excluded.groups=nightly volumes: *scireum_volumes @@ -57,7 +57,7 @@ steps: - pull_request - name: deploy - image: scireum/sirius-build-jdk18 + image: scireum/sirius-build-jdk21 commands: - sed -i 's/DEVELOPMENT-SNAPSHOT/${DRONE_TAG}/g' pom.xml - mvn clean deploy -DskipTests @@ -77,7 +77,7 @@ steps: - tag - name: sonar - image: scireum/sirius-build-jdk18 + image: scireum/sirius-build-jdk21 commands: - sed -i 's/DEVELOPMENT-SNAPSHOT/${DRONE_TAG}/g' pom.xml - mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent test org.jacoco:jacoco-maven-plugin:report sonar:sonar -Dsonar.projectKey=${DRONE_REPO_NAME}