This was my fix
Code:
<!-- Spring Data Neo4j -->
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-neo4j</artifactId>
<version>${spring-data-neo4j.version}</version>
<exclusions>
<exclusion>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-commons-core</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-commons-core</artifactId>
<version>${spring-data-commons.version}</version>
</dependency>
With properties set
Code:
<properties>
<spring-data-neo4j.version>2.0.0.RELEASE</spring-data-neo4j.version>
<spring-data-commons.version>1.2.0.RELEASE</spring-data-commons.version>
</properties>
I didn't want any SNAPSHOTS only RELEASEs in my pom.
So here are the Repos I have in my pom
Code:
<repositories>
<repository>
<id>spring-maven-release</id>
<name>Spring Maven Release Repository</name>
<url>http://maven.springframework.org/release</url>
</repository>
<repository>
<id>neo4j-public-release-repository</id>
<name>Neo4J Public Release Repository</name>
<url>http://m2.neo4j.org/releases</url>
</repository>
</repositories>
Mark