[releng] Update and improve releng scripts
* Version upgrade for Tycho, CBI JAR Signer and the Eclipse version
used during the publication.
* Only keep the 5 most recent entries in the composite repos.
Change-Id: I8555f32e7659674b8fe2a881ec7e405fc5938ccf
Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
diff --git a/org.eclipse.gmf.runtime.releng/pom.xml b/org.eclipse.gmf.runtime.releng/pom.xml
index ae23d82..29c0847 100644
--- a/org.eclipse.gmf.runtime.releng/pom.xml
+++ b/org.eclipse.gmf.runtime.releng/pom.xml
@@ -1,289 +1,279 @@
<?xml version="1.0" encoding="UTF-8"?>
<project
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
- xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.eclipse.gmf.runtime</groupId>
- <artifactId>org.eclipse.gmf.runtime.releng</artifactId>
- <version>1.12.0-SNAPSHOT</version>
- <packaging>pom</packaging>
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
+ xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.eclipse.gmf.runtime</groupId>
+ <artifactId>org.eclipse.gmf.runtime.releng</artifactId>
+ <version>1.12.0-SNAPSHOT</version>
+ <packaging>pom</packaging>
- <!-- this is the parent POM from which all modules inherit common settings -->
- <properties>
- <tycho-version>1.1.0</tycho-version>
- <cbi-plugins.version>1.1.4</cbi-plugins.version>
- <antrun-version>1.6</antrun-version>
- <maven.test.failure.ignore>true</maven.test.failure.ignore>
- </properties>
+ <!-- this is the parent POM from which all modules inherit common settings -->
+ <properties>
+ <tycho-version>1.4.0</tycho-version>
+ <cbi-plugins.version>1.1.5</cbi-plugins.version>
+ <antrun-version>1.6</antrun-version>
+ <maven.test.failure.ignore>true</maven.test.failure.ignore>
+ </properties>
- <build>
- <plugins>
- <plugin>
- <groupId>org.eclipse.tycho</groupId>
- <artifactId>tycho-maven-plugin</artifactId>
- <version>${tycho-version}</version>
- <extensions>true</extensions>
- </plugin>
- <plugin>
- <groupId>org.eclipse.tycho</groupId>
- <artifactId>tycho-source-plugin</artifactId>
- <version>${tycho-version}</version>
- <executions>
- <execution>
- <id>plugin-source</id>
- <goals>
- <goal>plugin-source</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-antrun-plugin</artifactId>
- <version>${antrun-version}</version>
- <executions>
- <execution>
- <id>replace-build-token</id>
- <phase>generate-sources</phase>
- <configuration>
- <tasks>
- <taskdef resource="net/sf/antcontrib/antcontrib.properties"
- classpathref="maven.plugin.classpath" />
- <if>
- <available file="about.mappings" />
- <then>
- <echo
- message="Replacing @build@ token within about.mappings with build id" />
- <replace file="about.mappings">
- <replacefilter token="@build@"
- value="${unqualifiedVersion}.${buildQualifier}" />
- </replace>
- </then>
- </if>
- <if>
- <available file="javadocOptions.txt" />
- <then>
- <echo
- message="Replacing @build@ token within javadocOptions.txt with build id" />
- <replace file="javadocOptions.txt">
- <replacefilter token="@build@"
- value="${unqualifiedVersion}.${buildQualifier}" />
- </replace>
- </then>
- </if>
- </tasks>
- </configuration>
- <goals>
- <goal>run</goal>
- </goals>
- </execution>
- <execution>
- <id>replace-back-build-token</id>
- <phase>install</phase>
- <configuration>
- <tasks>
- <taskdef resource="net/sf/antcontrib/antcontrib.properties"
- classpathref="maven.plugin.classpath" />
- <if>
- <available file="about.mappings" />
- <then>
- <echo
- message="Replacing back build id within about.mappings with @build@ token" />
- <replace file="about.mappings">
- <replacefilter token="${unqualifiedVersion}.${buildQualifier}"
- value="@build@" />
- </replace>
- </then>
- </if>
- <if>
- <available file="javadocOptions.txt" />
- <then>
- <echo
- message="Replacing back build id within javadocOptions.txt with @build@ token" />
- <replace file="javadocOptions.txt">
- <replacefilter token="${unqualifiedVersion}.${buildQualifier}"
- value="@build@" />
- </replace>
- </then>
- </if>
- </tasks>
- </configuration>
- <goals>
- <goal>run</goal>
- </goals>
- </execution>
- </executions>
- <dependencies>
- <dependency>
- <groupId>ant-contrib</groupId>
- <artifactId>ant-contrib</artifactId>
- <version>20020829</version>
- </dependency>
- </dependencies>
- </plugin>
- </plugins>
- </build>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-maven-plugin</artifactId>
+ <version>${tycho-version}</version>
+ <extensions>true</extensions>
+ </plugin>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-source-plugin</artifactId>
+ <version>${tycho-version}</version>
+ <executions>
+ <execution>
+ <id>plugin-source</id>
+ <goals>
+ <goal>plugin-source</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <version>${antrun-version}</version>
+ <executions>
+ <execution>
+ <id>replace-build-token</id>
+ <phase>generate-sources</phase>
+ <configuration>
+ <tasks>
+ <taskdef resource="net/sf/antcontrib/antcontrib.properties"
+ classpathref="maven.plugin.classpath" />
+ <if>
+ <available file="about.mappings" />
+ <then>
+ <echo
+ message="Replacing @build@ token within about.mappings with build id" />
+ <replace file="about.mappings">
+ <replacefilter token="@build@"
+ value="${unqualifiedVersion}.${buildQualifier}" />
+ </replace>
+ </then>
+ </if>
+ <if>
+ <available file="javadocOptions.txt" />
+ <then>
+ <echo
+ message="Replacing @build@ token within javadocOptions.txt with build id" />
+ <replace file="javadocOptions.txt">
+ <replacefilter token="@build@"
+ value="${unqualifiedVersion}.${buildQualifier}" />
+ </replace>
+ </then>
+ </if>
+ </tasks>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>replace-back-build-token</id>
+ <phase>install</phase>
+ <configuration>
+ <tasks>
+ <taskdef resource="net/sf/antcontrib/antcontrib.properties"
+ classpathref="maven.plugin.classpath" />
+ <if>
+ <available file="about.mappings" />
+ <then>
+ <echo
+ message="Replacing back build id within about.mappings with @build@ token" />
+ <replace file="about.mappings">
+ <replacefilter token="${unqualifiedVersion}.${buildQualifier}"
+ value="@build@" />
+ </replace>
+ </then>
+ </if>
+ <if>
+ <available file="javadocOptions.txt" />
+ <then>
+ <echo
+ message="Replacing back build id within javadocOptions.txt with @build@ token" />
+ <replace file="javadocOptions.txt">
+ <replacefilter token="${unqualifiedVersion}.${buildQualifier}"
+ value="@build@" />
+ </replace>
+ </then>
+ </if>
+ </tasks>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>ant-contrib</groupId>
+ <artifactId>ant-contrib</artifactId>
+ <version>20020829</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
- <profiles>
- <profile>
- <id>gmf-runtime.target</id>
- <activation>
- <activeByDefault>true</activeByDefault>
- </activation>
- <build>
- <plugins>
- <plugin>
- <groupId>org.eclipse.tycho</groupId>
- <artifactId>target-platform-configuration</artifactId>
- <version>${tycho-version}</version>
- <configuration>
- <!-- add target file content to target platform -->
- <target>
- <artifact>
- <groupId>org.eclipse.gmf.runtime</groupId>
- <artifactId>org.eclipse.gmf.runtime.target</artifactId>
- <version>1.12.0-SNAPSHOT</version>
- <classifier>gmf-runtime</classifier>
- </artifact>
- </target>
- <environments>
- <environment>
- <os>linux</os>
- <ws>gtk</ws>
- <arch>x86</arch>
- </environment>
- <environment>
- <os>linux</os>
- <ws>gtk</ws>
- <arch>x86_64</arch>
- </environment>
- <environment>
- <os>win32</os>
- <ws>win32</ws>
- <arch>x86</arch>
- </environment>
- <environment>
- <os>win32</os>
- <ws>win32</ws>
- <arch>x86_64</arch>
- </environment>
- <environment>
- <os>macosx</os>
- <ws>cocoa</ws>
- <arch>x86_64</arch>
- </environment>
- </environments>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </profile>
- <profile>
- <id>hudson.eclipse.org</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.eclipse.cbi.maven.plugins</groupId>
- <artifactId>eclipse-jarsigner-plugin</artifactId>
- <version>${cbi-plugins.version}</version>
- <executions>
- <execution>
- <id>sign</id>
- <phase>verify</phase>
- <goals>
- <goal>sign</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
+ <profiles>
+ <profile>
+ <id>gmf-runtime.target</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>target-platform-configuration</artifactId>
+ <version>${tycho-version}</version>
+ <configuration>
+ <!-- add target file content to target platform -->
+ <target>
+ <artifact>
+ <groupId>org.eclipse.gmf.runtime</groupId>
+ <artifactId>org.eclipse.gmf.runtime.target</artifactId>
+ <version>1.12.0-SNAPSHOT</version>
+ <classifier>gmf-runtime</classifier>
+ </artifact>
+ </target>
+ <environments>
+ <environment>
+ <os>linux</os>
+ <ws>gtk</ws>
+ <arch>x86_64</arch>
+ </environment>
+ <environment>
+ <os>win32</os>
+ <ws>win32</ws>
+ <arch>x86_64</arch>
+ </environment>
+ <environment>
+ <os>macosx</os>
+ <ws>cocoa</ws>
+ <arch>x86_64</arch>
+ </environment>
+ </environments>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <profile>
+ <id>hudson.eclipse.org</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.cbi.maven.plugins</groupId>
+ <artifactId>eclipse-jarsigner-plugin</artifactId>
+ <version>${cbi-plugins.version}</version>
+ <executions>
+ <execution>
+ <id>sign</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>sign</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
- <pluginRepositories>
- <pluginRepository>
- <id>CBI</id>
- <url>https://repo.eclipse.org/content/repositories/cbi-releases/</url>
- </pluginRepository>
- </pluginRepositories>
+ <pluginRepositories>
+ <pluginRepository>
+ <id>CBI</id>
+ <url>https://repo.eclipse.org/content/repositories/cbi-releases/</url>
+ </pluginRepository>
+ </pluginRepositories>
- <modules>
- <module>../org.eclipse.gmf.runtime.target</module>
- <module>../org.eclipse.gmf</module>
- <module>../org.eclipse.gmf.runtime.common.core</module>
- <module>../org.eclipse.gmf.runtime.common.ui</module>
- <module>../org.eclipse.gmf.runtime.common.ui.action</module>
- <module>../org.eclipse.gmf.runtime.common.ui.action.ide</module>
- <module>../org.eclipse.gmf.runtime.common.ui.printing</module>
- <module>../org.eclipse.gmf.runtime.common.ui.printing.win32</module>
- <module>../org.eclipse.gmf.runtime.common.ui.services</module>
- <module>../org.eclipse.gmf.runtime.common.ui.services.action</module>
- <module>../org.eclipse.gmf.runtime.common.ui.services.dnd</module>
- <module>../org.eclipse.gmf.runtime.common.ui.services.dnd.ide</module>
- <module>../org.eclipse.gmf.runtime.common.ui.services.properties</module>
- <module>../org.eclipse.gmf.runtime.draw2d.ui</module>
- <module>../org.eclipse.gmf.runtime.draw2d.ui.render</module>
- <module>../org.eclipse.gmf.runtime.draw2d.ui.render.awt</module>
- <module>../org.eclipse.gmf.runtime.gef.ui</module>
- <module>../org.eclipse.gmf.runtime.emf.clipboard.core</module>
- <module>../org.eclipse.gmf.runtime.emf.commands.core</module>
- <module>../org.eclipse.gmf.runtime.emf.core</module>
- <module>../org.eclipse.gmf.runtime.emf.type.core</module>
- <module>../org.eclipse.gmf.runtime.emf.type.ui</module>
- <module>../org.eclipse.gmf.runtime.emf.ui</module>
- <module>../org.eclipse.gmf.runtime.emf.ui.properties</module>
- <module>../org.eclipse.gmf.runtime.notation.providers</module>
- <module>../org.eclipse.gmf.runtime.diagram.core</module>
- <module>../org.eclipse.gmf.runtime.diagram.ui</module>
- <module>../org.eclipse.gmf.runtime.diagram.ui.actions</module>
- <module>../org.eclipse.gmf.runtime.diagram.ui.dnd</module>
- <module>../org.eclipse.gmf.runtime.diagram.ui.geoshapes</module>
- <module>../org.eclipse.gmf.runtime.diagram.ui.printing</module>
- <module>../org.eclipse.gmf.runtime.diagram.ui.printing.render</module>
- <module>../org.eclipse.gmf.runtime.diagram.ui.properties</module>
- <module>../org.eclipse.gmf.runtime.diagram.ui.providers</module>
- <module>../org.eclipse.gmf.runtime.diagram.ui.providers.ide</module>
- <module>../org.eclipse.gmf.runtime.diagram.ui.render</module>
- <module>../org.eclipse.gmf.runtime.diagram.ui.resources.editor</module>
- <module>../org.eclipse.gmf.runtime.diagram.ui.resources.editor.ide</module>
- <module>../org.eclipse.gmf.runtime.sdk</module>
- <module>../org.eclipse.gmf.examples.runtime</module>
- <module>../org.eclipse.gmf.examples.runtime.common.service</module>
- <module>../org.eclipse.gmf.examples.runtime.diagram.decorator</module>
- <module>../org.eclipse.gmf.examples.runtime.diagram.geoshapes</module>
- <module>../org.eclipse.gmf.examples.runtime.diagram.layout</module>
- <module>../org.eclipse.gmf.examples.runtime.diagram.logic</module>
- <module>../org.eclipse.gmf.examples.runtime.diagram.logic.model</module>
- <module>../org.eclipse.gmf.examples.runtime.diagram.logic.model.edit</module>
- <module>../org.eclipse.gmf.examples.runtime.diagram.logic.model.editor</module>
- <module>../org.eclipse.gmf.examples.runtime.emf.clipboard</module>
- <module>../org.eclipse.gmf.examples.runtime.ui.pde</module>
- <module>../org.eclipse.gmf.tests.runtime.common.core</module>
- <module>../org.eclipse.gmf.tests.runtime.common.ui</module>
- <module>../org.eclipse.gmf.tests.runtime.common.ui.services</module>
- <module>../org.eclipse.gmf.tests.runtime.common.ui.services.action</module>
- <module>../org.eclipse.gmf.tests.runtime.common.ui.services.provider</module>
- <module>../org.eclipse.gmf.tests.runtime.diagram.ui</module>
- <module>../org.eclipse.gmf.tests.runtime.draw2d.ui</module>
- <module>../org.eclipse.gmf.tests.runtime.draw2d.ui.render</module>
- <module>../org.eclipse.gmf.tests.runtime.emf.clipboard.core</module>
- <module>../org.eclipse.gmf.tests.runtime.emf.commands.core</module>
- <module>../org.eclipse.gmf.tests.runtime.emf.core</module>
- <module>../org.eclipse.gmf.tests.runtime.emf.type.core</module>
- <module>../org.eclipse.gmf.tests.runtime.emf.type.ui</module>
- <module>../org.eclipse.gmf.tests.runtime.emf.ui</module>
- <module>../org.eclipse.gmf.tests.runtime.emf.ui.properties</module>
- <module>../org.eclipse.gmf.tests.runtime.gef.ui</module>
- <module>../org.eclipse.gmf.runtime-feature</module>
- <module>../org.eclipse.gmf.source-feature</module>
- <module>../org.eclipse.gmf.runtime.thirdparty-feature</module>
- <module>../org.eclipse.gmf.runtime.thirdparty.source-feature</module>
- <module>../org.eclipse.gmf.examples.runtime-feature</module>
- <module>../org.eclipse.gmf.examples.runtime.ui.pde-feature</module>
- <module>../org.eclipse.gmf.runtime.sdk-feature</module>
- <module>../org.eclipse.gmf.tests.runtime-feature</module>
- <module>../org.eclipse.gmf.runtime.repository</module>
- </modules>
+ <modules>
+ <module>../org.eclipse.gmf.runtime.target</module>
+ <module>../org.eclipse.gmf</module>
+ <module>../org.eclipse.gmf.runtime.common.core</module>
+ <module>../org.eclipse.gmf.runtime.common.ui</module>
+ <module>../org.eclipse.gmf.runtime.common.ui.action</module>
+ <module>../org.eclipse.gmf.runtime.common.ui.action.ide</module>
+ <module>../org.eclipse.gmf.runtime.common.ui.printing</module>
+ <module>../org.eclipse.gmf.runtime.common.ui.printing.win32</module>
+ <module>../org.eclipse.gmf.runtime.common.ui.services</module>
+ <module>../org.eclipse.gmf.runtime.common.ui.services.action</module>
+ <module>../org.eclipse.gmf.runtime.common.ui.services.dnd</module>
+ <module>../org.eclipse.gmf.runtime.common.ui.services.dnd.ide</module>
+ <module>../org.eclipse.gmf.runtime.common.ui.services.properties</module>
+ <module>../org.eclipse.gmf.runtime.draw2d.ui</module>
+ <module>../org.eclipse.gmf.runtime.draw2d.ui.render</module>
+ <module>../org.eclipse.gmf.runtime.draw2d.ui.render.awt</module>
+ <module>../org.eclipse.gmf.runtime.gef.ui</module>
+ <module>../org.eclipse.gmf.runtime.emf.clipboard.core</module>
+ <module>../org.eclipse.gmf.runtime.emf.commands.core</module>
+ <module>../org.eclipse.gmf.runtime.emf.core</module>
+ <module>../org.eclipse.gmf.runtime.emf.type.core</module>
+ <module>../org.eclipse.gmf.runtime.emf.type.ui</module>
+ <module>../org.eclipse.gmf.runtime.emf.ui</module>
+ <module>../org.eclipse.gmf.runtime.emf.ui.properties</module>
+ <module>../org.eclipse.gmf.runtime.notation.providers</module>
+ <module>../org.eclipse.gmf.runtime.diagram.core</module>
+ <module>../org.eclipse.gmf.runtime.diagram.ui</module>
+ <module>../org.eclipse.gmf.runtime.diagram.ui.actions</module>
+ <module>../org.eclipse.gmf.runtime.diagram.ui.dnd</module>
+ <module>../org.eclipse.gmf.runtime.diagram.ui.geoshapes</module>
+ <module>../org.eclipse.gmf.runtime.diagram.ui.printing</module>
+ <module>../org.eclipse.gmf.runtime.diagram.ui.printing.render</module>
+ <module>../org.eclipse.gmf.runtime.diagram.ui.properties</module>
+ <module>../org.eclipse.gmf.runtime.diagram.ui.providers</module>
+ <module>../org.eclipse.gmf.runtime.diagram.ui.providers.ide</module>
+ <module>../org.eclipse.gmf.runtime.diagram.ui.render</module>
+ <module>../org.eclipse.gmf.runtime.diagram.ui.resources.editor</module>
+ <module>../org.eclipse.gmf.runtime.diagram.ui.resources.editor.ide</module>
+ <module>../org.eclipse.gmf.runtime.sdk</module>
+ <module>../org.eclipse.gmf.examples.runtime</module>
+ <module>../org.eclipse.gmf.examples.runtime.common.service</module>
+ <module>../org.eclipse.gmf.examples.runtime.diagram.decorator</module>
+ <module>../org.eclipse.gmf.examples.runtime.diagram.geoshapes</module>
+ <module>../org.eclipse.gmf.examples.runtime.diagram.layout</module>
+ <module>../org.eclipse.gmf.examples.runtime.diagram.logic</module>
+ <module>../org.eclipse.gmf.examples.runtime.diagram.logic.model</module>
+ <module>../org.eclipse.gmf.examples.runtime.diagram.logic.model.edit</module>
+ <module>../org.eclipse.gmf.examples.runtime.diagram.logic.model.editor</module>
+ <module>../org.eclipse.gmf.examples.runtime.emf.clipboard</module>
+ <module>../org.eclipse.gmf.examples.runtime.ui.pde</module>
+ <module>../org.eclipse.gmf.tests.runtime.common.core</module>
+ <module>../org.eclipse.gmf.tests.runtime.common.ui</module>
+ <module>../org.eclipse.gmf.tests.runtime.common.ui.services</module>
+ <module>../org.eclipse.gmf.tests.runtime.common.ui.services.action</module>
+ <module>../org.eclipse.gmf.tests.runtime.common.ui.services.provider</module>
+ <module>../org.eclipse.gmf.tests.runtime.diagram.ui</module>
+ <module>../org.eclipse.gmf.tests.runtime.draw2d.ui</module>
+ <module>../org.eclipse.gmf.tests.runtime.draw2d.ui.render</module>
+ <module>../org.eclipse.gmf.tests.runtime.emf.clipboard.core</module>
+ <module>../org.eclipse.gmf.tests.runtime.emf.commands.core</module>
+ <module>../org.eclipse.gmf.tests.runtime.emf.core</module>
+ <module>../org.eclipse.gmf.tests.runtime.emf.type.core</module>
+ <module>../org.eclipse.gmf.tests.runtime.emf.type.ui</module>
+ <module>../org.eclipse.gmf.tests.runtime.emf.ui</module>
+ <module>../org.eclipse.gmf.tests.runtime.emf.ui.properties</module>
+ <module>../org.eclipse.gmf.tests.runtime.gef.ui</module>
+ <module>../org.eclipse.gmf.runtime-feature</module>
+ <module>../org.eclipse.gmf.source-feature</module>
+ <module>../org.eclipse.gmf.runtime.thirdparty-feature</module>
+ <module>../org.eclipse.gmf.runtime.thirdparty.source-feature</module>
+ <module>../org.eclipse.gmf.examples.runtime-feature</module>
+ <module>../org.eclipse.gmf.examples.runtime.ui.pde-feature</module>
+ <module>../org.eclipse.gmf.runtime.sdk-feature</module>
+ <module>../org.eclipse.gmf.tests.runtime-feature</module>
+ <module>../org.eclipse.gmf.runtime.repository</module>
+ </modules>
</project>
diff --git a/org.eclipse.gmf.runtime.repository/gmf-runtime-hipp-publish.sh b/org.eclipse.gmf.runtime.repository/gmf-runtime-hipp-publish.sh
index 28ee65a..ffac5dc 100644
--- a/org.eclipse.gmf.runtime.repository/gmf-runtime-hipp-publish.sh
+++ b/org.eclipse.gmf.runtime.repository/gmf-runtime-hipp-publish.sh
@@ -80,8 +80,8 @@
# Download and prepare Eclipse SDK, which is needed to process the update site
echo "`date +%Y-%m-%d-%H:%M:%S` Downloading eclipse to $PWD"
-cp /home/data/httpd/download.eclipse.org/eclipse/downloads/drops4/R-4.7.1a-201710090410/eclipse-SDK-4.7.1a-linux-gtk-x86_64.tar.gz .
-tar -xzf eclipse-SDK-4.7.1a-linux-gtk-x86_64.tar.gz
+cp /home/data/httpd/download.eclipse.org/eclipse/downloads/drops4/R-4.11-201903070500/eclipse-SDK-4.11-linux-gtk-x86_64.tar.gz .
+tar -xzf eclipse-SDK-4.11-linux-gtk-x86_64.tar.gz
cd eclipse
chmod 700 eclipse
cd ..
@@ -93,7 +93,7 @@
echo "`date +%Y-%m-%d-%H:%M:%S` Installing WTP Releng tools"
./eclipse/eclipse -nosplash --launcher.suppressErrors -clean -debug -application org.eclipse.equinox.p2.director -repository http://download.eclipse.org/webtools/releng/repository/ -installIUs org.eclipse.wtp.releng.tools.feature.feature.group
# Clean up
-rm eclipse-SDK-4.7.1a-linux-gtk-x86_64.tar.gz
+rm eclipse-SDK-4.11-linux-gtk-x86_64.tar.gz
# Generate drop files
echo "`date +%Y-%m-%d-%H:%M:%S` Converting update site to runnable form"
@@ -412,7 +412,7 @@
<project name="p2 composite repository">
<target name="default">
<p2.composite.repository>
-<repository compressed="true" location="${remoteUpdateSite}" name="${JOB_NAME}"/>
+<repository compressed="true" location="${remoteUpdateSite}" name="${JOB_NAME}" append="false"/>
<add>
<repository location="${dropDir}"/>
</add>
@@ -424,7 +424,7 @@
# Backup then clean remote update site
if [ -d "$remoteUpdateSite" ]; then
echo "`date +%Y-%m-%d-%H:%M:%S` Add existing update sites to the composite update site repository file."
- for existingDropDir in `find ${remoteUpdateSite}/ -mindepth 1 -maxdepth 1 -type d | sort | tail -n 10` ; do
+ for existingDropDir in `find ${remoteUpdateSite}/ -mindepth 1 -maxdepth 1 -type d | sort | tail -n 4` ; do
addExistingDropDir=$(basename $existingDropDir)
echo "`date +%Y-%m-%d-%H:%M:%S` Add ${addExistingDropDir}."
addRepositoryLocation="<repository location=\"${addExistingDropDir}\"/>"
@@ -437,7 +437,8 @@
mkdir -p $remoteUpdateSite
cp -R $stagedUpdateSite $remoteUpdateSite
-echo "`date +%Y-%m-%d-%H:%M:%S` Update the composite update site"
+echo "`date +%Y-%m-%d-%H:%M:%S` Refresh the composite update site"
+rm ${remoteUpdateSite}/compositeArtifacts.jar ${remoteUpdateSite}/compositeContent.jar
./eclipse/eclipse -nosplash --launcher.suppressErrors -clean -debug -application org.eclipse.ant.core.antRunner -buildfile p2.composite.repository.xml default
# Clean up