diff --git a/distribution/demo-dist/assembly.xml b/distribution/demo-dist/assembly.xml
index 1b59337ac8..b45f88196e 100755
--- a/distribution/demo-dist/assembly.xml
+++ b/distribution/demo-dist/assembly.xml
@@ -8,27 +8,39 @@
true
-
-
+
+
+ ${project.build.directory}/unpacked/wildfly-${wildfly.version}
+ keycloak
+
+ **/*.sh
+ standalone/configuration/standalone.xml
+ standalone/configuration/standalone-keycloak.xml
+
+
+
+ ${project.build.directory}/unpacked/wildfly-${wildfly.version}
+ keycloak
- org.keycloak:keycloak-server-dist:zip
+ **/*.sh
-
- true
-
-
-
- org.keycloak:keycloak-examples-dist:zip
-
-
- true
-
-
-
- org.keycloak:keycloak-docs-dist:zip
-
-
- true
-
-
+ 0755
+
+
+ ${project.build.directory}/unpacked/keycloak-docs-${project.version}
+ docs
+
+
+ ${project.build.directory}/unpacked/keycloak-examples-${project.version}
+ examples
+
+
+
+
+
+
+ keycloak/standalone/configuration
+ standalone.xml
+
+
diff --git a/distribution/demo-dist/pom.xml b/distribution/demo-dist/pom.xml
index e77212c9f9..73f1622493 100755
--- a/distribution/demo-dist/pom.xml
+++ b/distribution/demo-dist/pom.xml
@@ -34,6 +34,81 @@
keycloak-demo-${project.version}
+
+ org.apache.maven.plugins
+ maven-dependency-plugin
+
+
+ unpack-wildfly
+ prepare-package
+
+ unpack
+
+
+
+
+ org.wildfly
+ wildfly-dist
+ zip
+ ${project.build.directory}/unpacked
+
+
+
+
+
+ unpack-server-overlay
+ prepare-package
+
+ unpack
+
+
+
+
+ org.keycloak
+ keycloak-server-overlay
+ zip
+ ${project.build.directory}/unpacked/wildfly-${wildfly.version}
+
+
+
+
+
+ unpack-docs
+ prepare-package
+
+ unpack
+
+
+
+
+ org.keycloak
+ keycloak-docs-dist
+ zip
+ ${project.build.directory}/unpacked
+
+
+
+
+
+ unpack-examples
+ prepare-package
+
+ unpack
+
+
+
+
+ org.keycloak
+ keycloak-examples-dist
+ zip
+ ${project.build.directory}/unpacked
+
+
+
+
+
+
+
maven-assembly-plugin
diff --git a/distribution/demo-dist/src/main/providers/README.txt b/distribution/demo-dist/src/main/providers/README.txt
deleted file mode 100644
index a6d523b43f..0000000000
--- a/distribution/demo-dist/src/main/providers/README.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-Any provider implementation jars and libraries in this folder will be loaded by Keycloak. See the providers
-section in the documentation for more details.
\ No newline at end of file
diff --git a/distribution/demo-dist/src/main/themes/README.txt b/distribution/demo-dist/src/main/themes/README.txt
deleted file mode 100644
index 705b73ac69..0000000000
--- a/distribution/demo-dist/src/main/themes/README.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-Themes to configure the look and feel of login pages and account management console. It's not recommended to
-modify existing the built-in themes, instead you should create a new theme that extends a built-in theme. See the theme
-section in the documentation for more details.
\ No newline at end of file
diff --git a/distribution/demo-dist/src/main/welcome-content/index.html b/distribution/demo-dist/src/main/welcome-content/index.html
deleted file mode 100644
index ad7660ed03..0000000000
--- a/distribution/demo-dist/src/main/welcome-content/index.html
+++ /dev/null
@@ -1,32 +0,0 @@
-
-
-
-
-
- Welcome to Keycloak
-
-
-
-
-
-
diff --git a/distribution/demo-dist/src/main/xslt/standalone.xsl b/distribution/demo-dist/src/main/xslt/standalone.xsl
deleted file mode 100755
index 8973a4d71a..0000000000
--- a/distribution/demo-dist/src/main/xslt/standalone.xsl
+++ /dev/null
@@ -1,89 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- jdbc:h2:${jboss.server.data.dir}/keycloak;AUTO_SERVER=TRUE
- h2
-
- sa
- sa
-
-
-
-
-
-
-
-
-
-
-
- true
- auth
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file