Target Platform for 2018-09

Change-Id: Ib022fcdbeaffbdb2665d90cb4b48e0a63ed773b4
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
diff --git a/devtools/oomph/SWTBot.setup b/devtools/oomph/SWTBot.setup
index 7658e67..cbdecf6 100644
--- a/devtools/oomph/SWTBot.setup
+++ b/devtools/oomph/SWTBot.setup
@@ -46,7 +46,7 @@
   <setupTask
       xsi:type="setup:VariableTask"
       name="eclipse.target.platform"
-      defaultValue="Photon"
+      defaultValue="2018-09"
       storageURI="scope://Workspace"/>
   <setupTask
       xsi:type="setup:CompoundTask"
@@ -238,6 +238,17 @@
           rootFolder="${git.clone.location}"
           locateNestedProjects="true"/>
       <repositoryList
+          name="2018-09">
+        <repository
+            url="http://download.eclipse.org/releases/2018-09"/>
+        <repository
+            url="http://download.eclipse.org/cbi/updates/license"/>
+        <repository
+            url="http://download.eclipse.org/nebula/snapshot/"/>
+        <repository
+            url="http://download.eclipse.org/nattable/snapshots/latest/repository/"/>
+      </repositoryList>
+      <repositoryList
           name="Photon">
         <repository
             url="http://download.eclipse.org/releases/photon"/>
diff --git a/devtools/target-platforms/2018-09/.project b/devtools/target-platforms/2018-09/.project
new file mode 100644
index 0000000..3bcbfed
--- /dev/null
+++ b/devtools/target-platforms/2018-09/.project
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>2018-09</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>org.eclipse.m2e.core.maven2Builder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>org.eclipse.m2e.core.maven2Nature</nature>
+	</natures>
+</projectDescription>
diff --git a/devtools/target-platforms/2018-09/.settings/org.eclipse.m2e.core.prefs b/devtools/target-platforms/2018-09/.settings/org.eclipse.m2e.core.prefs
new file mode 100644
index 0000000..f897a7f
--- /dev/null
+++ b/devtools/target-platforms/2018-09/.settings/org.eclipse.m2e.core.prefs
@@ -0,0 +1,4 @@
+activeProfiles=
+eclipse.preferences.version=1
+resolveWorkspaceProjects=true
+version=1
diff --git a/devtools/target-platforms/2018-09/2018-09.target b/devtools/target-platforms/2018-09/2018-09.target
new file mode 100644
index 0000000..0867156
--- /dev/null
+++ b/devtools/target-platforms/2018-09/2018-09.target
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<?pde version="3.8"?><target name="Eclipse 2018-09 via p2" sequenceNumber="1">
+<locations>
+<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
+<unit id="org.eclipse.platform.ide" version="0.0.0"/>
+<unit id="org.eclipse.emf.feature.group" version="0.0.0"/>
+<unit id="org.eclipse.draw2d.feature.group" version="0.0.0"/>
+<unit id="org.eclipse.gef.feature.group" version="0.0.0"/>
+<unit id="org.eclipse.jdt.feature.group" version="0.0.0"/>
+<unit id="org.eclipse.pde.feature.group" version="0.0.0"/>
+<repository location="http://download.eclipse.org/releases/2018-09"/>
+</location>
+<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
+<unit id="org.apache.log4j" version="1.2.15.v201012070815"/>
+<unit id="org.apache.log4j.source" version="1.2.15.v201012070815"/>
+<unit id="org.junit" version="4.12.0.v201504281640"/>
+<unit id="com.thoughtworks.qdox" version="1.6.3.v20081201-1400"/>
+<unit id="javax.inject" version="1.0.0.v20091030"/>
+<unit id="org.hamcrest.library" version="1.3.0.v20180524-2246"/>
+<unit id="org.hamcrest.library.source" version="1.3.0.v20180524-2246"/>
+<unit id="org.hamcrest.core" version="1.3.0.v20180420-1519"/>
+<unit id="org.hamcrest.core.source" version="1.3.0.v20180420-1519"/>
+<unit id="ca.odell.glazedlists" version="0.0.0"/>
+<repository location="http://download.eclipse.org/tools/orbit/downloads/drops/R20180905201904/repository/"/>
+</location>
+<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
+<unit id="org.eclipse.license.feature.group" version="1.0.1.v20140414-1359"/>
+<repository location="http://download.eclipse.org/cbi/updates/license"/>
+</location>
+<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
+<unit id="org.eclipse.nebula.widgets.gallery.feature.feature.group" version="0.0.0"/>
+<repository location="http://download.eclipse.org/nebula/snapshot/"/>
+</location>
+<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
+<unit id="org.eclipse.nebula.widgets.nattable.core.feature.feature.group" version="0.0.0"/>
+<unit id="org.eclipse.nebula.widgets.nattable.extension.glazedlists.feature.feature.group" version="0.0.0"/>
+<repository location="http://download.eclipse.org/nattable/snapshots/latest/repository"/>
+</location>
+</locations>
+<launcherArgs>
+<vmArgs>-Dosgi.requiredJavaVersion=1.5 -XX:MaxPermSize=256m -Xms128m -Xmx1024m</vmArgs>
+</launcherArgs>
+</target>
diff --git a/devtools/target-platforms/2018-09/pom.xml b/devtools/target-platforms/2018-09/pom.xml
new file mode 100644
index 0000000..dae9608
--- /dev/null
+++ b/devtools/target-platforms/2018-09/pom.xml
@@ -0,0 +1,24 @@
+<!-- Copyright (c) 2012, 2019 Red Hat Inc. and others.
+All rights reserved.
+This program and the accompanying materials are made available under the
+terms of the Eclipse Public License v1.0 which accompanies this distribution,
+and is available at http://www.eclipse.org/legal/epl-v10.html
+
+Authors:
+* Lorenzo Bettini
+-->
+<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>
+
+  <groupId>org.eclipse.swtbot.target-platforms</groupId>
+  <artifactId>2018-09</artifactId>
+  <packaging>eclipse-target-definition</packaging>
+  <parent>
+    <groupId>org.eclipse.swtbot</groupId>
+    <artifactId>target-platforms</artifactId>
+    <version>2.8.0-SNAPSHOT</version>
+  </parent>
+</project>
diff --git a/devtools/target-platforms/pom.xml b/devtools/target-platforms/pom.xml
index fb87c61..4a4d4f8 100644
--- a/devtools/target-platforms/pom.xml
+++ b/devtools/target-platforms/pom.xml
@@ -1,4 +1,4 @@
-<!-- Copyright (c) 2012, 2018 Red Hat Inc. and others.
+<!-- Copyright (c) 2012, 2019 Red Hat Inc. and others.
 All rights reserved.
 This program and the accompanying materials are made available under the
 terms of the Eclipse Public License v1.0 which accompanies this distribution,
