diff --git a/README.adoc b/README.adoc
index d3770a29..65735f11 100644
--- a/README.adoc
+++ b/README.adoc
@@ -235,12 +235,12 @@ In order to add it, add the `org.codehaus.mojo:flatten-maven-plugin` to your `po
[source,xml]
----
-
-
- org.codehaus.mojo
- flatten-maven-plugin
-
-
+
+
+ org.codehaus.mojo
+ flatten-maven-plugin
+
+
----
@@ -253,45 +253,45 @@ approach of generating documentation just add these plugins to your `docs` modul
[source,xml]
----
+
+ deploy <8>
+
-
- docs
-
- deploy
-
-
-
-
- pl.project13.maven
- git-commit-id-plugin <1>
-
-
- org.apache.maven.plugins
- maven-dependency-plugin <2>
-
-
- org.apache.maven.plugins
- maven-resources-plugin <3>
-
-
- org.codehaus.mojo
- exec-maven-plugin <4>
-
-
- org.asciidoctor
- asciidoctor-maven-plugin <5>
-
-
- org.apache.maven.plugins
- maven-antrun-plugin <6>
-
-
- maven-deploy-plugin <7>
-
-
-
-
-
+
+ docs
+
+
+
+ pl.project13.maven
+ git-commit-id-plugin <1>
+
+
+ org.apache.maven.plugins
+ maven-dependency-plugin <2>
+
+
+ org.apache.maven.plugins
+ maven-resources-plugin <3>
+
+
+ org.codehaus.mojo
+ exec-maven-plugin <4>
+
+
+ org.asciidoctor
+ asciidoctor-maven-plugin <5>
+
+
+ org.apache.maven.plugins
+ maven-antrun-plugin <6>
+
+
+ maven-deploy-plugin <7>
+
+
+
+
+
----
<1> This plugin downloads sets up all the git information of the project
<2> This plugin downloads the resources of the `spring-cloud-build-docs` module
@@ -300,6 +300,7 @@ approach of generating documentation just add these plugins to your `docs` modul
<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 will get published
+<8> This property turns on the "deploy" phase for <7>
IMPORTANT: The order of plugin declaration is important!
@@ -360,9 +361,9 @@ We assume that your project contains guides under the `guides` folder.
```
.
└── guides
- ├── gs-guide1
- ├── gs-guide2
- └── gs-guide3
+ ├── gs-guide1
+ ├── gs-guide2
+ └── gs-guide3
```
This means that the project contains 3 guides that would
diff --git a/docs/pom.xml b/docs/pom.xml
index c581773e..9ef155e9 100644
--- a/docs/pom.xml
+++ b/docs/pom.xml
@@ -24,6 +24,7 @@
none
${project.basedir}/src/main/
+ deploy
@@ -246,9 +247,6 @@
docs
-
- deploy
-
diff --git a/docs/src/main/asciidoc/README.adoc b/docs/src/main/asciidoc/README.adoc
index cc569f01..dbe93086 100644
--- a/docs/src/main/asciidoc/README.adoc
+++ b/docs/src/main/asciidoc/README.adoc
@@ -51,12 +51,12 @@ In order to add it, add the `org.codehaus.mojo:flatten-maven-plugin` to your `po
[source,xml]
----
-
-
- org.codehaus.mojo
- flatten-maven-plugin
-
-
+
+
+ org.codehaus.mojo
+ flatten-maven-plugin
+
+
----
@@ -69,45 +69,45 @@ approach of generating documentation just add these plugins to your `docs` modul
[source,xml]
----
+
+ deploy <8>
+
-
- docs
-
- deploy
-
-
-
-
- pl.project13.maven
- git-commit-id-plugin <1>
-
-
- org.apache.maven.plugins
- maven-dependency-plugin <2>
-
-
- org.apache.maven.plugins
- maven-resources-plugin <3>
-
-
- org.codehaus.mojo
- exec-maven-plugin <4>
-
-
- org.asciidoctor
- asciidoctor-maven-plugin <5>
-
-
- org.apache.maven.plugins
- maven-antrun-plugin <6>
-
-
- maven-deploy-plugin <7>
-
-
-
-
-
+
+ docs
+
+
+
+ pl.project13.maven
+ git-commit-id-plugin <1>
+
+
+ org.apache.maven.plugins
+ maven-dependency-plugin <2>
+
+
+ org.apache.maven.plugins
+ maven-resources-plugin <3>
+
+
+ org.codehaus.mojo
+ exec-maven-plugin <4>
+
+
+ org.asciidoctor
+ asciidoctor-maven-plugin <5>
+
+
+ org.apache.maven.plugins
+ maven-antrun-plugin <6>
+
+
+ maven-deploy-plugin <7>
+
+
+
+
+
----
<1> This plugin downloads sets up all the git information of the project
<2> This plugin downloads the resources of the `spring-cloud-build-docs` module
@@ -116,6 +116,7 @@ approach of generating documentation just add these plugins to your `docs` modul
<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 will get published
+<8> This property turns on the "deploy" phase for <7>
IMPORTANT: The order of plugin declaration is important!
@@ -137,9 +138,9 @@ We assume that your project contains guides under the `guides` folder.
```
.
└── guides
- ├── gs-guide1
- ├── gs-guide2
- └── gs-guide3
+ ├── gs-guide1
+ ├── gs-guide2
+ └── gs-guide3
```
This means that the project contains 3 guides that would