OPENJPA-1712 Move common test-java5 profile depends to the parent pom

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@986101 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Donald Woods 2010-08-16 19:22:06 +00:00
parent 4560ddf64f
commit 315a0d0e43
2 changed files with 12 additions and 21 deletions

View File

@ -81,27 +81,6 @@
</dependencies> </dependencies>
</profile> </profile>
<!-- Test profile for testing with Apache BVAL and Java SE 5 -->
<!-- Note: You have to set -Ptest-java5,bval together -->
<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 for testing with Hibernate Bean Validation RI -->
<profile> <profile>
<id>hibernate</id> <id>hibernate</id>

12
pom.xml
View File

@ -459,6 +459,18 @@
<properties> <properties>
<java5.home>"java5.home - Must be user supplied"</java5.home> <java5.home>"java5.home - Must be user supplied"</java5.home>
</properties> </properties>
<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>
<build> <build>
<pluginManagement> <pluginManagement>
<plugins> <plugins>