Create target platform for Gemini management project. Fix for bug 363554
diff --git a/gemini.mgmt.releng/pom.xml b/gemini.mgmt.releng/pom.xml
index 4c93c78..fbdf7a5 100644
--- a/gemini.mgmt.releng/pom.xml
+++ b/gemini.mgmt.releng/pom.xml
@@ -10,10 +10,10 @@
 
 	<properties>
 		<tycho-version>0.11.0</tycho-version>
-		<eclipse-site>http://download.eclipse.org/eclipse/updates/3.7milestones/</eclipse-site>
-		<emf-site>http://download.eclipse.org/modeling/emf/emf/updates/2.7milestones/</emf-site>
-		<wtp-site>http://download.eclipse.org/webtools/repository/indigo/</wtp-site>
-		<orbit-site>http://download.eclipse.org/tools/orbit/downloads/drops/S20111018035124/repository/</orbit-site>
+		<!--eclipse-site>http://download.eclipse.org/eclipse/updates/3.7milestones/</eclipse-site-->
+		<!--emf-site>http://download.eclipse.org/modeling/emf/emf/updates/2.7milestones/</emf-site-->
+		<!--wtp-site>http://download.eclipse.org/webtools/repository/indigo/</wtp-site-->
+		<!--orbit-site>http://download.eclipse.org/tools/orbit/downloads/drops/S20111018035124/repository/</orbit-site-->
 	</properties>
 	
 	<modules>
@@ -21,6 +21,7 @@
 		<module>../org.eclipse.gemini.mgmt.tests</module>
 		<module>../org.eclipse.gemini.mgmt.feature</module>
 		<module>../gemini.mgmt.repository</module>
+		<module>../org.eclipse.gemini.mgmt.target</module>
 	</modules>
 	<build>
 		<plugins>
@@ -36,6 +37,14 @@
 				<version>${tycho-version}</version>
 				<configuration>
 					<resolver>p2</resolver>
+					<target>
+            <artifact>
+						  <groupId>org.eclipse.gemini.mgmt</groupId>
+              <artifactId>target-platform</artifactId>
+              <version>1.0.0-SNAPSHOT</version>
+              <classifier>gemini-management</classifier>
+            </artifact>
+          </target>
 				</configuration>
 			</plugin>
 		</plugins>
@@ -114,7 +123,7 @@
 		</pluginManagement>
 	</build>
 
-	<repositories>
+	<!--repositories>
 		<repository>
 			<id>eclipse-sdk</id>
 			<url>${eclipse-site}</url>
@@ -139,7 +148,7 @@
 				<enabled>false</enabled>
 			</snapshots>
 		</repository>
-	</repositories>
+	</repositories -->
 	
 	<pluginRepositories>
 		<pluginRepository>
diff --git a/org.eclipse.gemini.mgmt.target/gemini-management.target b/org.eclipse.gemini.mgmt.target/gemini-management.target
new file mode 100755
index 0000000..bb1442f
--- /dev/null
+++ b/org.eclipse.gemini.mgmt.target/gemini-management.target
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>

+<?pde version="3.6"?>

+

+<target name="gemini-management" sequenceNumber="4">

+<locations>

+

+<location includeAllPlatforms="false" includeMode="planner" type="InstallableUnit">

+<unit id="org.eclipse.osgi" version="0.0.0"/>

+<unit id="org.eclipse.osgi.services" version="0.0.0"/>

+<unit id="org.junit4" version="0.0.0"/>

+<repository location="http://download.eclipse.org/eclipse/updates/3.7milestones/"/>

+</location>

+

+<location includeAllPlatforms="false" includeMode="planner" type="InstallableUnit">

+<unit id="osgi.enterprise" version="0.0.0"/>

+<repository location="http://download.eclipse.org/tools/orbit/downloads/drops/S20111018035124/repository/"/>

+</location>

+

+</locations>

+</target>

diff --git a/org.eclipse.gemini.mgmt.target/pom.xml b/org.eclipse.gemini.mgmt.target/pom.xml
new file mode 100755
index 0000000..867ea9e
--- /dev/null
+++ b/org.eclipse.gemini.mgmt.target/pom.xml
@@ -0,0 +1,44 @@
+<?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/xsd/maven-4.0.0.xsd">
+	<modelVersion>4.0.0</modelVersion>
+
+	<parent>
+		<groupId>org.eclipse.gemini.mgmt</groupId>
+		<artifactId>org.eclipse.gemini.mgmt_parent</artifactId>
+		<version>1.0.0-SNAPSHOT</version>
+		<relativePath>../gemini.mgmt.releng/pom.xml</relativePath>
+	</parent>
+
+	<artifactId>target-platform</artifactId>
+	<packaging>pom</packaging>
+	<name>Gemini Management Target Platform</name>
+
+	<build>
+		<plugins>
+			<plugin>
+				<groupId>org.codehaus.mojo</groupId>
+				<artifactId>build-helper-maven-plugin</artifactId>
+				<version>1.3</version>
+				<executions>
+					<execution>
+						<id>attach-artifacts</id>
+						<phase>package</phase>
+						<goals>
+							<goal>attach-artifact</goal>
+						</goals>
+						<configuration>
+							<artifacts>
+								<artifact>
+									<file>gemini-management.target</file>
+									<type>target</type>
+									<classifier>gemini-management</classifier>
+								</artifact>
+							</artifacts>
+						</configuration>
+					</execution>
+				</executions>
+			</plugin>
+		</plugins>
+	</build>
+</project>