[559163] Reference a generic update-site in features and product

Change-Id: Ic0581b66634586aa53d50c0cda332c6f45fc0a81
diff --git a/features/org.eclipse.mat.chart.feature/feature.xml b/features/org.eclipse.mat.chart.feature/feature.xml
index b392852..23d6b4e 100644
--- a/features/org.eclipse.mat.chart.feature/feature.xml
+++ b/features/org.eclipse.mat.chart.feature/feature.xml
@@ -19,7 +19,7 @@
    </license>

 

    <url>

-      <update label="%updateSiteName" url="http://download.eclipse.org/mat/1.8/update-site/"/>

+      <update label="%updateSiteName" url="http://download.eclipse.org/mat/latest/update-site/"/>

    </url>

 

    <requires>

diff --git a/features/org.eclipse.mat.feature/feature.xml b/features/org.eclipse.mat.feature/feature.xml
index 3ef2b06..278bda7 100644
--- a/features/org.eclipse.mat.feature/feature.xml
+++ b/features/org.eclipse.mat.feature/feature.xml
@@ -20,7 +20,7 @@
    </license>

 

    <url>

-      <update label="%updateSiteName" url="http://download.eclipse.org/mat/1.8/update-site/"/>

+      <update label="%updateSiteName" url="http://download.eclipse.org/mat/latest/update-site/"/>

       <discovery label="%IBMDTFJSiteName" url="http://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/runtimes/tools/dtfj/"/>

    </url>

 

diff --git a/features/org.eclipse.mat.ui.rcp.feature/feature.xml b/features/org.eclipse.mat.ui.rcp.feature/feature.xml
index f0470da..dc90b99 100644
--- a/features/org.eclipse.mat.ui.rcp.feature/feature.xml
+++ b/features/org.eclipse.mat.ui.rcp.feature/feature.xml
@@ -19,7 +19,7 @@
    </license>

 

    <url>

-      <update label="%updateSiteName" url="http://download.eclipse.org/mat/1.8/update-site/"/>

+      <update label="%updateSiteName" url="http://download.eclipse.org/mat/latest/update-site/"/>

    </url>

 

    <requires>

diff --git a/org.eclipse.mat.product/mat.p2.inf b/org.eclipse.mat.product/mat.p2.inf
index 1eea5e7..0cff55e 100644
--- a/org.eclipse.mat.product/mat.p2.inf
+++ b/org.eclipse.mat.product/mat.p2.inf
@@ -4,8 +4,8 @@
 instructions.configure=\

     org.eclipse.equinox.p2.touchpoint.natives.remove(path:${installFolder}/readme);\

     org.eclipse.equinox.p2.touchpoint.natives.remove(path:${installFolder}/artifacts.xml);\

-    addRepository(type:0,name:Memory Analyzer,location:http${#58}//download.eclipse.org/mat/1.8/update-site/);\

-    addRepository(type:1,name:Memory Analyzer,location:http${#58}//download.eclipse.org/mat/1.8/update-site/);\

+    addRepository(type:0,name:Memory Analyzer,location:http${#58}//download.eclipse.org/mat/latest/update-site/);\

+    addRepository(type:1,name:Memory Analyzer,location:http${#58}//download.eclipse.org/mat/latest/update-site/);\

     addRepository(type:0,name:Memory Analyzer latest development build,location:http${#58}//download.eclipse.org/mat/snapshots/update-site/,enabled:false);\

     addRepository(type:1,name:Memory Analyzer latest development build,location:http${#58}//download.eclipse.org/mat/snapshots/update-site/,enabled:false);\

     addRepository(type:0,name:Eclipse Photon,location:http${#58}//download.eclipse.org/releases/photon/,enabled:true);\

diff --git a/parent/pom.xml b/parent/pom.xml
index 0147650..39ddc95 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -24,7 +24,7 @@
 		<mat-target>mat-photon</mat-target>

 		<!-- mat-release-repo-url specifies from which p2 repo the MAT bundles 

 			come, when the build-release profile is used -->

-		<mat-release-repo-url>http://download.eclipse.org/mat/1.8/update-site/</mat-release-repo-url>

+		<mat-release-repo-url>http://download.eclipse.org/mat/latest/update-site/</mat-release-repo-url>

 	</properties>

 

 	<profiles>