Bug 567367 - [Robotics] Configure update sites in RCP for 2020-06 build
- Support target specific products
Change-Id: Id2eef55cd2e329a59f7b04804ea7070fc0284891
Signed-off-by: Ansgar Radermacher <ansgar.radermacher@cea.fr>
diff --git a/releng/pom.xml b/releng/pom.xml
index f4c0844..8e950ac 100644
--- a/releng/pom.xml
+++ b/releng/pom.xml
@@ -45,7 +45,7 @@
<modules>
<module>org.eclipse.papyrus.robotics.p2</module>
<module>org.eclipse.papyrus.robotics.rcp</module>
- <module>org.eclipse.papyrus.robotics.product</module>
+ <module>products</module>
<module>org.eclipse.papyrus.robotics.rcp.feature</module>
<module>org.eclipse.papyrus.robotics.feature</module>
<!--
diff --git a/releng/org.eclipse.papyrus.robotics.product/.project b/releng/products/org.eclipse.papyrus.robotics.product.2019-12/.project
similarity index 100%
rename from releng/org.eclipse.papyrus.robotics.product/.project
rename to releng/products/org.eclipse.papyrus.robotics.product.2019-12/.project
diff --git a/releng/org.eclipse.papyrus.robotics.product/.settings/org.eclipse.core.resources.prefs b/releng/products/org.eclipse.papyrus.robotics.product.2019-12/.settings/org.eclipse.core.resources.prefs
similarity index 100%
rename from releng/org.eclipse.papyrus.robotics.product/.settings/org.eclipse.core.resources.prefs
rename to releng/products/org.eclipse.papyrus.robotics.product.2019-12/.settings/org.eclipse.core.resources.prefs
diff --git a/releng/org.eclipse.papyrus.robotics.product/.settings/org.eclipse.m2e.core.prefs b/releng/products/org.eclipse.papyrus.robotics.product.2019-12/.settings/org.eclipse.m2e.core.prefs
similarity index 100%
rename from releng/org.eclipse.papyrus.robotics.product/.settings/org.eclipse.m2e.core.prefs
rename to releng/products/org.eclipse.papyrus.robotics.product.2019-12/.settings/org.eclipse.m2e.core.prefs
diff --git a/releng/org.eclipse.papyrus.robotics.product/p2.inf b/releng/products/org.eclipse.papyrus.robotics.product.2019-12/p2.inf
similarity index 100%
rename from releng/org.eclipse.papyrus.robotics.product/p2.inf
rename to releng/products/org.eclipse.papyrus.robotics.product.2019-12/p2.inf
diff --git a/releng/org.eclipse.papyrus.robotics.product/papyrusRobotics.product b/releng/products/org.eclipse.papyrus.robotics.product.2019-12/papyrusRobotics.product
similarity index 100%
rename from releng/org.eclipse.papyrus.robotics.product/papyrusRobotics.product
rename to releng/products/org.eclipse.papyrus.robotics.product.2019-12/papyrusRobotics.product
diff --git a/releng/org.eclipse.papyrus.robotics.product/pom.xml b/releng/products/org.eclipse.papyrus.robotics.product.2019-12/pom.xml
similarity index 96%
rename from releng/org.eclipse.papyrus.robotics.product/pom.xml
rename to releng/products/org.eclipse.papyrus.robotics.product.2019-12/pom.xml
index b9efd31..65bc79c 100644
--- a/releng/org.eclipse.papyrus.robotics.product/pom.xml
+++ b/releng/products/org.eclipse.papyrus.robotics.product.2019-12/pom.xml
@@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.eclipse.papyrus.robotics</groupId>
- <artifactId>org.eclipse.papyrus.robotics.releng</artifactId>
+ <artifactId>org.eclipse.papyrus.robotics.products</artifactId>
<version>0.8.0-SNAPSHOT</version>
</parent>
<artifactId>org.eclipse.papyrus.robotics.product</artifactId>
diff --git a/releng/org.eclipse.papyrus.robotics.product/.project b/releng/products/org.eclipse.papyrus.robotics.product.2020-06/.project
similarity index 100%
copy from releng/org.eclipse.papyrus.robotics.product/.project
copy to releng/products/org.eclipse.papyrus.robotics.product.2020-06/.project
diff --git a/releng/org.eclipse.papyrus.robotics.product/.settings/org.eclipse.core.resources.prefs b/releng/products/org.eclipse.papyrus.robotics.product.2020-06/.settings/org.eclipse.core.resources.prefs
similarity index 100%
copy from releng/org.eclipse.papyrus.robotics.product/.settings/org.eclipse.core.resources.prefs
copy to releng/products/org.eclipse.papyrus.robotics.product.2020-06/.settings/org.eclipse.core.resources.prefs
diff --git a/releng/org.eclipse.papyrus.robotics.product/.settings/org.eclipse.m2e.core.prefs b/releng/products/org.eclipse.papyrus.robotics.product.2020-06/.settings/org.eclipse.m2e.core.prefs
similarity index 100%
copy from releng/org.eclipse.papyrus.robotics.product/.settings/org.eclipse.m2e.core.prefs
copy to releng/products/org.eclipse.papyrus.robotics.product.2020-06/.settings/org.eclipse.m2e.core.prefs
diff --git a/releng/products/org.eclipse.papyrus.robotics.product.2020-06/p2.inf b/releng/products/org.eclipse.papyrus.robotics.product.2020-06/p2.inf
new file mode 100644
index 0000000..6bbece9
--- /dev/null
+++ b/releng/products/org.eclipse.papyrus.robotics.product.2020-06/p2.inf
@@ -0,0 +1,14 @@
+instructions.configure=\
+ addRepository(type:0,location:https${#58}//download.eclipse.org/releases/2020-06,name:2020-06);\
+ addRepository(type:1,location:https${#58}//download.eclipse.org/releases/2020-06,name:2020-06);\
+ addRepository(type:0,location:https${#58}//hudson.eclipse.org/papyrus/job/papyrus-robotics-2020-06/lastSuccessfulBuild/artifact/releng/org.eclipse.papyrus.robotics.p2/target/repository/,name:Papyrus for Robotics nightly);\
+ addRepository(type:1,location:https${#58}//hudson.eclipse.org/papyrus/job/papyrus-robotics-2020-06/lastSuccessfulBuild/artifact/releng/org.eclipse.papyrus.robotics.p2/target/repository/,name:Papyrus for Robotics nightly);\
+ addRepository(type:0,location:https${#58}//download.eclipse.org/modeling/mdt/papyrus/components/marte,name:MARTE);\
+ addRepository(type:1,location:https${#58}//download.eclipse.org/modeling/mdt/papyrus/components/marte,name:MARTE);\
+ addRepository(type:0,location:https${#58}//hudson.eclipse.org/papyrus/job/papyrus-designer-2020-06/lastSuccessfulBuild/artifact/releng/org.eclipse.papyrus.designer.p2/target/repository/,name:Designer);\
+ addRepository(type:1,location:https${#58}//hudson.eclipse.org/papyrus/job/papyrus-designer-2020-06/lastSuccessfulBuild/artifact/releng/org.eclipse.papyrus.designer.p2/target/repository/,name:Designer);\
+ addRepository(type:0,location:https${#58}//ci.eclipse.org/esf/job/esf-infra-nightly-build/lastSuccessfulBuild/artifact/p2/target/repository/,name:ESF infra);\
+ addRepository(type:1,location:https${#58}//ci.eclipse.org/esf/job/esf-infra-nightly-build/lastSuccessfulBuild/artifact/p2/target/repository/,name:ESF infra);\
+ addRepository(type:0,location:https${#58}//ci.eclipse.org/esf/job/esf-tools-nightly-build/lastSuccessfulBuild/artifact/p2/target/repository/,name:ESF tools);\
+ addRepository(type:1,location:https${#58}//ci.eclipse.org/esf/job/esf-tools-nightly-build/lastSuccessfulBuild/artifact/p2/target/repository/,name:ESF tools);
+
diff --git a/releng/org.eclipse.papyrus.robotics.product/papyrusRobotics.product b/releng/products/org.eclipse.papyrus.robotics.product.2020-06/papyrusRobotics.product
similarity index 100%
copy from releng/org.eclipse.papyrus.robotics.product/papyrusRobotics.product
copy to releng/products/org.eclipse.papyrus.robotics.product.2020-06/papyrusRobotics.product
diff --git a/releng/org.eclipse.papyrus.robotics.product/pom.xml b/releng/products/org.eclipse.papyrus.robotics.product.2020-06/pom.xml
similarity index 96%
copy from releng/org.eclipse.papyrus.robotics.product/pom.xml
copy to releng/products/org.eclipse.papyrus.robotics.product.2020-06/pom.xml
index b9efd31..65bc79c 100644
--- a/releng/org.eclipse.papyrus.robotics.product/pom.xml
+++ b/releng/products/org.eclipse.papyrus.robotics.product.2020-06/pom.xml
@@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.eclipse.papyrus.robotics</groupId>
- <artifactId>org.eclipse.papyrus.robotics.releng</artifactId>
+ <artifactId>org.eclipse.papyrus.robotics.products</artifactId>
<version>0.8.0-SNAPSHOT</version>
</parent>
<artifactId>org.eclipse.papyrus.robotics.product</artifactId>
diff --git a/releng/products/pom.xml b/releng/products/pom.xml
new file mode 100644
index 0000000..779f067
--- /dev/null
+++ b/releng/products/pom.xml
@@ -0,0 +1,37 @@
+<?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.papyrus.robotics</groupId>
+ <artifactId>org.eclipse.papyrus.robotics.releng</artifactId>
+ <version>0.8.0-SNAPSHOT</version>
+ </parent>
+ <artifactId>org.eclipse.papyrus.robotics.products</artifactId>
+ <packaging>pom</packaging>
+ <name>Robotics Target Platform</name>
+ <description>This module contains the different Eclipse product definitions.</description>
+ <profiles>
+ <profile>
+ <id>2020-06a</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ <modules>
+ <module>org.eclipse.papyrus.robotics.product.2020-06</module>
+ </modules>
+ </profile>
+ <profile>
+ <id>2019-12a</id>
+ <activation>
+ <property>
+ <name>eclipse.targetrelease</name>
+ <value>2019-12</value>
+ </property>
+ </activation>
+ <modules>
+ <module>org.eclipse.papyrus.robotics.product.2019-12</module>
+ </modules>
+ </profile>
+ </profiles>
+</project>