Author: hardy.ferentschik
Date: 2010-07-02 04:54:15 -0400 (Fri, 02 Jul 2010)
New Revision: 19890
Modified:
core/trunk/entitymanager/pom.xml
core/trunk/parent/pom.xml
Log:
HHH-5317 Updated the hibernate-validator dependency to 4.1.0.Final. Added a profile to EM
which will add the jaxb classes in case the build is using java 5. HV 4.1.0.Final now uses
the provided scope for the jaxb depdencies
Modified: core/trunk/entitymanager/pom.xml
===================================================================
--- core/trunk/entitymanager/pom.xml 2010-07-02 08:31:15 UTC (rev 19889)
+++ core/trunk/entitymanager/pom.xml 2010-07-02 08:54:15 UTC (rev 19890)
@@ -198,5 +198,25 @@
</plugins>
</build>
</profile>
+ <profile>
+ <id>jaxb</id>
+ <activation>
+ <jdk>1.5</jdk>
+ </activation>
+ <dependencies>
+ <dependency>
+ <groupId>javax.xml.bind</groupId>
+ <artifactId>jaxb-api</artifactId>
+ <version>2.1</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.sun.xml.bind</groupId>
+ <artifactId>jaxb-impl</artifactId>
+ <version>2.1.3</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+ </profile>
</profiles>
</project>
Modified: core/trunk/parent/pom.xml
===================================================================
--- core/trunk/parent/pom.xml 2010-07-02 08:31:15 UTC (rev 19889)
+++ core/trunk/parent/pom.xml 2010-07-02 08:54:15 UTC (rev 19890)
@@ -537,7 +537,7 @@
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-validator</artifactId>
- <version>4.0.2.GA</version>
+ <version>4.1.0.Final</version>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
Show replies by date