diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 34dc849..4274026 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -27,10 +27,10 @@ jobs:
languages: java-kotlin
queries: security-extended,security-and-quality
- - name: Set up JDK 17
+ - name: Set up JDK 21
uses: actions/setup-java@v4
with:
- java-version: '17'
+ java-version: '21'
distribution: 'corretto'
cache: maven
diff --git a/unique-attribute-validator-provider/pom.xml b/unique-attribute-validator-provider/pom.xml
index bb5f2b1..d5f2f00 100644
--- a/unique-attribute-validator-provider/pom.xml
+++ b/unique-attribute-validator-provider/pom.xml
@@ -9,8 +9,8 @@
${keycloak.version}-SNAPSHOT
- 17
- 17
+ 21
+ 21
3.4.1.Final
25.0.0