diff --git a/cli/pom.xml b/cli/pom.xml
index b3d4a8ca2ce..75f95a90916 100644
--- a/cli/pom.xml
+++ b/cli/pom.xml
@@ -729,19 +729,11 @@
+
- jakarta.json
- jakarta.json-api
-
-
- *
- *
-
-
-
-
- org.eclipse.parsson
- parsson
+ org.glassfish
+ jakarta.json
*
diff --git a/testsuite/shared/pom.xml b/testsuite/shared/pom.xml
index 480c57be9aa..1b87d9c153a 100644
--- a/testsuite/shared/pom.xml
+++ b/testsuite/shared/pom.xml
@@ -112,6 +112,26 @@
org.wildfly.core
wildfly-cli
+
+ jakarta.json
+ jakarta.json-api
+
+
+ *
+ *
+
+
+
+
+ org.eclipse.parsson
+ parsson
+
+
+ *
+ *
+
+
+
org.wildfly.core
wildfly-network