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
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