Author: dwoods
Date: Tue Aug 10 12:48:15 2010
New Revision: 983972
URL: http://svn.apache.org/viewvc?rev=983972&view=rev
Log:
OPENJPA-1712 switch validation providers from Hibernate to Apache BVAL to match
trunk and to fix Java SE 5 testing
Modified:
openjpa/branches/2.0.x/openjpa-integration/validation/pom.xml
openjpa/branches/2.0.x/pom.xml
Modified: openjpa/branches/2.0.x/openjpa-integration/validation/pom.xml
URL:
http://svn.apache.org/viewvc/openjpa/branches/2.0.x/openjpa-integration/validation/pom.xml?rev=983972&r1=983971&r2=983972&view=diff
==============================================================================
--- openjpa/branches/2.0.x/openjpa-integration/validation/pom.xml (original)
+++ openjpa/branches/2.0.x/openjpa-integration/validation/pom.xml Tue Aug 10
12:48:15 2010
@@ -37,11 +37,12 @@
<description>OpenJPA Integration Tests - Bean Validation</description>
<profiles>
- <!-- Profile for testing with Apache BVAL provider -->
+ <!-- Default profile for testing with Apache BVAL provider -->
<!-- See http://incubator.apache.org/projects/beanvalidation.html -->
<profile>
<id>bval</id>
<activation>
+ <activeByDefault>true</activeByDefault>
<property>
<name>bval</name>
</property>
@@ -55,7 +56,6 @@
<dependency>
<groupId>org.apache.bval</groupId>
<artifactId>org.apache.bval.bundle</artifactId>
- <version>0.1-incubating</version>
<scope>test</scope>
<exclusions>
<!-- force usage of the geronimo-validation_1.0_spec
-->
@@ -74,7 +74,6 @@
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
- <version>2.4</version>
<scope>test</scope>
</dependency>
</dependencies>
@@ -100,11 +99,10 @@
</dependencies>
</profile>
- <!-- Default profile for testing with Hibernate Bean Validation RI -->
+ <!-- Profile for testing with Hibernate Bean Validation RI -->
<profile>
<id>hibernate</id>
<activation>
- <activeByDefault>true</activeByDefault>
<property>
<name>hibernate</name>
</property>
Modified: openjpa/branches/2.0.x/pom.xml
URL:
http://svn.apache.org/viewvc/openjpa/branches/2.0.x/pom.xml?rev=983972&r1=983971&r2=983972&view=diff
==============================================================================
--- openjpa/branches/2.0.x/pom.xml (original)
+++ openjpa/branches/2.0.x/pom.xml Tue Aug 10 12:48:15 2010
@@ -657,6 +657,16 @@
<version>1.1</version>
</dependency>
<dependency>
+ <groupId>org.apache.bval</groupId>
+ <artifactId>org.apache.bval.bundle</artifactId>
+ <version>0.1-incubating</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-beanutils</groupId>
+ <artifactId>commons-beanutils</artifactId>
+ <version>1.8.3</version>
+ </dependency>
+ <dependency>
<groupId>org.apache.derby</groupId>
<artifactId>derby</artifactId>
<version>${derby.version}</version>