#151 - Tweaked Neo4j example dependencies.
This commit is contained in:
@@ -1,6 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
|
|
||||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
@@ -8,10 +6,9 @@
|
|||||||
|
|
||||||
<artifactId>spring-data-neo4j-example</artifactId>
|
<artifactId>spring-data-neo4j-example</artifactId>
|
||||||
<name>Spring Data Neo4j - Example</name>
|
<name>Spring Data Neo4j - Example</name>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<spring-data-neo4j.version>4.0.0.RC2</spring-data-neo4j.version>
|
<neo4j-ogm.version>2.0.0-M02</neo4j-ogm.version>
|
||||||
<neo4j-ogm.version>1.1.1</neo4j-ogm.version>
|
|
||||||
<neo4j.version>2.2.4</neo4j.version>
|
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<parent>
|
<parent>
|
||||||
@@ -26,34 +23,26 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework.data</groupId>
|
<groupId>org.springframework.data</groupId>
|
||||||
<artifactId>spring-data-neo4j</artifactId>
|
<artifactId>spring-data-neo4j</artifactId>
|
||||||
<version>${spring-data-neo4j.version}</version>
|
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework.data</groupId>
|
<groupId>org.springframework.data</groupId>
|
||||||
<artifactId>spring-data-neo4j</artifactId>
|
<artifactId>spring-data-neo4j</artifactId>
|
||||||
<version>${spring-data-neo4j.version}</version>
|
<version>4.1.0.BUILD-SNAPSHOT</version>
|
||||||
<type>test-jar</type>
|
<type>test-jar</type>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.neo4j</groupId>
|
<groupId>org.neo4j</groupId>
|
||||||
<artifactId>neo4j-ogm</artifactId>
|
<artifactId>neo4j-ogm-test</artifactId>
|
||||||
<version>${neo4j-ogm.version}</version>
|
<version>${neo4j-ogm.version}</version>
|
||||||
<type>test-jar</type>
|
|
||||||
<scope>test</scope>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.neo4j.app</groupId>
|
|
||||||
<artifactId>neo4j-server</artifactId>
|
|
||||||
<version>${neo4j.version}</version>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.neo4j.test</groupId>
|
|
||||||
<artifactId>neo4j-harness</artifactId>
|
|
||||||
<version>${neo4j.version}</version>
|
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
<artifactId>spring-boot-starter-data-rest</artifactId>
|
||||||
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
@@ -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");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with 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.context.annotation.Configuration;
|
||||||
import org.springframework.data.neo4j.config.Neo4jConfiguration;
|
import org.springframework.data.neo4j.config.Neo4jConfiguration;
|
||||||
import org.springframework.data.neo4j.repository.config.EnableNeo4jRepositories;
|
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.ContextConfiguration;
|
||||||
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
|
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
|
||||||
import org.springframework.transaction.annotation.EnableTransactionManagement;
|
import org.springframework.transaction.annotation.EnableTransactionManagement;
|
||||||
@@ -48,11 +46,6 @@ public class ActorRepositoryIntegrationTest {
|
|||||||
@EnableNeo4jRepositories
|
@EnableNeo4jRepositories
|
||||||
static class ExampleConfig extends Neo4jConfiguration {
|
static class ExampleConfig extends Neo4jConfiguration {
|
||||||
|
|
||||||
@Override
|
|
||||||
public Neo4jServer neo4jServer() {
|
|
||||||
return new InProcessServer();
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public SessionFactory getSessionFactory() {
|
public SessionFactory getSessionFactory() {
|
||||||
return new SessionFactory("example.springdata.neo4j");
|
return new SessionFactory("example.springdata.neo4j");
|
||||||
|
|||||||
@@ -13,6 +13,7 @@
|
|||||||
<groupId>org.springframework.data.examples</groupId>
|
<groupId>org.springframework.data.examples</groupId>
|
||||||
<artifactId>spring-data-examples</artifactId>
|
<artifactId>spring-data-examples</artifactId>
|
||||||
<version>1.0.0.BUILD-SNAPSHOT</version>
|
<version>1.0.0.BUILD-SNAPSHOT</version>
|
||||||
|
<relativePath>../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<name>Spring Data Neo4j 4 - Examples</name>
|
<name>Spring Data Neo4j 4 - Examples</name>
|
||||||
|
|||||||
Reference in New Issue
Block a user