mirror of https://github.com/apache/openjpa.git
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
This commit is contained in:
parent
4c6ecef1ba
commit
b68c975ebf
|
@ -61,7 +61,7 @@
|
|||
<dependency>
|
||||
<groupId>javax.validation</groupId>
|
||||
<artifactId>validation-api</artifactId>
|
||||
<version>1.0.CR1</version>
|
||||
<version>1.0.CR5</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
-->
|
||||
|
@ -73,7 +73,7 @@
|
|||
<dependency>
|
||||
<groupId>com.agimatec</groupId>
|
||||
<artifactId>agimatec-jsr303</artifactId>
|
||||
<version>0.9.2-SNAPSHOT</version>
|
||||
<version>0.9.3</version>
|
||||
<scope>test</scope>
|
||||
<exclusions>
|
||||
<!-- force usage of the geronimo-validation_1.0_spec -->
|
||||
|
@ -91,7 +91,7 @@
|
|||
<dependency>
|
||||
<groupId>com.agimatec</groupId>
|
||||
<artifactId>agimatec-validation</artifactId>
|
||||
<version>0.9.2-SNAPSHOT</version>
|
||||
<version>0.9.3-SNAPSHOT</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
@ -100,20 +100,27 @@
|
|||
<version>1.8.0</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>commons-lang</groupId>
|
||||
<artifactId>commons-lang</artifactId>
|
||||
<version>2.4</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>agimatec-snapshots</id>
|
||||
<name>Sonatype OSS Repository</name>
|
||||
<url>http://oss.sonatype.org/content/repositories/agimatec-snapshots</url>
|
||||
<url>http://oss.sonatype.org/content/repositories/agimatec</url>
|
||||
<layout>default</layout>
|
||||
<snapshots>
|
||||
<enabled>true</enabled>
|
||||
<updatePolicy>daily</updatePolicy>
|
||||
<checksumPolicy>ignore</checksumPolicy>
|
||||
<updatePolicy>daily</updatePolicy>
|
||||
</snapshots>
|
||||
<releases>
|
||||
<enabled>false</enabled>
|
||||
<enabled>true</enabled>
|
||||
<checksumPolicy>fail</checksumPolicy>
|
||||
</releases>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
@ -135,7 +142,7 @@
|
|||
<version>1.0.CR5</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<!-- Hibernate that implements 1.0.CR3 -->
|
||||
<!-- Hibernate that implements 1.0.CR5 -->
|
||||
<dependency>
|
||||
<groupId>org.hibernate</groupId>
|
||||
<artifactId>hibernate-validator</artifactId>
|
||||
|
|
|
@ -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()) {
|
||||
|
|
Loading…
Reference in New Issue