From 15acc0c75608949508d49578e6a762cb41fcc9bb Mon Sep 17 00:00:00 2001 From: Michael Minella Date: Thu, 17 Aug 2017 09:54:48 -0500 Subject: [PATCH] Fixes documentation publication This commit fixes the generation of the zip file used to autopublish the documentation. The previous version only included the HTML, epub, and PDF files for the reference documentation. However it was missing the images and css for the HTML as well as all of the javadocs. This commit now fixes that so the javadoc as well as all the resources required for the reference documentation is included in the zip file. Resolves #327 --- pom.xml | 14 +++++++------- spring-cloud-task-docs/pom.xml | 8 ++++---- .../src/main/assembly/assemble.xml | 4 ++-- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/pom.xml b/pom.xml index 048088ca..5ad062c1 100755 --- a/pom.xml +++ b/pom.xml @@ -186,13 +186,13 @@ jar - - - - - - - + + aggregate + prepare-package + + aggregate + + diff --git a/spring-cloud-task-docs/pom.xml b/spring-cloud-task-docs/pom.xml index 8645e9ba..ea2618d2 100644 --- a/spring-cloud-task-docs/pom.xml +++ b/spring-cloud-task-docs/pom.xml @@ -118,7 +118,7 @@ generate-html - generate-resources + prepare-package ${basedir}/src/main/docbook/xsl/html-singlepage.xsl ${basedir}/target/docbook/htmlsingle @@ -144,7 +144,7 @@ generate-html - generate-resources + prepare-package ${basedir}/src/main/docbook/xsl/html-multipage.xsl ${basedir}/target/docbook/html @@ -171,7 +171,7 @@ generate-pdf - generate-resources + prepare-package ${basedir}/src/main/docbook/xsl/pdf.xsl ${basedir}/target/docbook/pdf @@ -190,7 +190,7 @@ generate-epub3 - generate-resources + prepare-package ${basedir}/src/main/docbook/xsl/epub.xsl ${basedir}/target/docbook/epub diff --git a/spring-cloud-task-docs/src/main/assembly/assemble.xml b/spring-cloud-task-docs/src/main/assembly/assemble.xml index 27aa7e20..02e0bfcf 100644 --- a/spring-cloud-task-docs/src/main/assembly/assemble.xml +++ b/spring-cloud-task-docs/src/main/assembly/assemble.xml @@ -12,8 +12,8 @@ /apidocs - ${project.build.directory}/docbook - /reference + ${project.build.directory}/contents + /