Create source feature.  Add it to repo.

Change-Id: I48d4272dbd9b368e114027e70cf0f61978145fbb
Signed-off-by: Christian Georgi <christian.georgi@sap.com>
diff --git a/build/org.eclipse.e4.resources.update/category.xml b/build/org.eclipse.e4.resources.update/category.xml
index 9da2017..606029b 100644
--- a/build/org.eclipse.e4.resources.update/category.xml
+++ b/build/org.eclipse.e4.resources.update/category.xml
@@ -1,6 +1,9 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <site>
-   <feature url="features/org.eclipse.e4.resources.feature_0.12.0.qualifier.jar" id="org.eclipse.e4.resources.feature" version="0.12.0.qualifier">
+   <feature url="features/org.eclipse.e4.resources.feature_0.0.0.jar" id="org.eclipse.e4.resources.feature" version="0.0.0">
+      <category name="org.eclipse.e4.resources"/>
+   </feature>
+   <feature url="features/org.eclipse.e4.resources.feature.source_0.0.0.jar" id="org.eclipse.e4.resources.feature.source" version="0.0.0">
       <category name="org.eclipse.e4.resources"/>
    </feature>
    <category-def name="org.eclipse.e4.resources" label="Eclipse e4 Semantic File System"/>
diff --git a/features/org.eclipse.e4.resources.feature/pom.xml b/features/org.eclipse.e4.resources.feature/pom.xml
index c18fe6e..47b05f0 100644
--- a/features/org.eclipse.e4.resources.feature/pom.xml
+++ b/features/org.eclipse.e4.resources.feature/pom.xml
@@ -12,4 +12,36 @@
   <version>0.12.0-SNAPSHOT</version>
   <packaging>eclipse-feature</packaging>
 
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.eclipse.tycho.extras</groupId>
+        <artifactId>tycho-source-feature-plugin</artifactId>
+        <executions>
+          <execution>
+            <phase>package</phase>
+            <id>source-feature</id>
+            <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>attached-p2-metadata</id>
+            <phase>package</phase>
+            <goals>
+              <goal>p2-metadata</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+
 </project>