You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/asciidoc/getting-started/getting-started.adoc
+3-8Lines changed: 3 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,10 +42,6 @@ The easiest way to setup a Spring Boot project is https://start.spring.io[start.
42
42
Select the "Spring Web Starter" to get all the dependencies needed for creating a Spring based web application.
43
43
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.
44
44
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
-
49
45
=== Using Maven
50
46
51
47
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
55
51
.Create a basic Maven project with the Spring Initializr
56
52
----
57
53
curl https://start.spring.io/starter.tgz \
58
-
-d dependencies=webflux,actuator \
54
+
-d dependencies=webflux,actuator,data-neo4j \
59
55
-d bootVersion={spring-boot-version} \
60
56
-d baseDir=Neo4jSpringBootExample \
61
57
-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
71
67
<dependency>
72
68
<groupId>{groupId}</groupId>
73
69
<artifactId>{artifactIdStarter}</artifactId>
74
-
<version>{version}</version>
75
70
</dependency>
76
71
----
77
72
@@ -86,7 +81,7 @@ The idea is the same, just generate a Gradle project:
86
81
.Create a basic Gradle project with the Spring Initializr
87
82
----
88
83
curl https://start.spring.io/starter.tgz \
89
-
-d dependencies=webflux,actuator \
84
+
-d dependencies=webflux,actuator,data-neo4j \
90
85
-d type=gradle-project \
91
86
-d bootVersion={spring-boot-version} \
92
87
-d baseDir=Neo4jSpringBootExampleGradle \
@@ -99,7 +94,7 @@ The dependency for Gradle looks like this and must be added to `build.gradle`:
99
94
.Inclusion of the spring-data-neo4j-spring-boot-starter in a Gradle project
0 commit comments