From bbd02107b268627b17004485e5f437468287dc9b Mon Sep 17 00:00:00 2001 From: Mark Paluch Date: Mon, 10 Dec 2018 10:17:48 +0100 Subject: [PATCH] DATAMONGO-2161 - Simplify reference documentation setup. Remove Asciidoctor plugin from all module builds and run asciidoctor only in distribution build. --- pom.xml | 19 ------------------- spring-data-mongodb-distribution/pom.xml | 10 +++++++++- src/main/asciidoc/index.adoc | 10 +--------- 3 files changed, 10 insertions(+), 29 deletions(-) diff --git a/pom.xml b/pom.xml index 28dc5c96c..657607148 100644 --- a/pom.xml +++ b/pom.xml @@ -137,25 +137,6 @@ spring-data-mongodb-benchmarks - - - distribute - - - - org.asciidoctor - asciidoctor-maven-plugin - - - ${mongo.reactivestreams} - ${reactor} - - - - - - - diff --git a/spring-data-mongodb-distribution/pom.xml b/spring-data-mongodb-distribution/pom.xml index cb441dd8e..fc8d28a2b 100644 --- a/spring-data-mongodb-distribution/pom.xml +++ b/spring-data-mongodb-distribution/pom.xml @@ -1,5 +1,6 @@ - + 4.0.0 @@ -35,8 +36,15 @@ org.asciidoctor asciidoctor-maven-plugin + + + ${mongo.reactivestreams} + ${reactor} + + + diff --git a/src/main/asciidoc/index.adoc b/src/main/asciidoc/index.adoc index 43d8e7f7b..c88882ab4 100644 --- a/src/main/asciidoc/index.adoc +++ b/src/main/asciidoc/index.adoc @@ -2,16 +2,8 @@ Mark Pollack; Thomas Risberg; Oliver Gierke; Costin Leau; Jon Brisbin; Thomas Darimont; Christoph Strobl; Mark Paluch; Jay Bryant :revnumber: {version} :revdate: {localdate} -:toc: -:toc-placement!: -:linkcss: -:doctype: book -:docinfo: shared -:source-highlighter: prettify -:icons: font -:imagesdir: images ifdef::backend-epub3[:front-cover-image: image:epub-cover.png[Front Cover,1050,1600]] -:spring-data-commons-docs: ../../../../spring-data-commons/src/main/asciidoc +:spring-data-commons-docs: ../../../../../spring-data-commons/src/main/asciidoc (C) 2008-2018 The original authors.