[414700] [CBI] webtools.common.tests patch for building with Maven/Tycho
diff --git a/.gitignore b/.gitignore
index 749e075..59a948c 100755
--- a/.gitignore
+++ b/.gitignore
@@ -30,3 +30,6 @@
 src.zip
 .fbwarnings
 javaCompiler...args
+
+# maven 
+target/
\ No newline at end of file
diff --git a/features/org.eclipse.wst.common_tests.feature/pom.xml b/features/org.eclipse.wst.common_tests.feature/pom.xml
new file mode 100644
index 0000000..54d9586
--- /dev/null
+++ b/features/org.eclipse.wst.common_tests.feature/pom.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>

+<!--

+  Copyright (c) 2012, 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:

+    Thanh Ha (Eclipse Foundation) - initial implementation

+-->

+

+<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.common</groupId>

+    <artifactId>org.eclipse.webtools.common.tests</artifactId>

+    <version>3.5.0-SNAPSHOT</version>

+    <relativePath>../../</relativePath>

+  </parent>

+

+  <groupId>org.eclipse.webtools.common</groupId>

+  <artifactId>org.eclipse.wst.common_tests.feature</artifactId>

+  <version>3.4.0-SNAPSHOT</version>

+  <packaging>eclipse-feature</packaging>

+</project>
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
new file mode 100644
index 0000000..e321177
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>

+<!--

+  Copyright (c) 2012, 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:

+    Thanh Ha (Eclipse Foundation) - initial implementation

+-->

+

+<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</groupId>

+    <artifactId>wtp-parent</artifactId>

+    <version>3.5.0-SNAPSHOT</version>

+    <relativePath>../wtp-parent</relativePath>

+  </parent>

+

+  <groupId>org.eclipse.webtools.common</groupId>

+  <artifactId>org.eclipse.webtools.common.tests</artifactId>

+  <version>3.5.0-SNAPSHOT</version>

+  <packaging>pom</packaging>

+

+  <modules>

+    <module>features/org.eclipse.wst.common_tests.feature</module>

+

+    <module>tests/org.eclipse.wst.common.tests</module>

+    <module>tests/org.eclipse.wst.common.tests.collector</module>

+    <module>tests/org.eclipse.wst.common.tests.ui</module>

+    <module>tests/org.eclipse.wst.common.tests.validation</module>

+    <module>tests/org.eclipse.wst.common.tests.validation.guard</module>

+    <module>tests/org.eclipse.wst.common.uriresolver.tests</module>

+    <module>tests/org.eclipse.wst.internet.cache.tests</module>

+  </modules>

+</project>
\ No newline at end of file
diff --git a/tests/org.eclipse.wst.common.tests.collector/META-INF/MANIFEST.MF b/tests/org.eclipse.wst.common.tests.collector/META-INF/MANIFEST.MF
index bc61e5d..ee219d6 100644
--- a/tests/org.eclipse.wst.common.tests.collector/META-INF/MANIFEST.MF
+++ b/tests/org.eclipse.wst.common.tests.collector/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@
 Bundle-ManifestVersion: 2
 Bundle-Name: %org.eclipse.wst.common.tests.collector
 Bundle-SymbolicName: org.eclipse.wst.common.tests.collector; singleton:=true
-Bundle-Version: 1.1.0
+Bundle-Version: 1.1.0.qualifier
 Bundle-ClassPath: runtime/collector.jar
 Bundle-Activator: org.eclipse.core.internal.compatibility.PluginActivator
 Bundle-Localization: plugin
diff --git a/tests/org.eclipse.wst.common.tests.collector/pom.xml b/tests/org.eclipse.wst.common.tests.collector/pom.xml
new file mode 100644
index 0000000..86c7555
--- /dev/null
+++ b/tests/org.eclipse.wst.common.tests.collector/pom.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>

+<!--

+  Copyright (c) 2012, 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:

+    Thanh Ha (Eclipse Foundation) - initial implementation

+-->

+

+<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.common</groupId>

+    <artifactId>org.eclipse.webtools.common.tests</artifactId>

+    <version>3.5.0-SNAPSHOT</version>

+    <relativePath>../../</relativePath>

+  </parent>

+

+  <groupId>org.eclipse.webtools.common</groupId>

+  <artifactId>org.eclipse.wst.common.tests.collector</artifactId>

+  <version>1.1.0-SNAPSHOT</version>

+  <packaging>eclipse-plugin</packaging>

+</project>
\ No newline at end of file
diff --git a/tests/org.eclipse.wst.common.tests.ui/pom.xml b/tests/org.eclipse.wst.common.tests.ui/pom.xml
new file mode 100644
index 0000000..7f71b05
--- /dev/null
+++ b/tests/org.eclipse.wst.common.tests.ui/pom.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>

+<!--

+  Copyright (c) 2012, 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:

+    Thanh Ha (Eclipse Foundation) - initial implementation

+-->

+

+<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.common</groupId>

+    <artifactId>org.eclipse.webtools.common.tests</artifactId>

+    <version>3.5.0-SNAPSHOT</version>

+    <relativePath>../../</relativePath>

+  </parent>