@@ -24,6 +24,7 @@
   </parent>
 
   <modules>
+    <module>2018-09</module>
     <module>photon</module>
     <module>oxygen</module>
     <module>neon</module>
diff --git a/pom.xml b/pom.xml
index 813d1f2..9a67ff0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,4 +1,4 @@
-<!-- Copyright (c) 2011, 2018 PetalsLink, Red Hat Inc. and others.
+<!-- Copyright (c) 2011, 2019 PetalsLink, Red Hat Inc. and others.
  All rights reserved. This program and the accompanying materials
  are made available under the terms of the Eclipse Public License
  v1.0 which accompanies this distribution, and is available at
@@ -495,7 +495,7 @@
 		<profile>
 			<id>photon</id>
 			<activation>
-				<activeByDefault>true</activeByDefault>
+				<activeByDefault>false</activeByDefault>
 			</activation>
 			<build>
 				<plugins>
@@ -516,5 +516,29 @@
 				</plugins>
 			</build>
 		</profile>
+		<profile>
+			<id>2018-09</id>
+			<activation>
+				<activeByDefault>true</activeByDefault>
+			</activation>
+			<build>
+				<plugins>
+					<plugin>
+						<groupId>org.eclipse.tycho</groupId>
+						<artifactId>target-platform-configuration</artifactId>
+						<version>${tycho-version}</version>
+						<configuration>
+							<target>
+								<artifact>
+									<groupId>org.eclipse.swtbot.target-platforms</groupId>
+									<artifactId>2018-09</artifactId>
+									<version>2.8.0-SNAPSHOT</version>
+								</artifact>
+							</target>
+						</configuration>
+					</plugin>
+				</plugins>
+			</build>
+		</profile>
 	</profiles>
 </project>