[Releng] Target for nightly builds
Change-Id: I667e947ea6a86456734309876c9bec616689c1de
Signed-off-by: Quentin Le Menez <quentin.lemenez@cea.fr>
diff --git a/cdo/pom.xml b/cdo/pom.xml
index aed75f6..8c624a4 100755
--- a/cdo/pom.xml
+++ b/cdo/pom.xml
@@ -18,16 +18,9 @@
<xtext.version>2.23.0</xtext.version>
<jacoco.version>0.8.6</jacoco.version>
<testConfig>CI_TESTS_CONFIG</testConfig>
- <test.argLine>-Xms512m -Xmx2048m -XX:SoftRefLRUPolicyMSPerMB=100
- </test.argLine>
+ <test.argLine>-Xms512m -Xmx2048m -XX:SoftRefLRUPolicyMSPerMB=100</test.argLine>
<java.release>11</java.release>
<mylyn.wikitext.version>3.0.29</mylyn.wikitext.version>
-
- <targetPlatform.groupID>org.eclipse.papyrus.cdo
- </targetPlatform.groupID>
- <targetPlatform.artifactID>org.eclipse.papyrus.cdo.targetplatform
- </targetPlatform.artifactID>
- <targetPlatform.version>1.2.0-SNAPSHOT</targetPlatform.version>
</properties>
@@ -44,8 +37,7 @@
<pluginRepository>
<id>org.eclipse.cbi.maven.plugins</id>
<name>Eclipse CBI</name>
- <url>https://repo.eclipse.org/content/repositories/cbi-releases/
- </url>
+ <url>https://repo.eclipse.org/content/repositories/cbi-releases/</url>
<releases>
<enabled>true</enabled>
</releases>
@@ -335,26 +327,35 @@
<profiles>
<profile>
- <id>eclipsehippIntegration</id>
+ <id>release</id>
<activation>
- <property>
- <name>HUDSON_URL</name>
- </property>
+ <activeByDefault>true</activeByDefault>
</activation>
<properties>
- <target.suffix>eclipse</target.suffix> <!-- set to 'eclipse' when building on HIPP, to improve performances -->
+ <targetPlatform.groupID>org.eclipse.papyrus.cdo</targetPlatform.groupID>
+ <targetPlatform.artifactID>org.eclipse.papyrus.cdo.targetplatform</targetPlatform.artifactID>
+ <targetPlatform.version>1.2.0-SNAPSHOT</targetPlatform.version>
</properties>
+ <modules>
+ <module>releng/targetplatforms/${targetPlatform.artifactID}</module>
+ </modules>
</profile>
<profile>
- <id>localIntegration</id>
+ <id>nightly</id>
<activation>
<property>
- <name>!HUDSON_URL</name>
+ <name>targetstream</name>
+ <value>nightly</value>
</property>
</activation>
<properties>
- <target.suffix>portable</target.suffix>
+ <targetPlatform.groupID>org.eclipse.papyrus.cdo</targetPlatform.groupID>
+ <targetPlatform.artifactID>org.eclipse.papyrus.cdo.nightly.targetplatform</targetPlatform.artifactID>
+ <targetPlatform.version>1.2.0-SNAPSHOT</targetPlatform.version>
</properties>
+ <modules>
+ <module>releng/targetplatforms/${targetPlatform.artifactID}</module>
+ </modules>
</profile>
<profile>
diff --git a/cdo/releng/pom.xml b/cdo/releng/pom.xml
index 4fd2539..ad3991c 100755
--- a/cdo/releng/pom.xml
+++ b/cdo/releng/pom.xml
@@ -17,7 +17,6 @@
<!-- Modules to build -->
<modules>
<module>org.eclipse.papyrus.cdo.p2</module>
- <module>targetplatforms</module>
</modules>
</project>
\ No newline at end of file
diff --git a/cdo/releng/targetplatforms/org.eclipse.papyrus.cdo.nightly.targetplatform/org.eclipse.papyrus.cdo.nightly.targetplatform.target b/cdo/releng/targetplatforms/org.eclipse.papyrus.cdo.nightly.targetplatform/org.eclipse.papyrus.cdo.nightly.targetplatform.target
new file mode 100755
index 0000000..90eecf5
--- /dev/null
+++ b/cdo/releng/targetplatforms/org.eclipse.papyrus.cdo.nightly.targetplatform/org.eclipse.papyrus.cdo.nightly.targetplatform.target
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<?pde?>
+<!-- generated with https://github.com/eclipse-cbi/targetplatform-dsl -->
+<target name="CollaborativeModeling CDO - Papyrus Nightly" sequenceNumber="1620202902">
+ <locations>
+ <location includeMode="planner" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="false" type="InstallableUnit">
+ <unit id="org.eclipse.papyrus.sdk.feature.feature.group" version="0.0.0"/>
+ <unit id="org.eclipse.papyrus.junit.utils" version="0.0.0"/>
+ <unit id="org.eclipse.papyrus.junit.framework" version="0.0.0"/>
+ <unit id="org.eclipse.papyrus.toolsmiths.feature.feature.group" version="0.0.0"/>
+ <repository id="papyrus" location="https://download.eclipse.org/modeling/mdt/papyrus/updates/nightly/master/"/>
+ </location>
+ <location includeMode="planner" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="false" type="InstallableUnit">
+ <unit id="org.eclipse.sdk.feature.group" version="0.0.0"/>
+ <unit id="org.eclipse.emf.sdk.feature.group" version="0.0.0"/>
+ <unit id="org.eclipse.uml2.sdk.feature.group" version="0.0.0"/>
+ <repository id="eclipse" location="https://download.eclipse.org/releases/latest/"/>
+ </location>
+ <location includeMode="planner" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="false" type="InstallableUnit">
+ <unit id="org.eclipse.emf.cdo.sdk.feature.group" version="0.0.0"/>
+ <unit id="org.eclipse.emf.cdo.dawn.feature.group" version="0.0.0"/>
+ <unit id="org.eclipse.emf.cdo.ecore" version="0.0.0"/>
+ <unit id="org.eclipse.emf.cdo.genmodel" version="0.0.0"/>
+ <unit id="org.eclipse.emf.cdo.gmf.notation" version="0.0.0"/>
+ <repository id="cdo" location="https://download.eclipse.org/modeling/emf/cdo/updates/integration/latest/"/>
+ </location>
+ </locations>
+</target>
diff --git a/cdo/releng/targetplatforms/org.eclipse.papyrus.cdo.nightly.targetplatform/org.eclipse.papyrus.cdo.nightly.targetplatform.tpd b/cdo/releng/targetplatforms/org.eclipse.papyrus.cdo.nightly.targetplatform/org.eclipse.papyrus.cdo.nightly.targetplatform.tpd
new file mode 100755
index 0000000..1df2e48
--- /dev/null
+++ b/cdo/releng/targetplatforms/org.eclipse.papyrus.cdo.nightly.targetplatform/org.eclipse.papyrus.cdo.nightly.targetplatform.tpd
@@ -0,0 +1,25 @@
+target "CollaborativeModeling CDO - Papyrus Nightly" with source requirements
+
+/** Manual dependencies */
+/* Papyrus Nightly */
+location "https://download.eclipse.org/modeling/mdt/papyrus/updates/nightly/master/" papyrus {
+ org.eclipse.papyrus.sdk.feature.feature.group lazy
+ org.eclipse.papyrus.junit.utils lazy
+ org.eclipse.papyrus.junit.framework lazy
+ org.eclipse.papyrus.toolsmiths.feature.feature.group lazy
+}
+
+location "https://download.eclipse.org/releases/latest/" eclipse {
+ org.eclipse.sdk.feature.group lazy
+ org.eclipse.emf.sdk.feature.group lazy
+ org.eclipse.uml2.sdk.feature.group lazy
+}
+
+// manual update
+location cdo "https://download.eclipse.org/modeling/emf/cdo/updates/integration/latest/" {
+ org.eclipse.emf.cdo.sdk.feature.group lazy
+ org.eclipse.emf.cdo.dawn.feature.group lazy
+ org.eclipse.emf.cdo.ecore lazy
+ org.eclipse.emf.cdo.genmodel lazy
+ org.eclipse.emf.cdo.gmf.notation lazy
+}
diff --git a/cdo/releng/targetplatforms/org.eclipse.papyrus.cdo.nightly.targetplatform/pom.xml b/cdo/releng/targetplatforms/org.eclipse.papyrus.cdo.nightly.targetplatform/pom.xml
new file mode 100755
index 0000000..f483e7e
--- /dev/null
+++ b/cdo/releng/targetplatforms/org.eclipse.papyrus.cdo.nightly.targetplatform/pom.xml
@@ -0,0 +1,14 @@
+<?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.cdo</groupId>
+ <artifactId>org.eclipse.papyrus.cdo-targetplatforms</artifactId>
+ <version>1.2.0-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>org.eclipse.papyrus.cdo.nightly.targetplatform</artifactId>
+ <packaging>eclipse-target-definition</packaging>
+
+</project>
\ No newline at end of file
diff --git a/cdo/releng/targetplatforms/org.eclipse.papyrus.cdo.targetplatform/org.eclipse.papyrus.cdo.targetplatform.target b/cdo/releng/targetplatforms/org.eclipse.papyrus.cdo.targetplatform/org.eclipse.papyrus.cdo.targetplatform.target
index df68cbc..5daea4e 100755
--- a/cdo/releng/targetplatforms/org.eclipse.papyrus.cdo.targetplatform/org.eclipse.papyrus.cdo.targetplatform.target
+++ b/cdo/releng/targetplatforms/org.eclipse.papyrus.cdo.targetplatform/org.eclipse.papyrus.cdo.targetplatform.target
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?pde?>
<!-- generated with https://github.com/eclipse-cbi/targetplatform-dsl -->
-<target name="CollaborativeModeling CDO - Papyrus Nightly" sequenceNumber="1620135709">
+<target name="CollaborativeModeling CDO - Papyrus latest release" sequenceNumber="1620202942">
<locations>
<location includeMode="planner" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="false" type="InstallableUnit">
<unit id="org.eclipse.papyrus.sdk.feature.feature.group" version="0.0.0"/>
diff --git a/cdo/releng/targetplatforms/org.eclipse.papyrus.cdo.targetplatform/org.eclipse.papyrus.cdo.targetplatform.tpd b/cdo/releng/targetplatforms/org.eclipse.papyrus.cdo.targetplatform/org.eclipse.papyrus.cdo.targetplatform.tpd
index 87f0bf4..e867ee2 100755
--- a/cdo/releng/targetplatforms/org.eclipse.papyrus.cdo.targetplatform/org.eclipse.papyrus.cdo.targetplatform.tpd
+++ b/cdo/releng/targetplatforms/org.eclipse.papyrus.cdo.targetplatform/org.eclipse.papyrus.cdo.targetplatform.tpd
@@ -1,4 +1,4 @@
-target "CollaborativeModeling CDO - Papyrus Nightly" with source requirements
+target "CollaborativeModeling CDO - Papyrus latest release" with source requirements
/** Manual dependencies */
/* Papyrus Nightly */
diff --git a/cdo/releng/targetplatforms/pom.xml b/cdo/releng/targetplatforms/pom.xml
index 763fde5..cda2cfa 100755
--- a/cdo/releng/targetplatforms/pom.xml
+++ b/cdo/releng/targetplatforms/pom.xml
@@ -1,18 +1,16 @@
<?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">
+<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.cdo</groupId>
- <artifactId>org.eclipse.papyrus.cdo-releng</artifactId>
+ <artifactId>org.eclipse.papyrus.cdo-releng</artifactId>
<version>1.2.0-SNAPSHOT</version>
</parent>
-
+
<artifactId>org.eclipse.papyrus.cdo-targetplatforms</artifactId>
<packaging>pom</packaging>
-
- <modules>
- <module>org.eclipse.papyrus.cdo.targetplatform</module>
- </modules>
-
+
</project>
\ No newline at end of file