diff --git a/neo4j/example/pom.xml b/neo4j/example/pom.xml index f0739169..6b01f145 100644 --- a/neo4j/example/pom.xml +++ b/neo4j/example/pom.xml @@ -1,6 +1,4 @@ - - @@ -8,10 +6,9 @@ spring-data-neo4j-example Spring Data Neo4j - Example + - 4.0.0.RC2 - 1.1.1 - 2.2.4 + 2.0.0-M02 @@ -26,34 +23,26 @@ org.springframework.data spring-data-neo4j - ${spring-data-neo4j.version} org.springframework.data spring-data-neo4j - ${spring-data-neo4j.version} + 4.1.0.BUILD-SNAPSHOT test-jar + org.neo4j - neo4j-ogm + neo4j-ogm-test ${neo4j-ogm.version} - test-jar - test - - - org.neo4j.app - neo4j-server - ${neo4j.version} - - - org.neo4j.test - neo4j-harness - ${neo4j.version} test + + org.springframework.boot + spring-boot-starter-data-rest + \ No newline at end of file diff --git a/neo4j/example/src/test/java/example/springdata/neo4j/ActorRepositoryIntegrationTest.java b/neo4j/example/src/test/java/example/springdata/neo4j/ActorRepositoryIntegrationTest.java index b66284ef..08fe6d34 100644 --- a/neo4j/example/src/test/java/example/springdata/neo4j/ActorRepositoryIntegrationTest.java +++ b/neo4j/example/src/test/java/example/springdata/neo4j/ActorRepositoryIntegrationTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2015 the original author or authors. + * Copyright 2015-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -25,8 +25,6 @@ import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Configuration; import org.springframework.data.neo4j.config.Neo4jConfiguration; import org.springframework.data.neo4j.repository.config.EnableNeo4jRepositories; -import org.springframework.data.neo4j.server.InProcessServer; -import org.springframework.data.neo4j.server.Neo4jServer; import org.springframework.test.context.ContextConfiguration; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import org.springframework.transaction.annotation.EnableTransactionManagement; @@ -48,11 +46,6 @@ public class ActorRepositoryIntegrationTest { @EnableNeo4jRepositories static class ExampleConfig extends Neo4jConfiguration { - @Override - public Neo4jServer neo4jServer() { - return new InProcessServer(); - } - @Override public SessionFactory getSessionFactory() { return new SessionFactory("example.springdata.neo4j"); diff --git a/neo4j/pom.xml b/neo4j/pom.xml index b99f7f7d..476e01d4 100644 --- a/neo4j/pom.xml +++ b/neo4j/pom.xml @@ -13,6 +13,7 @@ org.springframework.data.examples spring-data-examples 1.0.0.BUILD-SNAPSHOT + ../pom.xml Spring Data Neo4j 4 - Examples