From e3f17b8f9cab690983fa3e5d81ce929741ce3a18 Mon Sep 17 00:00:00 2001 From: Nils Ove Tendenes Date: Tue, 10 Dec 2024 08:42:14 +0100 Subject: [PATCH] chore: update dependencies & set java version 21 --- .github/workflows/deploy-prod&demo.yaml | 2 +- .github/workflows/deploy-staging.yaml | 2 +- Dockerfile | 2 +- README.md | 2 +- pom.xml | 20 ++++++++++---------- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/deploy-prod&demo.yaml b/.github/workflows/deploy-prod&demo.yaml index 5c900b3..aa8ba32 100644 --- a/.github/workflows/deploy-prod&demo.yaml +++ b/.github/workflows/deploy-prod&demo.yaml @@ -11,7 +11,7 @@ jobs: uses: Informasjonsforvaltning/workflows/.github/workflows/build-push.yaml@main with: app_name: dataset-catalog - java_version: '17' + java_version: '21' coverage_file_path: ./target/site/jacoco/jacoco.xml environment: prod secrets: diff --git a/.github/workflows/deploy-staging.yaml b/.github/workflows/deploy-staging.yaml index 2698d7c..d4d521d 100644 --- a/.github/workflows/deploy-staging.yaml +++ b/.github/workflows/deploy-staging.yaml @@ -13,7 +13,7 @@ jobs: uses: Informasjonsforvaltning/workflows/.github/workflows/build-push.yaml@main with: app_name: dataset-catalog - java_version: '17' + java_version: '21' coverage_file_path: ./target/site/jacoco/jacoco.xml environment: staging secrets: diff --git a/Dockerfile b/Dockerfile index b632dea..9b2b080 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM eclipse-temurin:17-jre-alpine +FROM eclipse-temurin:21-jre-alpine ENV TZ=Europe/Oslo RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone diff --git a/README.md b/README.md index 7db4544..d1a06a3 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ A back end service for creating dataset catalogues and datasets. Exposes a dcat- ## Requirements - maven -- java 15 +- java 21 - docker - docker-compose diff --git a/pom.xml b/pom.xml index 0e96ef0..521e82a 100644 --- a/pom.xml +++ b/pom.xml @@ -14,13 +14,13 @@ org.springframework.boot spring-boot-starter-parent - 3.3.3 + 3.4.0 - 17 + 21 UTF-8 UTF-8 UTF-8 @@ -29,8 +29,8 @@ false - 2.0.20 - 1.20.1 + 2.1.0 + 1.20.4 @@ -71,12 +71,12 @@ org.apache.jena jena-core - 5.1.0 + 5.2.0 org.apache.jena jena-arq - 5.1.0 + 5.2.0 @@ -119,7 +119,7 @@ org.apache.httpcomponents.client5 httpclient5 - 5.3.1 + 5.4.1 test @@ -142,7 +142,7 @@ org.wiremock wiremock-standalone - 3.9.1 + 3.10.0 test @@ -282,7 +282,7 @@ org.apache.maven.plugins maven-surefire-plugin - 3.4.0 + 3.5.2 false ${surefire.jacoco.args} @@ -296,7 +296,7 @@ org.apache.maven.plugins maven-failsafe-plugin - 3.4.0 + 3.5.2 ${failsafe.jacoco.args} contract