diff --git a/distribution/adapters/js-adapter-zip/pom.xml b/distribution/adapters/js-adapter-zip/pom.xml
index eacae1a2e9..f34a6d0522 100755
--- a/distribution/adapters/js-adapter-zip/pom.xml
+++ b/distribution/adapters/js-adapter-zip/pom.xml
@@ -31,6 +31,10 @@
+
+ org.keycloak
+ keycloak-js-adapter
+
@@ -42,17 +46,14 @@
unpack
prepare-package
- unpack
+ unpack-dependencies
-
-
- org.keycloak
- keycloak-js-adapter
- ${project.build.directory}/unpacked/js-adapter
- *.js,*.map,*.d.ts
-
-
+ true
+ org.keycloak
+ keycloak-js-adapter
+ ${project.build.directory}/unpacked/js-adapter
+ *.js,*.map,*.d.ts
**/welcome-content/*