diff options
author | Tran Le | 2014-04-11 04:30:48 +0000 |
---|---|---|
committer | Tran Le | 2014-04-11 04:30:48 +0000 |
commit | b65d99f7a2af16f576e6035e266a03b072a182fd (patch) | |
tree | c638ba44bcc19c82ac9ba354b32efee5e4db1427 /jpa/tests/org.eclipse.jpt.jpa.eclipselink.core.tests/pom.xml | |
parent | 0594d7eeb0996b84599ce6244570b5c4d6895243 (diff) | |
download | webtools.dali-b65d99f7a2af16f576e6035e266a03b072a182fd.tar.gz webtools.dali-b65d99f7a2af16f576e6035e266a03b072a182fd.tar.xz webtools.dali-b65d99f7a2af16f576e6035e266a03b072a182fd.zip |
431961 - [CBI] Enable JUnit tests for dali jpa and jaxb
Diffstat (limited to 'jpa/tests/org.eclipse.jpt.jpa.eclipselink.core.tests/pom.xml')
-rw-r--r-- | jpa/tests/org.eclipse.jpt.jpa.eclipselink.core.tests/pom.xml | 62 |
1 files changed, 60 insertions, 2 deletions
diff --git a/jpa/tests/org.eclipse.jpt.jpa.eclipselink.core.tests/pom.xml b/jpa/tests/org.eclipse.jpt.jpa.eclipselink.core.tests/pom.xml index 8a6c283b04..fabaa21a3c 100644 --- a/jpa/tests/org.eclipse.jpt.jpa.eclipselink.core.tests/pom.xml +++ b/jpa/tests/org.eclipse.jpt.jpa.eclipselink.core.tests/pom.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- - Copyright (c) 2012, 2013 Eclipse Foundation and others. + Copyright (c) 2012, 2014 Eclipse Foundation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Distribution License v1.0 which accompanies this distribution, and is available at @@ -23,5 +23,63 @@ <groupId>org.eclipse.webtools.dali</groupId> <artifactId>org.eclipse.jpt.jpa.eclipselink.core.tests</artifactId> <version>2.4.0-SNAPSHOT</version> - <packaging>eclipse-plugin</packaging> + <packaging>eclipse-test-plugin</packaging> + + <properties> + <org.eclipse.jpt.jpa.jar>${project.build.directory}/dependency/javax.persistence-2.1.0.jar</org.eclipse.jpt.jpa.jar> + <org.eclipse.jpt.eclipselink.jar>${project.build.directory}/dependency/eclipselink-2.5.1.jar</org.eclipse.jpt.eclipselink.jar> + <testSuite>${project.artifactId}</testSuite> + <testClass>org.eclipse.jpt.jpa.eclipselink.core.tests.internal.resource.JptJpaEclipseLinkCoreResourceModelTests</testClass> + </properties> + + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-dependency-plugin</artifactId> + <version>2.8</version> + <executions> + <execution> + <id>get-dependencies</id> + <phase>process-resources</phase> + <goals> + <goal>copy</goal> + </goals> + <configuration> + <artifactItems> + <artifactItem> + <groupId>org.eclipse.persistence</groupId> + <artifactId>javax.persistence</artifactId> + <version>2.1.0</version> + </artifactItem> + <artifactItem> + <groupId>org.eclipse.persistence</groupId> + <artifactId>eclipselink</artifactId> + <version>2.5.1</version> + </artifactItem> + </artifactItems> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>tycho-surefire-plugin</artifactId> + <version>${tycho.version}</version> + <configuration> + <systemProperties combine.children="append"> + <org.eclipse.jpt.jpa.jar>${org.eclipse.jpt.jpa.jar}</org.eclipse.jpt.jpa.jar> + <org.eclipse.jpt.eclipselink.jar>${org.eclipse.jpt.eclipselink.jar}</org.eclipse.jpt.eclipselink.jar> + </systemProperties> + <dependencies> + <dependency> + <type>p2-installable-unit</type> + <artifactId>javax.persistence</artifactId> + <version>0.0.0</version> + </dependency> + </dependencies> + </configuration> + </plugin> + </plugins> + </build> </project> |