Implement maven/tycho build for Eclipse.org infrastructure

Change-Id: I6c1f0449eef7337026909bf4056c3a28848eef34
Signed-off-by: Markus Duft <markus.duft@ssi-schaefer.com>
diff --git a/.gitignore b/.gitignore
index 481d2b6..ad1e3c4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,6 @@
 # generic rules only. for specific rules, put them into the plugins!
 
+*/target/
 */bin/
 *.tm.epoch
 */tm.out*
diff --git a/org.eclipse.tea.core.ui.live/pom.xml b/org.eclipse.tea.core.ui.live/pom.xml
new file mode 100644
index 0000000..4f2fdfc
--- /dev/null
+++ b/org.eclipse.tea.core.ui.live/pom.xml
@@ -0,0 +1,14 @@
+<?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>
+  <parent>
+    <groupId>org.eclipse</groupId>
+    <artifactId>tea</artifactId>
+    <version>1.0.0-SNAPSHOT</version>
+  </parent>
+  <groupId>org.eclipse</groupId>
+  <artifactId>org.eclipse.tea.core.ui.live</artifactId>
+  <version>1.0.0-SNAPSHOT</version>
+  <packaging>eclipse-plugin</packaging>
+</project>
diff --git a/org.eclipse.tea.core.ui/pom.xml b/org.eclipse.tea.core.ui/pom.xml
new file mode 100644
index 0000000..70fc071
--- /dev/null
+++ b/org.eclipse.tea.core.ui/pom.xml
@@ -0,0 +1,14 @@
+<?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>
+  <parent>
+    <groupId>org.eclipse</groupId>
+    <artifactId>tea</artifactId>
+    <version>1.0.0-SNAPSHOT</version>
+  </parent>
+  <groupId>org.eclipse</groupId>
+  <artifactId>org.eclipse.tea.core.ui</artifactId>
+  <version>1.0.0-SNAPSHOT</version>
+  <packaging>eclipse-plugin</packaging>
+</project>
diff --git a/org.eclipse.tea.core/pom.xml b/org.eclipse.tea.core/pom.xml
new file mode 100644
index 0000000..5dbb384
--- /dev/null
+++ b/org.eclipse.tea.core/pom.xml
@@ -0,0 +1,14 @@
+<?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>
+  <parent>
+    <groupId>org.eclipse</groupId>
+    <artifactId>tea</artifactId>
+    <version>1.0.0-SNAPSHOT</version>
+  </parent>
+  <groupId>org.eclipse</groupId>
+  <artifactId>org.eclipse.tea.core</artifactId>
+  <version>1.0.0-SNAPSHOT</version>
+  <packaging>eclipse-plugin</packaging>
+</project>
diff --git a/org.eclipse.tea.core_feature/build.properties b/org.eclipse.tea.core_feature/build.properties
index 64f93a9..41fa92f 100644
--- a/org.eclipse.tea.core_feature/build.properties
+++ b/org.eclipse.tea.core_feature/build.properties
@@ -1 +1,3 @@
-bin.includes = feature.xml
+bin.includes = feature.xml,\
+               feature.properties,\
+               about.html
diff --git a/org.eclipse.tea.core_feature/pom.xml b/org.eclipse.tea.core_feature/pom.xml
new file mode 100644
index 0000000..6629638
--- /dev/null
+++ b/org.eclipse.tea.core_feature/pom.xml
@@ -0,0 +1,14 @@
+<?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>
+  <parent>
+    <groupId>org.eclipse</groupId>
+    <artifactId>tea</artifactId>
+    <version>1.0.0-SNAPSHOT</version>
+  </parent>
+  <groupId>org.eclipse</groupId>
+  <artifactId>org.eclipse.tea.core_feature</artifactId>
+  <version>1.0.0-SNAPSHOT</version>
+  <packaging>eclipse-feature</packaging>
+</project>
diff --git a/org.eclipse.tea.ease/pom.xml b/org.eclipse.tea.ease/pom.xml
new file mode 100644
index 0000000..f7681fc
--- /dev/null
+++ b/org.eclipse.tea.ease/pom.xml
@@ -0,0 +1,14 @@
+<?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>
+  <parent>
+    <groupId>org.eclipse</groupId>
+    <artifactId>tea</artifactId>
+    <version>1.0.0-SNAPSHOT</version>
+  </parent>
+  <groupId>org.eclipse</groupId>
+  <artifactId>org.eclipse.tea.ease</artifactId>
+  <version>1.0.0-SNAPSHOT</version>
+  <packaging>eclipse-plugin</packaging>
+</project>
diff --git a/org.eclipse.tea.lcdsl.library_feature/build.properties b/org.eclipse.tea.lcdsl.library_feature/build.properties
index 64f93a9..41fa92f 100644
--- a/org.eclipse.tea.lcdsl.library_feature/build.properties
+++ b/org.eclipse.tea.lcdsl.library_feature/build.properties
@@ -1 +1,3 @@
-bin.includes = feature.xml
+bin.includes = feature.xml,\
+               feature.properties,\
+               about.html
diff --git a/org.eclipse.tea.lcdsl.library_feature/pom.xml b/org.eclipse.tea.lcdsl.library_feature/pom.xml
new file mode 100644
index 0000000..6c5235c
--- /dev/null
+++ b/org.eclipse.tea.lcdsl.library_feature/pom.xml
@@ -0,0 +1,14 @@
+<?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>
+  <parent>
+    <groupId>org.eclipse</groupId>
+    <artifactId>tea</artifactId>
+    <version>1.0.0-SNAPSHOT</version>
+  </parent>
+  <groupId>org.eclipse</groupId>
+  <artifactId>org.eclipse.tea.lcdsl.library_feature</artifactId>
+  <version>1.0.0-SNAPSHOT</version>
+  <packaging>eclipse-feature</packaging>
+</project>
diff --git a/org.eclipse.tea.library.build.lcdsl/META-INF/MANIFEST.MF b/org.eclipse.tea.library.build.lcdsl/META-INF/MANIFEST.MF
index 0aa6f49..0a3cb9d 100644
--- a/org.eclipse.tea.library.build.lcdsl/META-INF/MANIFEST.MF
+++ b/org.eclipse.tea.library.build.lcdsl/META-INF/MANIFEST.MF
@@ -9,7 +9,7 @@
 Require-Bundle: org.eclipse.core.resources,
  org.eclipse.core.runtime,
  org.eclipse.e4.core.di.annotations,
