Bug 482458 [SysML 1.4][releng][updatesite] configure index for update
site

-need to remove all elements relative to JBoss
-need to link to the right p2stats url

Change-Id: I50965bf8f927708b10bf6f73a8b55f670ca63950
Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=482458
Signed-off-by: Francois Le Fevre - CEA <francois.le-fevre@cea.fr>
diff --git a/releng/org.eclipse.papyrus.sysml14.p2/pom.xml b/releng/org.eclipse.papyrus.sysml14.p2/pom.xml
index b4ec07b..1245c31 100644
--- a/releng/org.eclipse.papyrus.sysml14.p2/pom.xml
+++ b/releng/org.eclipse.papyrus.sysml14.p2/pom.xml
@@ -16,45 +16,49 @@
 			<url>http://repository.jboss.org/nexus/content/groups/public/</url>
 		</pluginRepository>
 	</pluginRepositories>
-	<profiles>
-		<profile>
-			<id>MARS.target</id>
-			<activation>
-				<activeByDefault>true</activeByDefault>
-			</activation>
-			<build>
-				<plugins>
-					<plugin>
-						<!-- https://github.com/jbosstools/jbosstools-maven-plugins/wiki -->
-						<groupId>org.jboss.tools.tycho-plugins</groupId>
-						<artifactId>repository-utils</artifactId>
-						<version>0.23.2</version>
-						<executions>
-							<execution>
-								<id>generate-facade</id>
-								<phase>package</phase>
-								<goals>
-									<goal>generate-repository-facade</goal>
-								</goals>
-								<configuration>
-									<associateSites>
-										<site>http://download.eclipse.org/releases/mars</site>
-									</associateSites>
-								</configuration>
-							</execution>
-						</executions>
-						<dependencies>
-							<dependency>
-								<groupId>org.eclipse.tycho</groupId>
-								<artifactId>tycho-packaging-plugin</artifactId>
-								<version>${tycho-version}</version>
-							</dependency>
-						</dependencies>
-					</plugin>
-				</plugins>
-			</build>
-		</profile>
-	</profiles>
+
+	<build>
+		<plugins>
+			<plugin>
+				<!-- https://github.com/jbosstools/jbosstools-maven-plugins/wiki -->
+				<groupId>org.jboss.tools.tycho-plugins</groupId>
+				<artifactId>repository-utils</artifactId>
+				<version>0.23.2</version>
+				<executions>
+					<execution>
+						<id>generate-facade</id>
+						<phase>package</phase>
+						<goals>
+							<goal>generate-repository-facade</goal>
+						</goals>
+						<configuration>
+							<symbols>
+								<update.site.name>SysML 1.4</update.site.name>
+								<update.site.description>Use this URL in Eclipse to install SysML 1.4</update.site.description>
+								<update.site.version>${project.version}</update.site.version>
+								<project.website>https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/index.html</project.website>
+								<project.issues>${project.issueManagement.url}</project.issues>
+								<eclipse.target>${eclipse.targetrelease}</eclipse.target>
+								<update.site.nightly>https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-nightly-build/ws/releng/org.eclipse.papyrus.sysml14.p2/target/repository/</update.site.nightly>
+							</symbols>
+							<associateSites>
+								<site>https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/index.html</site>
+							</associateSites>
+							<siteTemplateFolder>siteTemplate</siteTemplateFolder>
+							<p2StatsUrl>http://download.eclipse.org/stats</p2StatsUrl>
+						</configuration>
+					</execution>
+				</executions>
+				<dependencies>
+					<dependency>
+						<groupId>org.eclipse.tycho</groupId>
+						<artifactId>tycho-packaging-plugin</artifactId>
+						<version>${tycho-version}</version>
+					</dependency>
+				</dependencies>
+			</plugin>
+		</plugins>
+	</build>
 	<name>org.eclipse.papyrus.sysml14.p2</name>
 	<description>This plugin defines the update site of SysML 1.4 plugins and feature.</description>
 </project>
\ No newline at end of file