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

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19890 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Hardy Ferentschik 2010-07-02 08:54:15 +00:00
parent f7c7c55e2a
commit baba9f5ea8
2 changed files with 21 additions and 1 deletions

View File

@ -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>

View File

@ -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>