From f7f7f8153408afe060d47be33762df77371d96ba Mon Sep 17 00:00:00 2001 From: Marcin Grzejszczak Date: Fri, 6 Sep 2019 13:32:42 +0200 Subject: [PATCH] Parametrized the configprops path --- README.adoc | 2 +- pom.xml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.adoc b/README.adoc index fa5bfade..4e9d9593 100644 --- a/README.adoc +++ b/README.adoc @@ -278,7 +278,7 @@ approach of generating documentation just add these plugins to your `docs` modul 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. +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. Spring Cloud Build Docs comes with a set of attributes for asciidoctor that you can reuse. diff --git a/pom.xml b/pom.xml index 3723fb94..637547a4 100644 --- a/pom.xml +++ b/pom.xml @@ -98,6 +98,7 @@ true 3.2.10 1.8.1 + ${project.basedir}/src/main/asciidoc/_configprops.adoc @@ -1022,7 +1023,7 @@ org.springframework.cloud.internal.Main - ${project.basedir}/src/main/asciidoc/configprops.adoc + ${configprops.path}