- org.eclipse.osgi,
+ org.eclipse.osgi.services;resolution:=optional,
  org.eclipse.tea.core,
  org.eclipse.e4.core.di.extensions,
  org.eclipse.e4.core.contexts,
diff --git a/org.eclipse.tea.library.build.lcdsl/pom.xml b/org.eclipse.tea.library.build.lcdsl/pom.xml
new file mode 100644
index 0000000..fddadf4
--- /dev/null
+++ b/org.eclipse.tea.library.build.lcdsl/pom.xml
@@ -0,0 +1,14 @@
+<?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>
+  <parent>
+    <groupId>org.eclipse</groupId>
+    <artifactId>tea</artifactId>
+    <version>1.0.0-SNAPSHOT</version>
+  </parent>
+  <groupId>org.eclipse</groupId>
+  <artifactId>org.eclipse.tea.library.build.lcdsl</artifactId>
+  <version>1.0.0-SNAPSHOT</version>
+  <packaging>eclipse-plugin</packaging>
+</project>
diff --git a/org.eclipse.tea.library.build/META-INF/MANIFEST.MF b/org.eclipse.tea.library.build/META-INF/MANIFEST.MF
index 0d1396c..d072313 100644
--- a/org.eclipse.tea.library.build/META-INF/MANIFEST.MF
+++ b/org.eclipse.tea.library.build/META-INF/MANIFEST.MF
@@ -7,9 +7,9 @@
 Bundle-Version: 1.0.0.qualifier
 Bundle-RequiredExecutionEnvironment: JavaSE-1.8
 Require-Bundle: org.eclipse.core.resources,
+ org.eclipse.osgi.services;resolution:=optional,
  org.eclipse.core.runtime,
  org.eclipse.e4.core.di.annotations,
- org.eclipse.osgi,
  org.eclipse.tea.core,
  org.eclipse.ui.workbench,
  org.eclipse.e4.core.di.extensions,
