diff --git a/pom.xml b/pom.xml
index bc0787c..19670fb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -11,7 +11,7 @@
Keycloak: Event Publisher to RabbitMQ
- 18.0.0
+ 22.0.0
${project.artifactId}-${project.version}
17
17
diff --git a/src/main/java/com/github/aznamier/keycloak/event/provider/EventAdminNotificationMqMsg.java b/src/main/java/com/github/aznamier/keycloak/event/provider/EventAdminNotificationMqMsg.java
index 0703e9b..d50c60d 100644
--- a/src/main/java/com/github/aznamier/keycloak/event/provider/EventAdminNotificationMqMsg.java
+++ b/src/main/java/com/github/aznamier/keycloak/event/provider/EventAdminNotificationMqMsg.java
@@ -2,8 +2,8 @@
import java.io.Serializable;
-import javax.xml.bind.annotation.XmlRootElement;
+import jakarta.xml.bind.annotation.XmlRootElement;
import org.keycloak.events.admin.AdminEvent;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
diff --git a/src/main/java/com/github/aznamier/keycloak/event/provider/EventClientNotificationMqMsg.java b/src/main/java/com/github/aznamier/keycloak/event/provider/EventClientNotificationMqMsg.java
index 2be0c84..4b8de32 100644
--- a/src/main/java/com/github/aznamier/keycloak/event/provider/EventClientNotificationMqMsg.java
+++ b/src/main/java/com/github/aznamier/keycloak/event/provider/EventClientNotificationMqMsg.java
@@ -2,8 +2,8 @@
import java.io.Serializable;
-import javax.xml.bind.annotation.XmlRootElement;
+import jakarta.xml.bind.annotation.XmlRootElement;
import org.keycloak.events.Event;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;