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.
This commit is contained in:
Oliver Gierke
2018-08-30 11:45:01 +02:00
parent b431a56a95
commit e8bb63c9f7
2 changed files with 20 additions and 2 deletions

18
pom.xml
View File

@@ -138,6 +138,24 @@
</modules>
</profile>
<profile>
<id>distribute</id>
<build>
<plugins>
<plugin>
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctor-maven-plugin</artifactId>
<configuration>
<attributes>
<mongo-reactivestreams>${mongo.reactivestreams}</mongo-reactivestreams>
<reactor>${reactor}</reactor>
</attributes>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<dependencies>

View File

@@ -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"]
----
<dependencies>
@@ -40,7 +40,7 @@ Then add the following to the pom.xml dependencies section.
<dependency>
<groupId>org.mongodb</groupId>
<artifactId>mongodb-driver-reactivestreams</artifactId>
<version>{mongo.reactivestreams}</version>
<version>{mongo-reactivestreams}</version>
</dependency>
<dependency>