diff --git a/dependencies/server-all/pom.xml b/dependencies/server-all/pom.xml
index 43907f6efa..339afad74c 100755
--- a/dependencies/server-all/pom.xml
+++ b/dependencies/server-all/pom.xml
@@ -217,12 +217,6 @@
-
-
- org.keycloak
- keycloak-wildfly-extensions
- ${project.version}
-
\ No newline at end of file
diff --git a/distribution/modules/pom.xml b/distribution/modules/pom.xml
index bf5c7c0305..9b69d37f60 100755
--- a/distribution/modules/pom.xml
+++ b/distribution/modules/pom.xml
@@ -23,6 +23,11 @@
${project.version}
pom
+
+ org.keycloak
+ keycloak-wildfly-extensions
+ ${project.version}
+
org.keycloak
keycloak-core