From a991b96518a7fe208ab922558ed0d058287cfadb Mon Sep 17 00:00:00 2001 From: Oliver Gierke Date: Thu, 30 Aug 2018 11:45:01 +0200 Subject: [PATCH] DATAMONGO-2076 - Fixed attribute substitution in reactive MongoDB section. We now redeclare the Asciidoctor Maven plugin to register the store specific attributes. Apparently they must not contain dots, so we replaced them with dashes. --- pom.xml | 18 ++++++++++++++++++ .../asciidoc/reference/reactive-mongodb.adoc | 4 ++-- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 114420f66..15de83c29 100644 --- a/pom.xml +++ b/pom.xml @@ -138,6 +138,24 @@ + + distribute + + + + org.asciidoctor + asciidoctor-maven-plugin + + + ${mongo.reactivestreams} + ${reactor} + + + + + + + diff --git a/src/main/asciidoc/reference/reactive-mongodb.adoc b/src/main/asciidoc/reference/reactive-mongodb.adoc index 6e1163d8d..bb9ac80f3 100644 --- a/src/main/asciidoc/reference/reactive-mongodb.adoc +++ b/src/main/asciidoc/reference/reactive-mongodb.adoc @@ -25,7 +25,7 @@ To create a Spring project in STS, go to File -> New -> Spring Template Project Then add the following to the pom.xml dependencies section. -[source,xml] +[source,xml,subs="+attributes"] ---- @@ -40,7 +40,7 @@ Then add the following to the pom.xml dependencies section. org.mongodb mongodb-driver-reactivestreams - {mongo.reactivestreams} + {mongo-reactivestreams}