diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 57f9b8e..da4b3d8 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -15,11 +15,11 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
- - name: Set up JDK 17
+ - name: Set up JDK 21
uses: actions/setup-java@v3
with:
distribution: 'temurin'
- java-version: 17
+ java-version: 21
- name: Build
run: >
./mvnw $MAVEN_CLI_OPTS
diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml
index e716137..68ddc27 100644
--- a/.github/workflows/maven-publish.yml
+++ b/.github/workflows/maven-publish.yml
@@ -12,11 +12,11 @@ jobs:
MAVEN_CLI_OPTS: "--batch-mode --errors --fail-at-end --show-version"
steps:
- uses: actions/checkout@v3
- - name: Set up JDK 17
+ - name: Set up JDK 21
uses: actions/setup-java@v3
with:
distribution: 'temurin'
- java-version: 17
+ java-version: 21
- name: Build with Maven
run: >
./mvnw $MAVEN_CLI_OPTS
diff --git a/.sdkmanrc b/.sdkmanrc
index 04dd322..d2635ab 100644
--- a/.sdkmanrc
+++ b/.sdkmanrc
@@ -1,3 +1,3 @@
# Enable auto-env through the sdkman_auto_env config
# Add key=value pairs of SDKs to use below
-java=17.0.11-tem
+java=21.0.5-tem
diff --git a/pom.xml b/pom.xml
index fc90474..917fb88 100644
--- a/pom.xml
+++ b/pom.xml
@@ -10,10 +10,10 @@
Keycloak: Event Publisher to RabbitMQ
- 25.0.6
+ 26.0.1
${project.artifactId}-${project.version}
- 17
- 17
+ 21
+ 21
UTF-8
@@ -53,7 +53,7 @@
com.rabbitmq
amqp-client
- 5.21.0
+ 5.23.0