From e9937f17c9154a700acfd153032f6af0c560d76f Mon Sep 17 00:00:00 2001 From: tmorin Date: Sun, 6 Apr 2025 18:36:06 +0200 Subject: [PATCH 1/3] chore: update Java version to 21 and upgrade quarkus --- .github/workflows/ci-build.yaml | 4 ++-- pom.xml | 34 ++++++++++++++++----------------- 2 files changed, 18 insertions(+), 20 deletions(-) diff --git a/.github/workflows/ci-build.yaml b/.github/workflows/ci-build.yaml index a2d7dfd..5db64e6 100644 --- a/.github/workflows/ci-build.yaml +++ b/.github/workflows/ci-build.yaml @@ -17,10 +17,10 @@ jobs: path: "~/.sonar/cache" key: "${{ runner.os }}-sonar" restore-keys: "${{ runner.os }}-sonar" - - name: "Set up JDK 17" + - name: "Set up JDK 21" uses: "actions/setup-java@v2" with: - java-version: "17" + java-version: "21" distribution: "adopt" cache: maven - name: "Build artifacts" diff --git a/pom.xml b/pom.xml index f67d1b1..9b38975 100644 --- a/pom.xml +++ b/pom.xml @@ -24,8 +24,8 @@ scm:git:git@github.com:tmorin/archicode.git scm:git:git@github.com:tmorin/archicode.git https://github.com/tmorin/archicode - HEAD - + HEAD + GitHub Actions https://github.com/tmorin/archicode/actions @@ -38,17 +38,17 @@ - 3.12.1 - 17 + 3.14.0 + 21 UTF-8 UTF-8 quarkus-bom io.quarkus.platform - 3.7.3 + 3.21.1 true https://sonarcloud.io tmorin - 3.2.3 + 3.5.2 false @@ -156,9 +156,7 @@ maven-compiler-plugin ${compiler-plugin.version} - - -parameters - + true @@ -180,16 +178,16 @@ integration-test verify - - - ${project.build.directory}/${project.build.finalName}-runner - - org.jboss.logmanager.LogManager - ${maven.home} - - + + + ${project.build.directory}/${project.build.finalName}-runner + + org.jboss.logmanager.LogManager + ${maven.home} + + maven-release-plugin @@ -241,7 +239,7 @@ false - native + true From 50db8f4bc3d7c78a0ee04e76e1327a55cfed0c7c Mon Sep 17 00:00:00 2001 From: tmorin Date: Sun, 6 Apr 2025 18:37:33 +0200 Subject: [PATCH 2/3] chore: update lombok version to 1.18.34 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 9b38975..942c339 100644 --- a/pom.xml +++ b/pom.xml @@ -96,7 +96,7 @@ org.projectlombok lombok - 1.18.30 + 1.18.34 provided From 6f2ed56a4811d8bb9db54d0dc5b1243393bc2cf6 Mon Sep 17 00:00:00 2001 From: tmorin Date: Sun, 6 Apr 2025 18:48:04 +0200 Subject: [PATCH 3/3] chore: update caching actions for SonarQube and Maven packages --- .github/workflows/ci-build.yaml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci-build.yaml b/.github/workflows/ci-build.yaml index 5db64e6..0c1a14a 100644 --- a/.github/workflows/ci-build.yaml +++ b/.github/workflows/ci-build.yaml @@ -11,12 +11,18 @@ jobs: fetch-depth: 0 - name: "Install apt dependencies" run: "sudo apt-get install -y graphviz wget curl" - - name: "Cache SonarCloud packages" - uses: "actions/cache@v3" + - name: Cache SonarQube packages + uses: actions/cache@v4 with: - path: "~/.sonar/cache" - key: "${{ runner.os }}-sonar" - restore-keys: "${{ runner.os }}-sonar" + path: ~/.sonar/cache + key: ${{ runner.os }}-sonar + restore-keys: ${{ runner.os }}-sonar + - name: Cache Maven packages + uses: actions/cache@v4 + with: + path: ~/.m2 + key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} + restore-keys: ${{ runner.os }}-m2 - name: "Set up JDK 21" uses: "actions/setup-java@v2" with: