mirror of
https://github.com/apache/openjpa.git
synced 2025-02-08 02:59:42 +00:00
OPENJPA-1170 Fix which validation/jpa2 spec jars and versions are pulled in by transitive Maven depends.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@794409 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6dd615ebc3
commit
aefd05089d
@ -81,8 +81,13 @@
|
|||||||
<artifactId>agimatec-jsr303</artifactId>
|
<artifactId>agimatec-jsr303</artifactId>
|
||||||
<version>0.9.1-SNAPSHOT</version>
|
<version>0.9.1-SNAPSHOT</version>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
<!-- force usage of the geronimo-validation spec -->
|
|
||||||
<exclusions>
|
<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>
|
<exclusion>
|
||||||
<groupId>javax.validation</groupId>
|
<groupId>javax.validation</groupId>
|
||||||
<artifactId>validation-api</artifactId>
|
<artifactId>validation-api</artifactId>
|
||||||
@ -135,21 +140,27 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>javax.validation</groupId>
|
<groupId>javax.validation</groupId>
|
||||||
<artifactId>validation-api</artifactId>
|
<artifactId>validation-api</artifactId>
|
||||||
<version>1.0.CR1</version>
|
<version>1.0.CR2</version>
|
||||||
<!-- <version>1.0.CR3-SNAPSHOT</version> -->
|
<!-- <version>1.0.CR3</version> -->
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.hibernate</groupId>
|
<groupId>org.hibernate</groupId>
|
||||||
<artifactId>hibernate-validator</artifactId>
|
<artifactId>hibernate-validator</artifactId>
|
||||||
<version>4.0.0.Alpha3</version>
|
<version>4.0.0.Beta1</version>
|
||||||
<!-- <version>4.0.0.Beta2-SNAPSHOT</version> -->
|
<!-- <version>4.0.0.Beta2-SNAPSHOT</version> -->
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
<exclusions>
|
<exclusions>
|
||||||
|
<!-- force usage of the geronimo-jpa_2.0_spec -->
|
||||||
<exclusion>
|
<exclusion>
|
||||||
<groupId>org.hibernate.java-persistence</groupId>
|
<groupId>org.hibernate.java-persistence</groupId>
|
||||||
<artifactId>jpa-api</artifactId>
|
<artifactId>jpa-api</artifactId>
|
||||||
</exclusion>
|
</exclusion>
|
||||||
|
<!-- force usage of the RI API level above -->
|
||||||
|
<exclusion>
|
||||||
|
<groupId>javax.validation</groupId>
|
||||||
|
<artifactId>validation-api</artifactId>
|
||||||
|
</exclusion>
|
||||||
</exclusions>
|
</exclusions>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
@ -178,7 +189,6 @@
|
|||||||
<enabled>true</enabled>
|
<enabled>true</enabled>
|
||||||
</releases>
|
</releases>
|
||||||
</repository>
|
</repository>
|
||||||
<!--
|
|
||||||
<repository>
|
<repository>
|
||||||
<id>snapshots.jboss.org</id>
|
<id>snapshots.jboss.org</id>
|
||||||
<name>JBoss Repository</name>
|
<name>JBoss Repository</name>
|
||||||
@ -191,7 +201,6 @@
|
|||||||
<enabled>false</enabled>
|
<enabled>false</enabled>
|
||||||
</releases>
|
</releases>
|
||||||
</repository>
|
</repository>
|
||||||
-->
|
|
||||||
</repositories>
|
</repositories>
|
||||||
</profile>
|
</profile>
|
||||||
</profiles>
|
</profiles>
|
||||||
@ -201,6 +210,13 @@
|
|||||||
<groupId>org.apache.openjpa</groupId>
|
<groupId>org.apache.openjpa</groupId>
|
||||||
<artifactId>openjpa</artifactId>
|
<artifactId>openjpa</artifactId>
|
||||||
<version>${pom.version}</version>
|
<version>${pom.version}</version>
|
||||||
|
<!-- allow profiles to decide which validation spec to use -->
|
||||||
|
<exclusions>
|
||||||
|
<exclusion>
|
||||||
|
<groupId>org.apache.geronimo.specs</groupId>
|
||||||
|
<artifactId>geronimo-validation_1.0_spec</artifactId>
|
||||||
|
</exclusion>
|
||||||
|
</exclusions>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.openjpa</groupId>
|
<groupId>org.apache.openjpa</groupId>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user