Migrate Vex Build to Maven/Tycho
diff --git a/sourceediting/development/org.eclipse.wst.xml.vex.releng/pom.xml b/sourceediting/development/org.eclipse.wst.xml.vex.releng/pom.xml
new file mode 100644
index 0000000..c05282d
--- /dev/null
+++ b/sourceediting/development/org.eclipse.wst.xml.vex.releng/pom.xml
@@ -0,0 +1,111 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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>
+	<groupId>org.eclipse.wst.xml.vex</groupId>
+	<artifactId>org.eclipse.wst.xml.vex_parent</artifactId>
+	<version>0.5.0-SNAPSHOT</version>
+	<packaging>pom</packaging>
+
+	<properties>
+		<tycho-version>0.8.0</tycho-version>
+	</properties>
+ 
+	<modules>
+	    <!-- Vex Core functionality -->
+		<module>../../plugins/org.eclipse.wst.xml.vex</module>
+		<module>../../plugins/org.eclipse.wst.xml.vex.core</module>
+		<module>../../plugins/org.eclipse.wst.xml.vex.ui</module>
+		<module>../../plugins/org.eclipse.wst.xml.vex.dita</module>
+		<module>../../plugins/org.eclipse.wst.xml.vex.docbook</module>
+		<module>../../plugins/org.eclipse.wst.xml.vex.documentation</module>
+		<module>../../features/org.eclipse.wst.xml.vex.feature</module>
+		<module>../../tests/org.eclipse.wst.xml.vex.core.tests</module>
+		<module>../../tests/org.eclipse.wst.xml.vex.ui.tests</module>
+	</modules>
+
+	<build>
+		<plugins>
+			<plugin>
+				<groupId>org.sonatype.tycho</groupId>
+				<artifactId>tycho-maven-plugin</artifactId>
+				<version>${tycho-version}</version>
+				<extensions>true</extensions>
+			</plugin>
+			<plugin>
+				<groupId>org.sonatype.tycho</groupId>
+				<artifactId>target-platform-configuration</artifactId>
+				<version>${tycho-version}</version>
+				<configuration>
+					<resolver>p2</resolver>
+				</configuration>
+			</plugin>
+		</plugins>
+		<pluginManagement>
+			<plugins>
+				<plugin>
+					<groupId>org.sonatype.tycho</groupId>
+					<artifactId>maven-osgi-compiler-plugin</artifactId>
+					<version>${tycho-version}</version>
+					<configuration>
+						<encoding>UTF-8</encoding>
+					</configuration>
+				</plugin>
+				<plugin>
+					<groupId>org.apache.maven.plugins</groupId>
+					<artifactId>maven-resources-plugin</artifactId>
+					<version>2.4.1</version>
+					<configuration>
+						<encoding>UTF-8</encoding>
+					</configuration>
+				</plugin>
+				<plugin>
+			        <groupId>org.apache.maven.plugins</groupId>
+			        <artifactId>maven-pmd-plugin</artifactId>
+			        <version>2.5</version>
+			        <configuration>
+			          <linkXref>false</linkXref>
+			          <sourceEncoding>UTF-8</sourceEncoding>
+			          <minimumTokens>100</minimumTokens>
+			          <targetJdk>1.5</targetJdk>
+			          <includes>
+			             <include>**/org/eclipse/wst/xquery/*.java</include>
+			          </includes>
+			          <excludes>
+			            <exclude>**/*Bean.java</exclude>
+			            <exclude>**/generated/*.java</exclude>
+			          </excludes>
+			          <excludeRoots>
+			            <excludeRoot>target/generated-sources/stubs</excludeRoot>
+			          </excludeRoots>
+			        </configuration>
+				</plugin>				
+			</plugins>
+			
+		</pluginManagement>
+	</build>
+	<repositories>
+		<repository>
+			<id>webtools-update</id>
+			<url>http://download.eclipse.org/webtools/updates</url>
+			<layout>p2</layout>
+		</repository>
+		<repository>
+			<id>dltk1.0</id>
+			<url>http://download.eclipse.org/technology/dltk/updates-dev/1.0</url>
+			<layout>p2</layout>
+		</repository>
+		<repository>
+			<id>galileo</id>
+			<url>http://download.eclipse.org/releases/galileo/</url>
+			<layout>p2</layout>
+		</repository>
+		<repository>
+			<id>orbit</id>
+			<url>http://download.eclipse.org/tools/orbit/downloads/drops/R20100519200754/repository</url>
+			<layout>p2</layout>
+		</repository>
+	</repositories>
+</project>
+
diff --git a/sourceediting/documentation/org.eclipse.wst.xml.vex.documentation/pom.xml b/sourceediting/documentation/org.eclipse.wst.xml.vex.documentation/pom.xml
new file mode 100644
index 0000000..e283efc
--- /dev/null
+++ b/sourceediting/documentation/org.eclipse.wst.xml.vex.documentation/pom.xml
@@ -0,0 +1,17 @@
+<?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>
+	<artifactId>org.eclipse.wst.xml.vex.documentation</artifactId>
+	<packaging>eclipse-plugin</packaging>
+	<version>0.5.0-SNAPSHOT</version>
+	<name>Vex Documentation</name>
+
+	<parent>
+		<artifactId>org.eclipse.wst.xml.vex_parent</artifactId>
+		<groupId>org.eclipse.wst.xml.vex</groupId>
+		<version>0.5.0-SNAPSHOT</version>
+		<relativePath>../../development/org.eclipse.wst.xml.vex.releng/pom.xml</relativePath>
+	</parent>
+
+</project>
diff --git a/sourceediting/features/org.eclipse.wst.xml.vex.docbook.feature/pom.xml b/sourceediting/features/org.eclipse.wst.xml.vex.docbook.feature/pom.xml
new file mode 100644
index 0000000..e1508ff
--- /dev/null
+++ b/sourceediting/features/org.eclipse.wst.xml.vex.docbook.feature/pom.xml
@@ -0,0 +1,17 @@
+<?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>
+	<artifactId>org.eclipse.wst.xml.vex.feature</artifactId>
+	<packaging>eclipse-feature</packaging>
+	<version>0.5.0-SNAPSHOT</version>
+	<name>Vex Feature</name>
+
+	<parent>
+		<artifactId>org.eclipse.wst.xml.vex_parent</artifactId>
+		<groupId>org.eclipse.wst.xml.vex</groupId>
+		<version>0.5.0-SNAPSHOT</version>
+		<relativePath>../../development/org.eclipse.wst.xml.vex.releng/pom.xml</relativePath>
+	</parent>
+
+</project>
diff --git a/sourceediting/features/org.eclipse.wst.xml.vex.feature/pom.xml b/sourceediting/features/org.eclipse.wst.xml.vex.feature/pom.xml
new file mode 100644
index 0000000..e1508ff
--- /dev/null
+++ b/sourceediting/features/org.eclipse.wst.xml.vex.feature/pom.xml
@@ -0,0 +1,17 @@
+<?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>
+	<artifactId>org.eclipse.wst.xml.vex.feature</artifactId>
+	<packaging>eclipse-feature</packaging>
+	<version>0.5.0-SNAPSHOT</version>
+	<name>Vex Feature</name>
+
+	<parent>
+		<artifactId>org.eclipse.wst.xml.vex_parent</artifactId>
+		<groupId>org.eclipse.wst.xml.vex</groupId>
+		<version>0.5.0-SNAPSHOT</version>
+		<relativePath>../../development/org.eclipse.wst.xml.vex.releng/pom.xml</relativePath>
+	</parent>
+
+</project>
diff --git a/sourceediting/plugins/org.eclipse.wst.xml.vex.core/pom.xml b/sourceediting/plugins/org.eclipse.wst.xml.vex.core/pom.xml
new file mode 100644
index 0000000..4658c9f
--- /dev/null
+++ b/sourceediting/plugins/org.eclipse.wst.xml.vex.core/pom.xml
@@ -0,0 +1,17 @@
+<?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>
+	<artifactId>org.eclipse.wst.xml.vex.core</artifactId>
+	<packaging>eclipse-plugin</packaging>
+	<version>0.5.0-SNAPSHOT</version>
+	<name>Vex Core</name>
+
+	<parent>
+		<artifactId>org.eclipse.wst.xml.vex_parent</artifactId>
+		<groupId>org.eclipse.wst.xml.vex</groupId>
+		<version>0.5.0-SNAPSHOT</version>
+		<relativePath>../../development/org.eclipse.wst.xml.vex.releng/pom.xml</relativePath>
+	</parent>
+
+</project>
diff --git a/sourceediting/plugins/org.eclipse.wst.xml.vex.dita/pom.xml b/sourceediting/plugins/org.eclipse.wst.xml.vex.dita/pom.xml
new file mode 100644
index 0000000..8b5d258
--- /dev/null
+++ b/sourceediting/plugins/org.eclipse.wst.xml.vex.dita/pom.xml
@@ -0,0 +1,17 @@
+<?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>
+	<artifactId>org.eclipse.wst.xml.vex.docbook</artifactId>
+	<packaging>eclipse-plugin</packaging>
+	<version>0.5.0-SNAPSHOT</version>
+	<name>Vex DocBook 4.x Support</name>
+
+	<parent>
+		<artifactId>org.eclipse.wst.xml.vex_parent</artifactId>
+		<groupId>org.eclipse.wst.xml.vex</groupId>
+		<version>0.5.0-SNAPSHOT</version>
+		<relativePath>../../development/org.eclipse.wst.xml.vex.releng/pom.xml</relativePath>
+	</parent>
+
+</project>
diff --git a/sourceediting/plugins/org.eclipse.wst.xml.vex.docbook/pom.xml b/sourceediting/plugins/org.eclipse.wst.xml.vex.docbook/pom.xml
new file mode 100644
index 0000000..0acb220
--- /dev/null
+++ b/sourceediting/plugins/org.eclipse.wst.xml.vex.docbook/pom.xml
@@ -0,0 +1,17 @@
+<?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>
+	<artifactId>org.eclipse.wst.xml.vex</artifactId>
+	<packaging>eclipse-plugin</packaging>
+	<version>0.5.0-SNAPSHOT</version>
+	<name>Vex Branding</name>
+
+	<parent>
+		<artifactId>org.eclipse.wst.xml.vex_parent</artifactId>
+		<groupId>org.eclipse.wst.xml.vex</groupId>
+		<version>0.5.0-SNAPSHOT</version>
+		<relativePath>../../development/org.eclipse.wst.xml.vex.releng/pom.xml</relativePath>
+	</parent>
+
+</project>
diff --git a/sourceediting/plugins/org.eclipse.wst.xml.vex.ui/pom.xml b/sourceediting/plugins/org.eclipse.wst.xml.vex.ui/pom.xml
new file mode 100644
index 0000000..d71b7c4
--- /dev/null
+++ b/sourceediting/plugins/org.eclipse.wst.xml.vex.ui/pom.xml
@@ -0,0 +1,17 @@
+<?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>
+	<artifactId>org.eclipse.wst.xml.vex.ui</artifactId>
+	<packaging>eclipse-plugin</packaging>
+	<version>0.5.0-SNAPSHOT</version>
+	<name>Vex UI</name>
+
+	<parent>
+		<artifactId>org.eclipse.wst.xml.vex_parent</artifactId>
+		<groupId>org.eclipse.wst.xml.vex</groupId>
+		<version>0.5.0-SNAPSHOT</version>
+		<relativePath>../../development/org.eclipse.wst.xml.vex.releng/pom.xml</relativePath>
+	</parent>
+
+</project>
diff --git a/sourceediting/plugins/org.eclipse.wst.xml.vex/pom.xml b/sourceediting/plugins/org.eclipse.wst.xml.vex/pom.xml
new file mode 100644
index 0000000..0acb220
--- /dev/null
+++ b/sourceediting/plugins/org.eclipse.wst.xml.vex/pom.xml
@@ -0,0 +1,17 @@
+<?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>
+	<artifactId>org.eclipse.wst.xml.vex</artifactId>
+	<packaging>eclipse-plugin</packaging>
+	<version>0.5.0-SNAPSHOT</version>
+	<name>Vex Branding</name>
+
+	<parent>
+		<artifactId>org.eclipse.wst.xml.vex_parent</artifactId>
+		<groupId>org.eclipse.wst.xml.vex</groupId>
+		<version>0.5.0-SNAPSHOT</version>
+		<relativePath>../../development/org.eclipse.wst.xml.vex.releng/pom.xml</relativePath>
+	</parent>
+
+</project>
diff --git a/sourceediting/tests/org.eclipse.wst.xml.vex.core.tests/pom.xml b/sourceediting/tests/org.eclipse.wst.xml.vex.core.tests/pom.xml
new file mode 100644
index 0000000..b00bf5c
--- /dev/null
+++ b/sourceediting/tests/org.eclipse.wst.xml.vex.core.tests/pom.xml
@@ -0,0 +1,17 @@
+<?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>
+	<artifactId>org.eclipse.wst.xml.vex.core.tests</artifactId>
+	<packaging>eclipse-test-plugin</packaging>
+	<version>0.5.0-SNAPSHOT</version>
+	<name>Vex Core Tests</name>
+
+	<parent>
+		<artifactId>org.eclipse.wst.xml.vex_parent</artifactId>
+		<groupId>org.eclipse.wst.xml.vex</groupId>
+		<version>0.5.0-SNAPSHOT</version>
+		<relativePath>../../development/org.eclipse.wst.xml.vex.releng/pom.xml</relativePath>
+	</parent>
+
+</project>
diff --git a/sourceediting/tests/org.eclipse.wst.xml.vex.ui.tests/pom.xml b/sourceediting/tests/org.eclipse.wst.xml.vex.ui.tests/pom.xml
new file mode 100644
index 0000000..dbcb0bf
--- /dev/null
+++ b/sourceediting/tests/org.eclipse.wst.xml.vex.ui.tests/pom.xml
@@ -0,0 +1,17 @@
+<?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>
+	<artifactId>org.eclipse.wst.xml.vex.ui.tests</artifactId>
+	<packaging>eclipse-plugin</packaging>
+	<version>0.5.0-SNAPSHOT</version>
+	<name>Vex UI Tests</name>
+
+	<parent>
+		<artifactId>org.eclipse.wst.xml.vex_parent</artifactId>
+		<groupId>org.eclipse.wst.xml.vex</groupId>
+		<version>0.5.0-SNAPSHOT</version>
+		<relativePath>../../development/org.eclipse.wst.xml.vex.releng/pom.xml</relativePath>
+	</parent>
+
+</project>