[hibernate-commits] Hibernate SVN: r18188 - in validator/trunk: hibernate-validator-tck-runner and 1 other directory.

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Wed Dec 9 16:41:12 EST 2009


Author: hardy.ferentschik
Date: 2009-12-09 16:41:12 -0500 (Wed, 09 Dec 2009)
New Revision: 18188

Modified:
   validator/trunk/hibernate-validator-archetype/pom.xml
   validator/trunk/hibernate-validator-tck-runner/pom.xml
Log:
HV-272

Modified: validator/trunk/hibernate-validator-archetype/pom.xml
===================================================================
--- validator/trunk/hibernate-validator-archetype/pom.xml	2009-12-09 21:11:03 UTC (rev 18187)
+++ validator/trunk/hibernate-validator-archetype/pom.xml	2009-12-09 21:41:12 UTC (rev 18188)
@@ -1,5 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
     <modelVersion>4.0.0</modelVersion>
     <parent>
         <artifactId>hibernate-validator-parent</artifactId>
@@ -25,8 +27,22 @@
         <dependency>
             <groupId>org.hibernate</groupId>
             <artifactId>hibernate-validator</artifactId>
-            <version>${project.parent.version}</version>
         </dependency>
+        <!--
+        Provided dependencies.
+        JAXB is needed when running on Java5. In this environment these dependencies have to be added
+        On Java6 jaxb is part of the runtime environment
+        -->
+        <dependency>
+            <groupId>javax.xml.bind</groupId>
+            <artifactId>jaxb-api</artifactId>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
+            <groupId>com.sun.xml.bind</groupId>
+            <artifactId>jaxb-impl</artifactId>
+            <scope>provided</scope>
+        </dependency>
     </dependencies>
     <build>
         <defaultGoal>test</defaultGoal>

Modified: validator/trunk/hibernate-validator-tck-runner/pom.xml
===================================================================
--- validator/trunk/hibernate-validator-tck-runner/pom.xml	2009-12-09 21:11:03 UTC (rev 18187)
+++ validator/trunk/hibernate-validator-tck-runner/pom.xml	2009-12-09 21:41:12 UTC (rev 18188)
@@ -19,7 +19,7 @@
         <dependency>
             <groupId>org.hibernate</groupId>
             <artifactId>hibernate-validator</artifactId>
-        </dependency>
+        </dependency>       
         <dependency>
             <groupId>org.slf4j</groupId>
             <artifactId>slf4j-log4j12</artifactId>
@@ -38,6 +38,21 @@
             <groupId>org.jboss.test-harness</groupId>
             <artifactId>jboss-test-harness-jboss-as-51</artifactId>
         </dependency>
+        <!--
+        Provided dependencies.
+        JAXB is needed when running on Java5. In this environment these dependencies have to be added
+        On Java6 jaxb is part of the runtime environment
+        -->
+        <dependency>
+            <groupId>javax.xml.bind</groupId>
+            <artifactId>jaxb-api</artifactId>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
+            <groupId>com.sun.xml.bind</groupId>
+            <artifactId>jaxb-impl</artifactId>
+            <scope>provided</scope>
+        </dependency>         
     </dependencies>
 
     <properties>



More information about the hibernate-commits mailing list