diff --git a/org.eclipse.tea.library.build/pom.xml b/org.eclipse.tea.library.build/pom.xml
new file mode 100644
index 0000000..f875bfb
--- /dev/null
+++ b/org.eclipse.tea.library.build/pom.xml
@@ -0,0 +1,14 @@
+<?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>
+  <parent>
+    <groupId>org.eclipse</groupId>
+    <artifactId>tea</artifactId>
+    <version>1.0.0-SNAPSHOT</version>
+  </parent>
+  <groupId>org.eclipse</groupId>
+  <artifactId>org.eclipse.tea.library.build</artifactId>
+  <version>1.0.0-SNAPSHOT</version>
+  <packaging>eclipse-plugin</packaging>
+</project>
diff --git a/org.eclipse.tea.library_feature/build.properties b/org.eclipse.tea.library_feature/build.properties
index 64f93a9..41fa92f 100644
--- a/org.eclipse.tea.library_feature/build.properties
+++ b/org.eclipse.tea.library_feature/build.properties
@@ -1 +1,3 @@
-bin.includes = feature.xml
+bin.includes = feature.xml,\
+               feature.properties,\
+               about.html
diff --git a/org.eclipse.tea.library_feature/pom.xml b/org.eclipse.tea.library_feature/pom.xml
new file mode 100644
index 0000000..f198132
--- /dev/null
+++ b/org.eclipse.tea.library_feature/pom.xml
@@ -0,0 +1,14 @@
+<?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>
+  <parent>
+    <groupId>org.eclipse</groupId>
+    <artifactId>tea</artifactId>
+    <version>1.0.0-SNAPSHOT</version>
+  </parent>
+  <groupId>org.eclipse</groupId>
+  <artifactId>org.eclipse.tea.library_feature</artifactId>
+  <version>1.0.0-SNAPSHOT</version>
+  <packaging>eclipse-feature</packaging>
+</project>
diff --git a/org.eclipse.tea.repository/category.xml b/org.eclipse.tea.repository/category.xml
new file mode 100644
index 0000000..448c87f
--- /dev/null
+++ b/org.eclipse.tea.repository/category.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<site>
+   <feature id="org.eclipse.tea.core_feature">
+      <category name="tea.core.id"/>
+   </feature>
+   <feature id="org.eclipse.tea.ui_feature">
+      <category name="tea.core.id"/>
+   </feature>
+   <feature id="org.eclipse.tea.scripting_feature">
+      <category name="tea.ease.id"/>
+   </feature>
+   <feature id="org.eclipse.tea.library_feature">
+      <category name="tea.library.id"/>
+   </feature>
+   <feature id="org.eclipse.tea.lcdsl.library_feature">
+      <category name="tea.lcdsl.id"/>
+   </feature>
+   <category-def name="tea.core.id" label="TEA Core (incubation)">
+      <description>
+         TEA Core Libraries
+      </description>
+   </category-def>
+   <category-def name="tea.ease.id" label="TEA EASE Integration (incubation)">
+      <description>
+         TEA Scripting (EASE) integration extensions
+      </description>
+   </category-def>
+   <category-def name="tea.library.id" label="TEA Library (incubation)">
+      <description>
+         Library of prebuilt TEA tasks and task chains
+      </description>
+   </category-def>
+   <category-def name="tea.lcdsl.id" label="TEA LcDsl Library Integration (incubation)">
+      <description>
+         TEA LcDsl integration extensions for TEA library
+      </description>
+   </category-def>
+</site>
diff --git a/org.eclipse.tea.repository/pom.xml b/org.eclipse.tea.repository/pom.xml
new file mode 100644
index 0000000..d21c9de
--- /dev/null
+++ b/org.eclipse.tea.repository/pom.xml
@@ -0,0 +1,16 @@
+<?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>
+  <parent>
+    <groupId>org.eclipse</groupId>
+    <artifactId>tea</artifactId>
+    <version>1.0.0-SNAPSHOT</version>
+  </parent>
+  <groupId>org.eclipse</groupId>
+  <artifactId>org.eclipse.tea.repository</artifactId>
+  <version>1.0.0-SNAPSHOT</version>
+  <packaging>eclipse-repository</packaging>
+</project>
diff --git a/org.eclipse.tea.samples/pom.xml b/org.eclipse.tea.samples/pom.xml
new file mode 100644
index 0000000..c490d88
--- /dev/null
+++ b/org.eclipse.tea.samples/pom.xml
@@ -0,0 +1,14 @@
+<?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>
+  <parent>
+    <groupId>org.eclipse</groupId>
+    <artifactId>tea</artifactId>
+    <version>1.0.0-SNAPSHOT</version>
+  </parent>
+  <groupId>org.eclipse</groupId>
+  <artifactId>org.eclipse.tea.samples</artifactId>
+  <version>1.0.0-SNAPSHOT</version>
+  <packaging>eclipse-plugin</packaging>
+</project>
diff --git a/org.eclipse.tea.scripting_feature/build.properties b/org.eclipse.tea.scripting_feature/build.properties
index 64f93a9..41fa92f 100644
--- a/org.eclipse.tea.scripting_feature/build.properties
+++ b/org.eclipse.tea.scripting_feature/build.properties
@@ -1 +1,3 @@
-bin.includes = feature.xml
+bin.includes = feature.xml,\
+               feature.properties,\
+               about.html
diff --git a/org.eclipse.tea.scripting_feature/pom.xml b/org.eclipse.tea.scripting_feature/pom.xml
new file mode 100644
index 0000000..d04301a
--- /dev/null
+++ b/org.eclipse.tea.scripting_feature/pom.xml
@@ -0,0 +1,14 @@
+<?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>
+  <parent>
+    <groupId>org.eclipse</groupId>
+    <artifactId>tea</artifactId>
+    <version>1.0.0-SNAPSHOT</version>
+  </parent>
+  <groupId>org.eclipse</groupId>
+  <artifactId>org.eclipse.tea.scripting_feature</artifactId>
+  <version>1.0.0-SNAPSHOT</version>
+  <packaging>eclipse-feature</packaging>
+</project>
diff --git a/org.eclipse.tea.ui_feature/build.properties b/org.eclipse.tea.ui_feature/build.properties
index 64f93a9..ccb677b 100644
--- a/org.eclipse.tea.ui_feature/build.properties
+++ b/org.eclipse.tea.ui_feature/build.properties
@@ -1 +1,3 @@
-bin.includes = feature.xml
+bin.includes = feature.xml,\
+               about.html,\
+               feature.properties
diff --git a/org.eclipse.tea.ui_feature/pom.xml b/org.eclipse.tea.ui_feature/pom.xml
new file mode 100644
index 0000000..d45325f
--- /dev/null
+++ b/org.eclipse.tea.ui_feature/pom.xml
@@ -0,0 +1,14 @@
+<?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>
+  <parent>
+    <groupId>org.eclipse</groupId>
+    <artifactId>tea</artifactId>
+    <version>1.0.0-SNAPSHOT</version>
+  </parent>
+  <groupId>org.eclipse</groupId>
+  <artifactId>org.eclipse.tea.ui_feature</artifactId>
+  <version>1.0.0-SNAPSHOT</version>
+  <packaging>eclipse-feature</packaging>
+</project>
diff --git a/pom.xml b/pom.xml
new file mode 100644
index 0000000..ace0cee
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,177 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+   Copyright (C) 2017, SSI Schaefer IT Solutions GmbH
+   and other copyright owners as documented in the project's IP log.
+
+   This program and the accompanying materials are made available
+   under the terms of the Eclipse Distribution License v1.0 which
+   accompanies this distribution, is reproduced below, and is
+   available at http://www.eclipse.org/org/documents/edl-v10.php
+
+   All rights reserved.
+
+   Redistribution and use in source and binary forms, with or
+   without modification, are permitted provided that the following
+   conditions are met:
+
+   - Redistributions of source code must retain the above copyright
+     notice, this list of conditions and the following disclaimer.
+
+   - Redistributions in binary form must reproduce the above
+     copyright notice, this list of conditions and the following
+     disclaimer in the documentation and/or other materials provided
+     with the distribution.
+
+   - Neither the name of the Eclipse Foundation, Inc. nor the
+     names of its contributors may be used to endorse or promote
+     products derived from this software without specific prior
+     written permission.
+
+   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
+   CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
+   INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+   OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+   ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+   CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+   SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+   NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+   LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+   CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+   STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+   ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+-->
+
+<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</groupId>
+  <artifactId>tea</artifactId>
+  <version>1.0.0-SNAPSHOT</version>
+  <packaging>pom</packaging>
+  <properties>
+    <tycho-version>1.0.0</tycho-version>
+    <tycho-extras-version>1.0.0</tycho-extras-version>
+  </properties>
+  <repositories>
+    <repository>
+      <id>oxygen</id>
+      <layout>p2</layout>
+      <url>http://download.eclipse.org/releases/oxygen</url>
+    </repository>
+    <repository>
+      <id>lcdsl</id>
+      <layout>p2</layout>
+      <url>https://mduft.github.io/lcdsl-latest</url>
+    </repository>
+    <repository>
+      <id>ease-nightly</id>
+      <layout>p2</layout>
+      <url>http://download.eclipse.org/ease/update/nightly</url>
+    </repository>
+  </repositories>
+
+  <modules>
+    <module>org.eclipse.tea.core</module>
+    <module>org.eclipse.tea.core.ui</module>
+    <module>org.eclipse.tea.core.ui.live</module>
+    <module>org.eclipse.tea.core_feature</module>
+    <module>org.eclipse.tea.ease</module>
+    <module>org.eclipse.tea.lcdsl.library_feature</module>
+    <module>org.eclipse.tea.library.build</module>
+    <module>org.eclipse.tea.library.build.lcdsl</module>
+    <module>org.eclipse.tea.library_feature</module>
+    <module>org.eclipse.tea.samples</module>
+    <module>org.eclipse.tea.scripting_feature</module>
+    <module>org.eclipse.tea.ui_feature</module>
+    <module>org.eclipse.tea.repository</module>
+  </modules>
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.eclipse.tycho</groupId>
+        <artifactId>tycho-maven-plugin</artifactId>
+        <version>${tycho-version}</version>
+        <extensions>true</extensions>
+      </plugin>
+      <plugin>
+        <groupId>org.eclipse.tycho</groupId>
+        <artifactId>target-platform-configuration</artifactId>
+        <version>${tycho-version}</version>
+        <configuration>
+          <environments>
+            <environment>
+              <os>linux</os>
+              <ws>gtk</ws>
+              <arch>x86</arch>
+            </environment>
+            <environment>
+              <os>linux</os>
+              <ws>gtk</ws>
+              <arch>x86_64</arch>
+            </environment>
+            <environment>
+              <os>win32</os>
+              <ws>win32</ws>
+              <arch>x86</arch>
+            </environment>
+            <environment>
+              <os>win32</os>
+              <ws>win32</ws>
+              <arch>x86_64</arch>
+            </environment>
+            <environment>
+              <os>macosx</os>
+              <ws>cocoa</ws>
+              <arch>x86_64</arch>
+            </environment>
+          </environments>
+        </configuration>
+      </plugin>
+      <!--
+      <plugin>
+        <groupId>org.eclipse.tycho</groupId>
+        <artifactId>tycho-source-plugin</artifactId>
+        <version>${tycho-version}</version>
+        <executions>
+          <execution>
+            <id>plugin-source</id>
+            <goals>
+              <goal>plugin-source</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+     <plugin>
+      <groupId>org.eclipse.tycho.extras</groupId>
+      <artifactId>tycho-source-feature-plugin</artifactId>
+      <version>${tycho-extras-version}</version>
+      <executions>
+        <execution>
+          <id>source-feature</id>
+          <phase>package</phase>
+          <goals>
+            <goal>source-feature</goal>
+          </goals>
+        </execution>
+      </executions>
+    </plugin>
+    -->
+    <plugin>
+      <groupId>org.eclipse.tycho</groupId>
+      <artifactId>tycho-p2-plugin</artifactId>
+      <version>${tycho-version}</version>
+      <executions>
+        <execution>
+          <id>attach-p2-metadata</id>
+          <phase>package</phase>
+          <goals>
+            <goal>p2-metadata</goal>
+          </goals>
+        </execution>
+      </executions>
+    </plugin>
+    </plugins>
+  </build>
+</project>