diff --git a/distribution/appliance-dist/assembly.xml b/distribution/appliance-dist/assembly.xml
index 049062a4cc..228f0b95a8 100755
--- a/distribution/appliance-dist/assembly.xml
+++ b/distribution/appliance-dist/assembly.xml
@@ -53,6 +53,14 @@
${project.build.directory}/unpacked/adapter
keycloak
+
+ ${project.build.directory}/unpacked/js-adapter
+ adapters/js-adapter
+
+ **/*.js
+ **/*.html
+
+
src/main/welcome-content
keycloak/welcome-content
diff --git a/distribution/appliance-dist/pom.xml b/distribution/appliance-dist/pom.xml
index 7d6d8d0795..c6c0085b5a 100755
--- a/distribution/appliance-dist/pom.xml
+++ b/distribution/appliance-dist/pom.xml
@@ -83,6 +83,12 @@
zip
${project.build.directory}/unpacked/adapter
+
+ org.keycloak
+ keycloak-js-adapter
+ ${project.version}
+ ${project.build.directory}/unpacked/js-adapter
+
**/welcome-content/*
diff --git a/distribution/war-dist/assembly.xml b/distribution/war-dist/assembly.xml
index 3438589dd0..7d45e6f2f2 100755
--- a/distribution/war-dist/assembly.xml
+++ b/distribution/war-dist/assembly.xml
@@ -10,6 +10,17 @@
${project.build.directory}/unpacked
+
+ **/js-adapter/**
+
+
+
+ ${project.build.directory}/unpacked/js-adapter
+ adapters/js-adapter
+
+ **/*.js
+ **/*.html
+
diff --git a/distribution/war-dist/pom.xml b/distribution/war-dist/pom.xml
index 7fc5d92ffd..b8bd0c1755 100755
--- a/distribution/war-dist/pom.xml
+++ b/distribution/war-dist/pom.xml
@@ -84,6 +84,12 @@
zip
${project.build.directory}/unpacked
+
+ org.keycloak
+ keycloak-js-adapter
+ ${project.version}
+ ${project.build.directory}/unpacked/js-adapter
+