Add variability feature sources.

Change-Id: I91662bb2d1e76cf54fb998d5c7fec036baa20c3d
Signed-off-by: Stefan Schulz <schulzs@mathematik.uni-marburg.de>
diff --git a/p2updatesite/category.xml b/p2updatesite/category.xml
index 65af9ab..fa9ca9c 100644
--- a/p2updatesite/category.xml
+++ b/p2updatesite/category.xml
@@ -9,5 +9,8 @@
    <feature id="org.eclipse.emf.henshin.sdk.variability">
       <category name="org.eclipse.modeling"/>
    </feature>
+   <feature id="org.eclipse.emf.henshin.sdk.variability.source">
+      <category name="org.eclipse.modeling"/>
+   </feature>
    <category-def name="org.eclipse.modeling" label="Modeling"/>
 </site>
diff --git a/plugins/org.eclipse.emf.henshin.sdk.variability/pom.xml b/plugins/org.eclipse.emf.henshin.sdk.variability/pom.xml
new file mode 100644
index 0000000..ebbe6d4
--- /dev/null
+++ b/plugins/org.eclipse.emf.henshin.sdk.variability/pom.xml
@@ -0,0 +1,51 @@
+<?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>
+    <relativePath>../../pom.xml</relativePath>
+    <groupId>org.eclipse.emf.henshin.variability</groupId>
+    <artifactId>parent</artifactId>
+    <version>1.0.0-SNAPSHOT</version>
+  </parent>
+
+  <artifactId>org.eclipse.emf.henshin.sdk.variability</artifactId>
+  <packaging>eclipse-feature</packaging>
+  <build>
+  <plugins>
+    <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>
+          <configuration>
+            <labelSuffix xml:space="preserve"> Sources</labelSuffix>
+         </configuration>
+        </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>