+

+  <groupId>org.eclipse.webtools.common</groupId>

+  <artifactId>org.eclipse.wst.common.tests.ui</artifactId>

+  <version>1.1.300-SNAPSHOT</version>

+  <packaging>eclipse-plugin</packaging>

+</project>
\ No newline at end of file
diff --git a/tests/org.eclipse.wst.common.tests.validation.guard/pom.xml b/tests/org.eclipse.wst.common.tests.validation.guard/pom.xml
new file mode 100644
index 0000000..d8ec0ba
--- /dev/null
+++ b/tests/org.eclipse.wst.common.tests.validation.guard/pom.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>

+<!--

+  Copyright (c) 2012, 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:

+    Thanh Ha (Eclipse Foundation) - initial implementation

+-->

+

+<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.common</groupId>

+    <artifactId>org.eclipse.webtools.common.tests</artifactId>

+    <version>3.5.0-SNAPSHOT</version>

+    <relativePath>../../</relativePath>

+  </parent>

+

+  <groupId>org.eclipse.webtools.common</groupId>

+  <artifactId>org.eclipse.wst.common.tests.validation.guard</artifactId>

+  <version>1.0.200-SNAPSHOT</version>

+  <packaging>eclipse-plugin</packaging>

+</project>
\ No newline at end of file
diff --git a/tests/org.eclipse.wst.common.tests.validation/pom.xml b/tests/org.eclipse.wst.common.tests.validation/pom.xml
new file mode 100644
index 0000000..c72f9f9
--- /dev/null
+++ b/tests/org.eclipse.wst.common.tests.validation/pom.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>

+<!--

+  Copyright (c) 2012, 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:

+    Thanh Ha (Eclipse Foundation) - initial implementation

+-->

+

+<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.common</groupId>

+    <artifactId>org.eclipse.webtools.common.tests</artifactId>

+    <version>3.5.0-SNAPSHOT</version>

+    <relativePath>../../</relativePath>

+  </parent>

+

+  <groupId>org.eclipse.webtools.common</groupId>

+  <artifactId>org.eclipse.wst.common.tests.validation</artifactId>

+  <version>1.0.400-SNAPSHOT</version>

+  <packaging>eclipse-plugin</packaging>

+</project>
\ No newline at end of file
diff --git a/tests/org.eclipse.wst.common.tests/pom.xml b/tests/org.eclipse.wst.common.tests/pom.xml
new file mode 100644
index 0000000..a9aefc7
--- /dev/null
+++ b/tests/org.eclipse.wst.common.tests/pom.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>

+<!--

+  Copyright (c) 2012, 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:

+    Thanh Ha (Eclipse Foundation) - initial implementation

+-->

+

+<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.common</groupId>

+    <artifactId>org.eclipse.webtools.common.tests</artifactId>

+    <version>3.5.0-SNAPSHOT</version>

+    <relativePath>../../</relativePath>

+  </parent>

+

+  <groupId>org.eclipse.webtools.common</groupId>

+  <artifactId>org.eclipse.wst.common.tests</artifactId>

+  <version>1.2.300-SNAPSHOT</version>

+  <packaging>eclipse-plugin</packaging>

+</project>
\ No newline at end of file
diff --git a/tests/org.eclipse.wst.common.uriresolver.tests/pom.xml b/tests/org.eclipse.wst.common.uriresolver.tests/pom.xml
new file mode 100644
index 0000000..12a2a1c
--- /dev/null
+++ b/tests/org.eclipse.wst.common.uriresolver.tests/pom.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>

+<!--

+  Copyright (c) 2012, 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:

+    Thanh Ha (Eclipse Foundation) - initial implementation

+-->

+

+<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.common</groupId>

+    <artifactId>org.eclipse.webtools.common.tests</artifactId>

+    <version>3.5.0-SNAPSHOT</version>

+    <relativePath>../../</relativePath>

+  </parent>

+

+  <groupId>org.eclipse.webtools.common</groupId>

+  <artifactId>org.eclipse.wst.common.uriresolver.tests</artifactId>

+  <version>1.0.100-SNAPSHOT</version>

+  <packaging>eclipse-plugin</packaging>

+</project>
\ No newline at end of file
diff --git a/tests/org.eclipse.wst.internet.cache.tests/pom.xml b/tests/org.eclipse.wst.internet.cache.tests/pom.xml
new file mode 100644
index 0000000..87ca375
--- /dev/null
+++ b/tests/org.eclipse.wst.internet.cache.tests/pom.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>

+<!--

+  Copyright (c) 2012, 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:

+    Thanh Ha (Eclipse Foundation) - initial implementation

+-->

+

+<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.common</groupId>

+    <artifactId>org.eclipse.webtools.common.tests</artifactId>

+    <version>3.5.0-SNAPSHOT</version>

+    <relativePath>../../</relativePath>

+  </parent>

+

+  <groupId>org.eclipse.webtools.common</groupId>

+  <artifactId>org.eclipse.wst.internet.cache.tests</artifactId>

+  <version>1.0.100-SNAPSHOT</version>

+  <packaging>eclipse-plugin</packaging>

+</project>