DATAGRAPH-1368 - Fix included OGM docs.

This changes appends the Neo4j-OGM version to the AsciiDoctor configuration and thus removes the need for changes to the included files in the future.
This commit is contained in:
Michael Simons
2020-08-31 13:55:26 +02:00
parent e194cbe07e
commit 1e4feb0d21
3 changed files with 25 additions and 15 deletions

10
pom.xml
View File

@@ -233,6 +233,16 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctor-maven-plugin</artifactId>
<configuration combine.self="append">
<doctype>book</doctype>
<attributes>
<neo4jOgmVersion>${neo4j.ogm.version}</neo4jOgmVersion>
</attributes>
</configuration>
</plugin>
</plugins>
</build>

View File

@@ -4,7 +4,7 @@ Michael Hunger; Oliver Gierke; Vince Bickers; Adam George; Luanne Misquitta; Mic
:revdate: {localdate}
:spring-data-commons-docs: ../../../../../spring-data-commons/src/main/asciidoc
(C) 2010-2019 Graph Aware Ltd - Neo Technology, Inc. - Pivotal Software, Inc.
(C) 2010-2020 Graph Aware Ltd - Neo Technology, Inc. - Pivotal Software, Inc.
image::springdatagraph.png[Spring + Neo4j,align="left"]
@@ -43,18 +43,18 @@ This chapter is taken from the https://neo4j.com/docs/ogm-manual/current[Officia
--
:leveloffset: +1
include::https://raw.githubusercontent.com/neo4j/neo4j-ogm/v3.1.2/neo4j-ogm-docs/src/main/asciidoc/reference/introduction.adoc[]
include::https://raw.githubusercontent.com/neo4j/neo4j-ogm/v3.1.2/neo4j-ogm-docs/src/main/asciidoc/reference/getting-started.adoc[]
include::https://raw.githubusercontent.com/neo4j/neo4j-ogm/v3.1.2/neo4j-ogm-docs/src/main/asciidoc/reference/configuration.adoc[]
include::https://raw.githubusercontent.com/neo4j/neo4j-ogm/v3.1.2/neo4j-ogm-docs/src/main/asciidoc/reference/annotations.adoc[]
include::https://raw.githubusercontent.com/neo4j/neo4j-ogm/v3.1.2/neo4j-ogm-docs/src/main/asciidoc/reference/indexing.adoc[]
include::https://raw.githubusercontent.com/neo4j/neo4j-ogm/v3.1.2/neo4j-ogm-docs/src/main/asciidoc/reference/connecting.adoc[]
include::https://raw.githubusercontent.com/neo4j/neo4j-ogm/v3.1.2/neo4j-ogm-docs/src/main/asciidoc/reference/session.adoc[]
include::https://raw.githubusercontent.com/neo4j/neo4j-ogm/v3.1.2/neo4j-ogm-docs/src/main/asciidoc/reference/conversion.adoc[]
include::https://raw.githubusercontent.com/neo4j/neo4j-ogm/v3.1.2/neo4j-ogm-docs/src/main/asciidoc/reference/filters.adoc[]
include::https://raw.githubusercontent.com/neo4j/neo4j-ogm/v3.1.2/neo4j-ogm-docs/src/main/asciidoc/reference/events.adoc[]
include::https://raw.githubusercontent.com/neo4j/neo4j-ogm/v3.1.2/neo4j-ogm-docs/src/main/asciidoc/reference/testing.adoc[]
include::https://raw.githubusercontent.com/neo4j/neo4j-ogm/v3.1.2/neo4j-ogm-docs/src/main/asciidoc/reference/ha.adoc[]
include::https://raw.githubusercontent.com/neo4j/neo4j-ogm/v{neo4jOgmVersion}/neo4j-ogm-docs/src/main/asciidoc/reference/introduction.adoc[]
include::https://raw.githubusercontent.com/neo4j/neo4j-ogm/v{neo4jOgmVersion}/neo4j-ogm-docs/src/main/asciidoc/reference/getting-started.adoc[]
include::https://raw.githubusercontent.com/neo4j/neo4j-ogm/v{neo4jOgmVersion}/neo4j-ogm-docs/src/main/asciidoc/reference/configuration.adoc[]
include::https://raw.githubusercontent.com/neo4j/neo4j-ogm/v{neo4jOgmVersion}/neo4j-ogm-docs/src/main/asciidoc/reference/annotations.adoc[]
include::https://raw.githubusercontent.com/neo4j/neo4j-ogm/v{neo4jOgmVersion}/neo4j-ogm-docs/src/main/asciidoc/reference/indexing.adoc[]
include::https://raw.githubusercontent.com/neo4j/neo4j-ogm/v{neo4jOgmVersion}/neo4j-ogm-docs/src/main/asciidoc/reference/connecting.adoc[]
include::https://raw.githubusercontent.com/neo4j/neo4j-ogm/v{neo4jOgmVersion}/neo4j-ogm-docs/src/main/asciidoc/reference/session.adoc[]
include::https://raw.githubusercontent.com/neo4j/neo4j-ogm/v{neo4jOgmVersion}/neo4j-ogm-docs/src/main/asciidoc/reference/conversion.adoc[]
include::https://raw.githubusercontent.com/neo4j/neo4j-ogm/v{neo4jOgmVersion}/neo4j-ogm-docs/src/main/asciidoc/reference/filters.adoc[]
include::https://raw.githubusercontent.com/neo4j/neo4j-ogm/v{neo4jOgmVersion}/neo4j-ogm-docs/src/main/asciidoc/reference/events.adoc[]
include::https://raw.githubusercontent.com/neo4j/neo4j-ogm/v{neo4jOgmVersion}/neo4j-ogm-docs/src/main/asciidoc/reference/testing.adoc[]
include::https://raw.githubusercontent.com/neo4j/neo4j-ogm/v{neo4jOgmVersion}/neo4j-ogm-docs/src/main/asciidoc/reference/ha.adoc[]
:leveloffset: -1

View File

@@ -71,10 +71,10 @@ Here is a list of useful resources:
Spring Data Neo4j 5.1.x at minimum, requires:
* JDK Version 8 and above.
* Neo4j Graph Database 3.1 and above.
* Neo4j Graph Database 3.4 and above.
* Spring Framework {springVersion} and above.
If you plan on altering the version of the Neo4j-OGM make sure it is a 3.0.0+ release.
If you plan on altering the version of the Neo4j-OGM make sure it is a 3.1.0+ release, fitting into the https://github.com/neo4j/neo4j-ogm/wiki/Versions[matrix of compatible versions].
[[preface.additional-resources]]
== Additional Resources