diff --git a/docs/pom.xml b/docs/pom.xml
index 32f9f69b..76992038 100644
--- a/docs/pom.xml
+++ b/docs/pom.xml
@@ -84,6 +84,7 @@
+
docs
@@ -114,14 +115,6 @@
io.spring.maven.antora
antora-maven-plugin
-
-
- prepare-package
-
- antora
-
-
-
org.apache.maven.plugins
@@ -133,5 +126,6 @@
+
diff --git a/docs/src/main/asciidoc/README.adoc b/docs/src/main/asciidoc/README.adoc
index 96046472..bf2b0149 100644
--- a/docs/src/main/asciidoc/README.adoc
+++ b/docs/src/main/asciidoc/README.adoc
@@ -73,54 +73,12 @@ approach of generating documentation just add these plugins to your `docs` modul
[source,xml]
----
-
-
- 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>
-
-
-
-
-
+include::https://raw.githubusercontent.com/spring-cloud/spring-cloud-build/main/docs/pom.xml[indent=0,tags=docs]
----
-<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
-<3> This plugin unpacks the resources of the `spring-cloud-build-docs` module
-<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 will get published
IMPORTANT: The order of plugin declaration is important!
-In order for the build to generate the `adoc` file with all your configuration properties, your `docs` module should contain all the dependencies on the classpath, that you would want to scan for configuration properties. The file will be output to `${docsModule}/src/main/asciidoc/_configprops.adoc` file (configurable via the `configprops.path` property).
+In order for the build to generate the `adoc` file with all your configuration properties, your `docs` module should contain all the dependencies on the classpath, that you would want to scan for configuration properties.
If you want to modify which of the configuration properties are put in the table, you can tweak the `configprops.inclusionPattern` pattern to include only a subset of the properties (e.g. `spring.sleuth.*`).
diff --git a/pom.xml b/pom.xml
index 97760db0..05757140 100644
--- a/pom.xml
+++ b/pom.xml
@@ -139,6 +139,7 @@
package
package
0.0.4
+ prepare-package
@@ -1066,7 +1067,14 @@
io.spring.maven.antora
antora-maven-plugin
${antora-maven-plugin.version}
- true
+
+
+ ${antora-maven-plugin.phase}
+
+ antora
+
+
+
org.codehaus.mojo