Skip to content

Commit bc15e2b

Browse files
committed
DATAGRAPH-1414 - Improve documentation.
1 parent 8b39ed4 commit bc15e2b

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

src/main/asciidoc/getting-started/getting-started.adoc

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,6 @@ The easiest way to setup a Spring Boot project is https://start.spring.io[start.
4242
Select the "Spring Web Starter" to get all the dependencies needed for creating a Spring based web application.
4343
The Spring Initializr will take care of creating a valid project structure for you, with all the files and settings in place for the selected build tool.
4444

45-
WARNING: Don't choose Spring Data Neo4j here, as it will get you the previous generation of Spring Data Neo4j including OGM and additional abstraction over the driver.
46-
47-
You might want to follow https://start.spring.io/#!type=maven-project&language=java&platformVersion=2.2.4.RELEASE&packaging=jar&jvmVersion=1.8&groupId=com.example&artifactId=demo&name=Neo4j%20Spring%20Boot%20Example&description=Demo%20project%20for%20Spring%20Boot&packageName=com.example.demo&dependencies=webflux,actuator[this link for a preconfigured setup].
48-
4945
=== Using Maven
5046

5147
You can issue a _curl_ request against the Spring Initializer to create a basic Maven project:
@@ -55,7 +51,7 @@ You can issue a _curl_ request against the Spring Initializer to create a basic
5551
.Create a basic Maven project with the Spring Initializr
5652
----
5753
curl https://start.spring.io/starter.tgz \
58-
-d dependencies=webflux,actuator \
54+
-d dependencies=webflux,actuator,data-neo4j \
5955
-d bootVersion={spring-boot-version} \
6056
-d baseDir=Neo4jSpringBootExample \
6157
-d name=Neo4j%20SpringBoot%20Example | tar -xzvf -
@@ -71,7 +67,6 @@ As this starter is not yet on the initializer, you will have to add the followin
7167
<dependency>
7268
<groupId>{groupId}</groupId>
7369
<artifactId>{artifactIdStarter}</artifactId>
74-
<version>{version}</version>
7570
</dependency>
7671
----
7772

@@ -86,7 +81,7 @@ The idea is the same, just generate a Gradle project:
8681
.Create a basic Gradle project with the Spring Initializr
8782
----
8883
curl https://start.spring.io/starter.tgz \
89-
-d dependencies=webflux,actuator \
84+
-d dependencies=webflux,actuator,data-neo4j \
9085
-d type=gradle-project \
9186
-d bootVersion={spring-boot-version} \
9287
-d baseDir=Neo4jSpringBootExampleGradle \
@@ -99,7 +94,7 @@ The dependency for Gradle looks like this and must be added to `build.gradle`:
9994
.Inclusion of the spring-data-neo4j-spring-boot-starter in a Gradle project
10095
----
10196
dependencies {
102-
implementation '{groupId}:{artifactIdStarter}:{version}'
97+
implementation '{groupId}:{artifactIdStarter}'
10398
}
10499
----
105100

0 commit comments

Comments
 (0)