DATAGRAPH-517 - Update To Neo4j 2.1.5

This commit is contained in:
Michael Hunger
2014-10-03 03:29:55 +02:00
parent 5fecdbffa0
commit 2214b634e6
3 changed files with 14 additions and 5 deletions

View File

@@ -40,7 +40,7 @@
<neo4j.version>2.1.5</neo4j.version>
<neo4j.spatial.version>0.13-neo4j-2.0.1</neo4j.spatial.version>
<neo4j.spatial.version>0.13-neo4j-2.1.4</neo4j.spatial.version>
<neo4j-cypher-dsl.version>2.0.1</neo4j-cypher-dsl.version>
</properties>
@@ -173,6 +173,13 @@
<name>Spring</name>
<url>http://repo.spring.io/libs-snapshot</url>
</repository>
<repository>
<id>neo4j</id>
<url>http://m2.neo4j.org/content/repositories/releases</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>geotools</id>
<url>http://download.osgeo.org/webdav/geotools</url>

View File

@@ -16,7 +16,6 @@
package org.springframework.data.neo4j.illegal.aspects.index1;
import org.apache.commons.lang.exception.ExceptionUtils;
import org.junit.Test;
import org.springframework.beans.factory.BeanCreationException;
import org.springframework.context.support.ClassPathXmlApplicationContext;
@@ -144,7 +143,9 @@ public class IllegalIndex1Tests extends EntityTestBase {
appCtx.getEnvironment().setActiveProfiles( entityUnderTest.getSimpleName() );
appCtx.refresh();
} catch (BeanCreationException bce) {
throw ExceptionUtils.getRootCause(bce);
Throwable ex=bce;
while (ex.getCause() != null) ex = ex.getCause();
throw ex;
}
}

View File

@@ -16,7 +16,6 @@
package org.springframework.data.neo4j.illegal.aspects.index2;
import org.apache.commons.lang.exception.ExceptionUtils;
import org.junit.Test;
import org.springframework.beans.factory.BeanCreationException;
import org.springframework.context.support.ClassPathXmlApplicationContext;
@@ -72,7 +71,9 @@ public class IllegalIndex2Tests {
appCtx.getEnvironment().setActiveProfiles( entityUnderTest.getSimpleName() );
appCtx.refresh();
} catch (BeanCreationException bce) {
throw ExceptionUtils.getRootCause(bce);
Throwable ex=bce;
while (ex.getCause() != null) ex = ex.getCause();
throw ex;
}
}