From b68c975ebf49b65004c42fcc3bd39dd3f8d6a432 Mon Sep 17 00:00:00 2001 From: Donald Woods Date: Fri, 2 Oct 2009 18:33:59 +0000 Subject: [PATCH] OPENJPA-1229 Upgrade to agimatec-validation 0.9.3 which supports 1.0.CR5 now, but still lacks support for XML constraints (so 1 test in testMappedSuperXMLConstraint fails) git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@821124 13f79535-47bb-0310-9956-ffa450edef68 --- openjpa-integration/validation/pom.xml | 21 ++++++++++++------- .../validation/TestMappedSuper.java | 2 +- 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/openjpa-integration/validation/pom.xml b/openjpa-integration/validation/pom.xml index f2c5ea2ad..7308135f9 100644 --- a/openjpa-integration/validation/pom.xml +++ b/openjpa-integration/validation/pom.xml @@ -61,7 +61,7 @@ javax.validation validation-api - 1.0.CR1 + 1.0.CR5 test --> @@ -73,7 +73,7 @@ com.agimatec agimatec-jsr303 - 0.9.2-SNAPSHOT + 0.9.3 test @@ -91,7 +91,7 @@ com.agimatec agimatec-validation - 0.9.2-SNAPSHOT + 0.9.3-SNAPSHOT test @@ -100,20 +100,27 @@ 1.8.0 test + + commons-lang + commons-lang + 2.4 + test + agimatec-snapshots Sonatype OSS Repository - http://oss.sonatype.org/content/repositories/agimatec-snapshots + http://oss.sonatype.org/content/repositories/agimatec default true - daily ignore + daily - false + true + fail @@ -135,7 +142,7 @@ 1.0.CR5 test - + org.hibernate hibernate-validator diff --git a/openjpa-integration/validation/src/test/java/org/apache/openjpa/integration/validation/TestMappedSuper.java b/openjpa-integration/validation/src/test/java/org/apache/openjpa/integration/validation/TestMappedSuper.java index 9b3ecb862..10303bf04 100644 --- a/openjpa-integration/validation/src/test/java/org/apache/openjpa/integration/validation/TestMappedSuper.java +++ b/openjpa-integration/validation/src/test/java/org/apache/openjpa/integration/validation/TestMappedSuper.java @@ -59,7 +59,7 @@ public class TestMappedSuper extends PersistenceTestCase { } } catch (Exception e) { - fail("Should have caught a ConstraintViolationException"); + fail("Should have caught a ConstraintViolationException, but instead caught Exception=" + e); } finally { if (em.getTransaction().isActive()) {