From 6df2c828e6bc17872c3187ff5b3cf3873f0023ca Mon Sep 17 00:00:00 2001 From: Thomas Manson Date: Thu, 8 Aug 2024 16:25:16 +1000 Subject: [PATCH 1/2] Update to Java 21 --- pom.xml | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/pom.xml b/pom.xml index e3118dc..e378b0e 100644 --- a/pom.xml +++ b/pom.xml @@ -35,7 +35,9 @@ ${project.version} - + 21 + 21 + 21 @@ -52,16 +54,16 @@ org.apache.maven.plugins maven-compiler-plugin - 3.8.0 + 3.13.0 - 1.8 - 1.8 + 21 + 21 org.sonatype.plugins nexus-staging-maven-plugin - 1.6.7 + 1.7.0 true ossrh @@ -72,6 +74,7 @@ org.apache.maven.plugins maven-source-plugin + 3.3.1 attach-sources @@ -84,7 +87,7 @@ org.apache.maven.plugins maven-resources-plugin - 2.5 + 2.7 UTF-8 @@ -92,7 +95,7 @@ org.apache.maven.plugins maven-javadoc-plugin - 3.3.2 + 3.8.0 attach-javadocs @@ -105,7 +108,7 @@ org.codehaus.mojo properties-maven-plugin - 1.0.0 + 1.2.1 generate-resources @@ -121,7 +124,7 @@ org.apache.maven.plugins maven-gpg-plugin - 3.0.1 + 3.2.4 sign-artifacts @@ -135,7 +138,7 @@ org.jacoco jacoco-maven-plugin - 0.8.8 + 0.8.12 From db75176ceb245c4a6629f700cdae63e144d48416 Mon Sep 17 00:00:00 2001 From: Thomas Manson Date: Thu, 8 Aug 2024 16:29:55 +1000 Subject: [PATCH 2/2] Update build to Java 21 --- .github/workflows/build-and-publish.yaml | 2 +- .github/workflows/build-and-test.yaml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-and-publish.yaml b/.github/workflows/build-and-publish.yaml index 3ae3914..6082217 100644 --- a/.github/workflows/build-and-publish.yaml +++ b/.github/workflows/build-and-publish.yaml @@ -18,7 +18,7 @@ on: type: boolean java_version: type: string - default: '11' + default: '21' publish_vulnerabilities: type: string default: 'true' diff --git a/.github/workflows/build-and-test.yaml b/.github/workflows/build-and-test.yaml index 2fd7ed4..e8485b9 100644 --- a/.github/workflows/build-and-test.yaml +++ b/.github/workflows/build-and-test.yaml @@ -5,3 +5,5 @@ jobs: build: uses: IABTechLab/uid2-shared-actions/.github/workflows/shared-build-and-test.yaml@v2 secrets: inherit + with: + java_version: 21