You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openjpa.apache.org by dw...@apache.org on 2010/05/24 20:57:24 UTC
svn commit: r947761 - /openjpa/trunk/openjpa-integration/validation/pom.xml
Author: dwoods
Date: Mon May 24 18:57:24 2010
New Revision: 947761
URL: http://svn.apache.org/viewvc?rev=947761&view=rev
Log:
update bval artifact name, remove old agimatec profile, and add tets-java5 profile since we need to specify jaxb depends for testing on jdk5
Modified:
openjpa/trunk/openjpa-integration/validation/pom.xml
Modified: openjpa/trunk/openjpa-integration/validation/pom.xml
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-integration/validation/pom.xml?rev=947761&r1=947760&r2=947761&view=diff
==============================================================================
--- openjpa/trunk/openjpa-integration/validation/pom.xml (original)
+++ openjpa/trunk/openjpa-integration/validation/pom.xml Mon May 24 18:57:24 2010
@@ -65,7 +65,7 @@
</dependency>
<dependency>
<groupId>org.apache.bval</groupId>
- <artifactId>bval-jsr303</artifactId>
+ <artifactId>org.apache.bval.bundle</artifactId>
<version>0.1-incubating-SNAPSHOT</version>
<scope>test</scope>
<exclusions>
@@ -90,6 +90,26 @@
</dependencies>
</profile>
+ <!-- Test profile for testing with Apache BVAL and Java SE 5 -->
+ <profile>
+ <id>test-java5</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ </activation>
+ <dependencies>
+ <dependency>
+ <groupId>javax.xml.bind</groupId>
+ <artifactId>jaxb-api</artifactId>
+ <version>2.1</version>
+ </dependency>
+ <dependency>
+ <groupId>com.sun.xml.bind</groupId>
+ <artifactId>jaxb-impl</artifactId>
+ <version>2.1.3</version>
+ </dependency>
+ </dependencies>
+ </profile>
+
<!-- Profile for testing with Hibernate Bean Validation RI -->
<profile>
<id>hibernate</id>
@@ -152,76 +172,6 @@
</repository>
</repositories>
</profile>
-
- <!-- OLD Profile for testing with Agimatec validation provider -->
- <profile>
- <id>agimatec</id>
- <activation>
- <property>
- <name>agimatec</name>
- </property>
- </activation>
- <dependencies>
- <!-- See http://code.google.com/p/agimatec-validation/wiki/GettingStarted -->
- <dependency>
- <groupId>org.apache.geronimo.specs</groupId>
- <artifactId>geronimo-validation_1.0_spec</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>com.agimatec</groupId>
- <artifactId>agimatec-jsr303</artifactId>
- <version>0.9.6</version>
- <scope>test</scope>
- <exclusions>
- <!-- force usage of the geronimo-validation_1.0_spec -->
- <exclusion>
- <groupId>javax.validation</groupId>
- <artifactId>validation-api</artifactId>
- </exclusion>
- <!-- use our level of the geronimo-jpa_2.0_spec -->
- <exclusion>
- <groupId>javax.validation</groupId>
- <artifactId>validation-api</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>com.agimatec</groupId>
- <artifactId>agimatec-validation</artifactId>
- <version>0.9.6</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>commons-beanutils</groupId>
- <artifactId>commons-beanutils</artifactId>
- <version>1.8.2</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>commons-lang</groupId>
- <artifactId>commons-lang</artifactId>
- <scope>test</scope>
- </dependency>
- </dependencies>
- <repositories>
- <repository>
- <id>agimatec.oss.sonatype.org</id>
- <name>Sonatype OSS Repository</name>
- <url>http://oss.sonatype.org/content/repositories/agimatec</url>
- <layout>default</layout>
- <snapshots>
- <enabled>true</enabled>
- <checksumPolicy>ignore</checksumPolicy>
- <updatePolicy>daily</updatePolicy>
- </snapshots>
- <releases>
- <enabled>true</enabled>
- <checksumPolicy>fail</checksumPolicy>
- </releases>
- </repository>
- </repositories>
- </profile>
</profiles>
<dependencies>