Bug 414714: [CBI] webtools.sourceediting.xpath patches for building with Maven/Tycho
Signed-off-by: Thanh Ha <thanh.ha@eclipse.org>
diff --git a/tests/org.eclipse.wst.xml.xpath2.wtptypes.tests/pom.xml b/tests/org.eclipse.wst.xml.xpath2.wtptypes.tests/pom.xml
index 4b065f0..5d557eb 100644
--- a/tests/org.eclipse.wst.xml.xpath2.wtptypes.tests/pom.xml
+++ b/tests/org.eclipse.wst.xml.xpath2.wtptypes.tests/pom.xml
@@ -1,31 +1,43 @@
<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
+<!--
+ Copyright (c) 2011, 2013 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
+ http://www.eclipse.org/org/documents/edl-v10.php
+
+ Contributors:
+ Jesper Moller - Initial implementation
+ Thanh Ha (Eclipse Foundation) - CBI Webtools implementation
+-->
- <parent>
- <groupId>org.eclipse.wst.xml.xpath2</groupId>
- <artifactId>org.eclipse.wst.xml.xpath2-parent</artifactId>
- <version>2.0.0-SNAPSHOT</version>
- <relativePath>../../development/athena/org.eclipse.wst.xml.xpath2.releng</relativePath>
- </parent>
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.eclipse.webtools.sourceediting</groupId>
+ <artifactId>org.eclipse.webtools.sourceediting.xpath.tests</artifactId>
+ <version>3.5.0-SNAPSHOT</version>
+ <relativePath>../../</relativePath>
+ </parent>
- <artifactId>org.eclipse.wst.xml.xpath2.wtptypes.tests</artifactId>
- <version>2.0.0-SNAPSHOT</version>
- <packaging>eclipse-test-plugin</packaging>
- <name>PsychoPath XPath 2.0 Processor: Tests for WTP type support</name>
+ <groupId>org.eclipse.webtools.sourceediting</groupId>
+ <artifactId>org.eclipse.wst.xml.xpath2.wtptypes.tests</artifactId>
+ <version>2.0.0-SNAPSHOT</version>
+ <packaging>eclipse-plugin</packaging>
+ <name>PsychoPath XPath 2.0 Processor: Tests for WTP type support</name>
- <build>
- <plugins>
- <plugin>
- <groupId>org.sonatype.tycho</groupId>
- <artifactId>maven-osgi-test-plugin</artifactId>
- <version>${tycho-version}</version>
- <configuration>
- <testSuite>org.eclipse.wst.xml.xpath2.wtptypes.tests</testSuite>
- <testClass>org.eclipse.wst.xml.xpath2.wtptypes.test.AllXPath2TestsForWTP</testClass>
- </configuration>
- </plugin>
- </plugins>
- </build>
-</project>
\ No newline at end of file
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-surefire-plugin</artifactId>
+ <version>${tycho.version}</version>
+ <configuration>
+ <testSuite>org.eclipse.wst.xml.xpath2.wtptypes.tests</testSuite>
+ <testClass>org.eclipse.wst.xml.xpath2.wtptypes.test.AllXPath2TestsForWTP</testClass>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>