diff --git a/activemq-cf/pom.xml b/activemq-cf/pom.xml
index c2f7069836..3b22e1804a 100644
--- a/activemq-cf/pom.xml
+++ b/activemq-cf/pom.xml
@@ -65,7 +65,7 @@
!*
- javax.jms*;version="[1,3)",
+ jakarta.jms*;version="[3,4)",
*
diff --git a/activemq-jms-pool/pom.xml b/activemq-jms-pool/pom.xml
index c33a557989..13d5a4a55e 100644
--- a/activemq-jms-pool/pom.xml
+++ b/activemq-jms-pool/pom.xml
@@ -112,8 +112,9 @@
org.apache.activemq.jms.pool*;version=${project.version};-noimport:=true
- javax.jms*;version="[1.1,3)",
+ jakarta.jms*;version="[3,4)",
javax.transaction*;resolution:=optional,
+ jakarta.transaction*;resolution:=optional,
org.apache.geronimo.transaction.manager*;resolution:=optional,
*