diff --git a/enterprise-update/assemblies/updateTool.xml b/enterprise-update/assemblies/updateTool.xml
index 0510e8e07f..620709ba67 100644
--- a/enterprise-update/assemblies/updateTool.xml
+++ b/enterprise-update/assemblies/updateTool.xml
@@ -113,8 +113,32 @@
keep
-
-
+
+
+
+ ${unpacked.alfresco.wcmqs.distribution}
+ resources/amp/platform
+
+ alfresco-wcmqs.amp
+
+
+
+
+ ${unpacked.alfresco.wcmqs.distribution}
+ resources/amp/share
+
+ alfresco-wcmqs-share.amp
+
+
+
+
+ ${unpacked.alfresco.wcmqs.distribution}
+ resources/war
+
+ *.war
+
+
+
@@ -179,28 +203,7 @@
org.alfresco.integrations:alfresco-googledocs-share:amp:enterprise:*
-
-
-
-
- false
- true
- resources/amp/platform
-
- org.alfresco:alfresco-wcmqs:amp:*
-
-
-
-
-
- false
- true
- resources/amp/share
-
- org.alfresco:alfresco-wcmqs-share:amp:*
-
-
-
+
diff --git a/enterprise-update/pom.xml b/enterprise-update/pom.xml
index 34056fcda5..53788b6e4a 100644
--- a/enterprise-update/pom.xml
+++ b/enterprise-update/pom.xml
@@ -15,6 +15,7 @@
${project.build.directory}/dependency/alfresco-update-tool-distribution-${alfresco.updatetool.version}
${project.build.directory}/dependency/alfresco-platform-enterprise-distributionzip-${alfresco.platform.version}
${project.build.directory}/dependency/alfresco-share-distribution-${alfresco.share.version}
+ ${project.build.directory}/dependency/wcmqs-${project.version}
${project.build.directory}/classes/script/${version.major}.${version.minor}
@@ -69,20 +70,11 @@
amp
-
org.alfresco
- alfresco-wcmqs
+ alfresco-wcmqs-distribution
${alfresco.share.version}
- amp
-
-
-
-
- org.alfresco
- alfresco-wcmqs-share
- ${alfresco.share.version}
- amp
+ zip
@@ -142,6 +134,24 @@
org.apache.maven.plugins
maven-dependency-plugin
+
+ unpack-wcmqs-distribution
+ generate-resources
+
+ unpack
+
+
+
+
+ org.alfresco
+ alfresco-wcmqs-distribution
+ ${alfresco.share.version}
+ zip
+ ${unpacked.alfresco.wcmqs.distribution}
+
+
+
+
unpack-update-tool-distribution
generate-resources