From 4b2e01669b949c59100131c82c8c85178cc977e9 Mon Sep 17 00:00:00 2001 From: Oliver Gierke Date: Tue, 19 Mar 2013 14:50:05 +0100 Subject: [PATCH] DATAJPA-316 - Added build profiles to build against Hibernate 4.1 and 4.2. Upgraded to Spring Data Build 1.0.2.RELEASE along the way. Needed to upgrade to HSQLDB 2.2.9 as Hibernate 4 doesn't work with HSQLDB versions 1.x. Set up OpenJPA test run to still use HSQLD 1.8.0.10 as OpenJPA does not work with HSQLDB 2.x. *sigh* --- pom.xml | 108 +++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 68 insertions(+), 40 deletions(-) diff --git a/pom.xml b/pom.xml index 98ca16269..88be2de2d 100644 --- a/pom.xml +++ b/pom.xml @@ -1,42 +1,58 @@ - 4.0.0 - - org.springframework.data - spring-data-jpa - 1.3.1.BUILD-SNAPSHOT + 4.0.0 + + org.springframework.data + spring-data-jpa + 1.3.1.BUILD-SNAPSHOT - Spring Data JPA - Spring Data module for JPA repositories. - http://www.springframework.org/spring-data/jpa + Spring Data JPA + Spring Data module for JPA repositories. + http://www.springframework.org/spring-data/jpa - - org.springframework.data.build - spring-data-parent - 1.0.0.RELEASE - ../spring-data-build/parent/pom.xml - - - + + org.springframework.data.build + spring-data-parent + 1.0.2.RELEASE + ../spring-data-build/parent/pom.xml + + + - DATAJPA - - 2.4.0 - 3.6.10.Final - 2.0.0 - 2.2.0 - 1.5.0.RELEASE - - + DATAJPA + + 2.4.0 + 3.6.10.Final + 1.8.0.10 + 2.0.0 + 2.2.1 + 1.5.0.RELEASE + + - - - - ${project.groupId} - spring-data-commons - ${springdata.commons} - + + + hibernate-41 + + 4.1.11.Final + + + + hibernate-42 + + 4.2.0.Final + + + + + + + + ${project.groupId} + spring-data-commons + ${springdata.commons} + org.springframework @@ -108,7 +124,7 @@ org.hsqldb hsqldb - 1.8.0.10 + 2.2.8 test @@ -204,11 +220,11 @@ test - - - - - + + + + + org.apache.maven.plugins maven-surefire-plugin 2.12 @@ -225,6 +241,12 @@ ${openjpa} runtime + + org.hsqldb + hsqldb + ${hsqldb1} + runtime + @@ -296,6 +318,12 @@ **/OpenJpa*Tests.java -javaagent:${settings.localRepository}/org/apache/openjpa/openjpa/${openjpa}/openjpa-${openjpa}.jar + + org.hsqldb:hsqldb + + + ${settings.localRepository}/org/hsqldb/hsqldb/${hsqldb1}/hsqldb-${hsqldb1}.jar + @@ -383,7 +411,7 @@ org.codehaus.mojo wagon-maven-plugin - - + +