diff --git a/README.adoc b/README.adoc
index 2b1b0bda..eac5deb1 100644
--- a/README.adoc
+++ b/README.adoc
@@ -282,6 +282,10 @@ approach of generating documentation just add these plugins to your `docs` modul
org.apache.maven.plugins
maven-antrun-plugin <6>
+
+ org.codehaus.mojo
+ build-helper-maven-plugin <7>
+
@@ -293,6 +297,7 @@ approach of generating documentation just add these plugins to your `docs` modul
<4> This plugin generates an `adoc` file with all the configuration properties from the classpath
<5> This plugin is required to parse the Asciidoctor documentation
<6> This plugin is required to copy resources into proper final destinations and to generate main README.adoc and to assert that no files use unresolved links
+<7> This plugin ensures that the generated zip docs are attached as an artifact and will get published
IMPORTANT: The order of plugin declaration is important!
diff --git a/docs/src/main/asciidoc/README.adoc b/docs/src/main/asciidoc/README.adoc
index a0048c3a..24ae217c 100644
--- a/docs/src/main/asciidoc/README.adoc
+++ b/docs/src/main/asciidoc/README.adoc
@@ -98,6 +98,10 @@ approach of generating documentation just add these plugins to your `docs` modul
org.apache.maven.plugins
maven-antrun-plugin <6>
+
+ org.codehaus.mojo
+ build-helper-maven-plugin <7>
+
@@ -109,6 +113,7 @@ approach of generating documentation just add these plugins to your `docs` modul
<4> This plugin generates an `adoc` file with all the configuration properties from the classpath
<5> This plugin is required to parse the Asciidoctor documentation
<6> This plugin is required to copy resources into proper final destinations and to generate main README.adoc and to assert that no files use unresolved links
+<7> This plugin ensures that the generated zip docs are attached as an artifact and will get published
IMPORTANT: The order of plugin declaration is important!
@@ -152,4 +157,4 @@ what will happen is that for GA project versions, we will clone `gs-guide1`, `gs
You can skip this by either not adding the `guides` profile, or passing the `-DskipGuides` system property when the profile is turned on.
-You can configure the project version passed to guides via the `guides-project.version` (defaults to `${project.version}`). The phase at which guides get updated can be configured by `guides-update.phase` (defaults to `deploy`).
\ No newline at end of file
+You can configure the project version passed to guides via the `guides-project.version` (defaults to `${project.version}`). The phase at which guides get updated can be configured by `guides-update.phase` (defaults to `deploy`).
diff --git a/pom.xml b/pom.xml
index a9be6624..44fdcba2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1373,10 +1373,10 @@
org.codehaus.mojo
build-helper-maven-plugin
${build-helper-maven-plugin.version}
- false
attach-zip
+ package
attach-artifact