diff --git a/dependencies/pom.xml b/dependencies/pom.xml
index 563ed54682..744753c2b9 100755
--- a/dependencies/pom.xml
+++ b/dependencies/pom.xml
@@ -31,8 +31,22 @@
- admin-ui
server-min
server-all
+
+
+
+ skip-admin2
+
+
+ !skipAdmin2
+
+
+
+ admin-ui
+
+
+
+
diff --git a/quarkus/runtime/pom.xml b/quarkus/runtime/pom.xml
index 6e172f82a9..a4489b3fb6 100644
--- a/quarkus/runtime/pom.xml
+++ b/quarkus/runtime/pom.xml
@@ -171,22 +171,6 @@
-
- org.keycloak
- keycloak-dependencies-admin-ui-wrapper
- pom
- import
-
-
- org.keycloak
- keycloak-admin-ui
-
-
- *
- *
-
-
-
org.keycloak
keycloak-saml-core-public
@@ -562,6 +546,35 @@
+
+
+ skip-admin2
+
+
+ !skipAdmin2
+
+
+
+
+ org.keycloak
+ keycloak-dependencies-admin-ui-wrapper
+ pom
+ import
+
+
+ org.keycloak
+ keycloak-admin-ui
+
+
+ *
+ *
+
+
+
+
+
+
+