Bug 544579 - [IoTML] [Releng] Add repository-references to the
category.xml of p2

Change-Id: Iacb8305e67a13422a0d450f372e5c14eb14fc783
Signed-off-by: Shuai Li <shuai.li@cea.fr>
diff --git a/releng/org.eclipse.papyrus.iotml.p2/pom.xml b/releng/org.eclipse.papyrus.iotml.p2/pom.xml
index b9bae6f..7c53f64 100644
--- a/releng/org.eclipse.papyrus.iotml.p2/pom.xml
+++ b/releng/org.eclipse.papyrus.iotml.p2/pom.xml
@@ -13,6 +13,52 @@
 	<build>
 		<plugins>
 			<plugin>
+				<groupId>org.jboss.tools.tycho-plugins</groupId>
+				<artifactId>repository-utils</artifactId>
+				<version>0.26.0</version>
+				<executions>
+					<execution>
+					<phase>package</phase>
+						<goals>
+							<goal>generate-repository-facade</goal>
+						</goals>
+						<configuration>
+							<!-- components update facade -->
+							<symbols>
+								<update.site.name>Papyrus IoTML</update.site.name>
+								<update.site.description>Use this URL in Eclipse to install	Papyrus IoTML</update.site.description>
+								<update.site.version>${project.version}</update.site.version>
+								<project.website>https://git.eclipse.org/c/papyrus/org.eclipse.papyrus-iotml.git</project.website>
+								<project.issues>https://bugs.eclipse.org/bugs/</project.issues>
+								<eclipse.target>${eclipse.targetrelease}</eclipse.target>
+							</symbols>
+							<!--<siteTemplateFolder>siteTemplate</siteTemplateFolder>-->
+							<p2StatsUrl>http://download.eclipse.org/stats</p2StatsUrl>
+
+							<!-- p2 update site transitive dependencies repositories -->
+							<associateSites>
+								<site>http://download.eclipse.org/modeling/mdt/papyrus/updates/releases/photon/" enabled="true"</site>
+								<site>https://hudson.eclipse.org/papyrus/job/papyrus-marte-oxygen/lastSuccessfulBuild/artifact/releng/org.eclipse.papyrus.marte.p2/target/repository/</site>
+								<site>https://hudson.eclipse.org/papyrus/view/Moka/job/papyrus-moka-master/lastSuccessfulBuild/artifact/releng/org.eclipse.papyrus.moka.p2/target/repository/</site>
+								<site>https://hudson.eclipse.org/papyrus/job/Papyrus-Oxygen-Developer/lastSuccessfulBuild/artifact/repository/</site>
+								<site>http://download.eclipse.org/modeling/gmp/gmf-tooling/updates/releases/</site>
+								<site>http://download.eclipse.org/releases/oxygen/</site>
+								<site>http://download.eclipse.org/modeling/mdt/papyrus/updates/releases/oxygen/</site>
+								<site>http://download.eclipse.org/xwt/updates</site>
+							</associateSites>
+						</configuration>
+					</execution>
+				</executions>
+				<!-- components dependencies -->
+				<dependencies>
+					<dependency>
+						<groupId>org.eclipse.tycho</groupId>
+						<artifactId>tycho-packaging-plugin</artifactId>
+						<version>${tycho-version}</version>
+					</dependency>
+				</dependencies>
+			</plugin>
+			<plugin>
 				<groupId>org.apache.maven.plugins</groupId>
 				<artifactId>maven-deploy-plugin</artifactId>
 				<configuration>