Use Hibernate 4.2 instead of 4.3

This commit is contained in:
James Agnew 2015-01-08 10:46:16 -05:00
parent c786b00950
commit 837f21ba8e
2 changed files with 13 additions and 1 deletions

View File

@ -269,6 +269,9 @@
<target>SCRIPT</target> <target>SCRIPT</target>
<skip>${skip-hib4}</skip> <skip>${skip-hib4}</skip>
</configuration> </configuration>
<!--
This needs to be uncommented in order for this plugin to work with
Hibernate 4.3+ (as of hibernate4-maven-plugin version 1.0.5)
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.hibernate</groupId> <groupId>org.hibernate</groupId>
@ -276,6 +279,7 @@
<version>${hibernate_version}</version> <version>${hibernate_version}</version>
</dependency> </dependency>
</dependencies> </dependencies>
-->
<executions> <executions>
<execution> <execution>
<id>o10g</id> <id>o10g</id>

10
pom.xml
View File

@ -144,7 +144,15 @@
<derby_version>10.11.1.1</derby_version> <derby_version>10.11.1.1</derby_version>
<guava_version>18.0</guava_version> <guava_version>18.0</guava_version>
<hamcrest_version>1.3</hamcrest_version> <hamcrest_version>1.3</hamcrest_version>
<hibernate_version>4.3.7.Final<!-- 4.2.12.Final --></hibernate_version> <hibernate_version>4.2.17.Final</hibernate_version>
<!--
Note on Hibernate versions: Hibernate 4.3+ uses JPA 2.1, which is too new for
a number of platforms including JBoss EAP 6.x and Glassfish 3.0. Upgrade this
version with caution! Also note that if you change this, you may get a failure
in hibernate4-maven-plugin. See the note in hapi-fhir-jpaserver-base/pom.xml's
configuration for that plugin...
<hibernate_version>4.3.7.Final</hibernate_version>
-->
<hibernate_validator_version>5.1.0.Final</hibernate_validator_version> <hibernate_validator_version>5.1.0.Final</hibernate_validator_version>
<jetty_version>9.2.6.v20141205</jetty_version> <jetty_version>9.2.6.v20141205</jetty_version>
<jscience_version>4.3.1</jscience_version> <jscience_version>4.3.1</jscience_version>