Target platforms for 2021-09 and 2021-12

Change-Id: I75e6c26af3b9f1de24caa33dc75cb189bea84084
Signed-off-by: Aparna Argade <aprsac@yahoo.com>
diff --git a/devtools/oomph/SWTBot.setup b/devtools/oomph/SWTBot.setup
index 25d06f4..fdb543f 100644
--- a/devtools/oomph/SWTBot.setup
+++ b/devtools/oomph/SWTBot.setup
@@ -58,7 +58,7 @@
   <setupTask
       xsi:type="setup:VariableTask"
       name="eclipse.target.platform"
-      defaultValue="2021-06"
+      defaultValue="2021-12"
       storageURI="scope://Workspace"/>
   <setupTask
       xsi:type="setup:CompoundTask"
@@ -255,7 +255,29 @@
       <sourceLocator
           rootFolder="${git.clone.location}"
           locateNestedProjects="true"/>
-      <repositoryList
+        <repositoryList
+          name="2021-12">
+        <repository
+            url="http://download.eclipse.org/releases/2021-12"/>
+        <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="2021-09">
+        <repository
+            url="http://download.eclipse.org/releases/2021-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="2021-06">
         <repository
             url="http://download.eclipse.org/releases/2021-06"/>
diff --git a/devtools/target-platforms/2021-09/.project b/devtools/target-platforms/2021-09/.project
new file mode 100644
index 0000000..43ca2a4
--- /dev/null
+++ b/devtools/target-platforms/2021-09/.project
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>2021-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/2021-09/.settings/org.eclipse.m2e.core.prefs b/devtools/target-platforms/2021-09/.settings/org.eclipse.m2e.core.prefs
new file mode 100644
index 0000000..f897a7f
--- /dev/null
+++ b/devtools/target-platforms/2021-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/2021-09/2021-09.target b/devtools/target-platforms/2021-09/2021-09.target
new file mode 100644
index 0000000..438f8d6
--- /dev/null
+++ b/devtools/target-platforms/2021-09/2021-09.target
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<?pde version="3.8"?><target name="Eclipse 2021-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="https://download.eclipse.org/releases/2021-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="https://download.eclipse.org/tools/orbit/downloads/drops/R20210825222808/repository/"/>
+</location>
+<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
+<unit id="org.eclipse.license.feature.group" version="2.0.2.v20181016-2210"/>
+<repository location="https://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"/>
+<unit id="org.eclipse.nebula.widgets.opal.checkboxgroup.feature.feature.group" version="0.0.0"/>
+<unit id="org.eclipse.nebula.widgets.stepbar.feature.feature.group" version="0.0.0"/>
+<unit id="org.eclipse.nebula.widgets.opal.rangeslider.feature.feature.group" version="0.0.0"/>
+<repository location="https://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="https://download.eclipse.org/nattable/snapshots/latest/repository"/>
+</location>
+</locations>
+<targetJRE path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11"/>
+<launcherArgs>
+<vmArgs>-Xms128m -Xmx1024m</vmArgs>
+</launcherArgs>
+</target>
diff --git a/devtools/target-platforms/2021-09/pom.xml b/devtools/target-platforms/2021-09/pom.xml
new file mode 100644
index 0000000..133a636
--- /dev/null
+++ b/devtools/target-platforms/2021-09/pom.xml
@@ -0,0 +1,26 @@
+<!-- Copyright (c) 2012, 2021 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 2.0 which accompanies this distribution,
+and is available at https://www.eclipse.org/legal/epl-2.0/
+
+SPDX-License-Identifier: EPL-2.0
+
+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>2021-09</artifactId>
+  <packaging>eclipse-target-definition</packaging>
+  <parent>
+    <groupId>org.eclipse.swtbot</groupId>
+    <artifactId>target-platforms</artifactId>
+    <version>3.2.0-SNAPSHOT</version>
+  </parent>
+</project>
diff --git a/devtools/target-platforms/2021-12/.project b/devtools/target-platforms/2021-12/.project
new file mode 100644
index 0000000..6994afb
--- /dev/null
+++ b/devtools/target-platforms/2021-12/.project
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>2021-12</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/2021-12/.settings/org.eclipse.m2e.core.prefs b/devtools/target-platforms/2021-12/.settings/org.eclipse.m2e.core.prefs
new file mode 100644
index 0000000..f897a7f
--- /dev/null
+++ b/devtools/target-platforms/2021-12/.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/2021-12/2021-12.target b/devtools/target-platforms/2021-12/2021-12.target
new file mode 100644
index 0000000..c2bed61
--- /dev/null
+++ b/devtools/target-platforms/2021-12/2021-12.target
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<?pde version="3.8"?><target name="Eclipse 2021-12 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="https://download.eclipse.org/releases/2021-12"/>
+</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="https://download.eclipse.org/tools/orbit/downloads/drops/R20211213173813/repository/"/>
+</location>
+<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
+<unit id="org.eclipse.license.feature.group" version="2.0.2.v20181016-2210"/>
+<repository location="https://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"/>
+<unit id="org.eclipse.nebula.widgets.opal.checkboxgroup.feature.feature.group" version="0.0.0"/>
+<unit id="org.eclipse.nebula.widgets.stepbar.feature.feature.group" version="0.0.0"/>
+<unit id="org.eclipse.nebula.widgets.opal.rangeslider.feature.feature.group" version="0.0.0"/>
+<repository location="https://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="https://download.eclipse.org/nattable/snapshots/latest/repository"/>
+</location>
+</locations>
+<targetJRE path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11"/>
+<launcherArgs>
+<vmArgs>-Xms128m -Xmx1024m</vmArgs>
+</launcherArgs>
+</target>
diff --git a/devtools/target-platforms/2021-12/pom.xml b/devtools/target-platforms/2021-12/pom.xml
new file mode 100644
index 0000000..c808c27
--- /dev/null
+++ b/devtools/target-platforms/2021-12/pom.xml
@@ -0,0 +1,26 @@
+<!-- Copyright (c) 2012, 2021 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 2.0 which accompanies this distribution,
+and is available at https://www.eclipse.org/legal/epl-2.0/
+
+SPDX-License-Identifier: EPL-2.0
+
+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>2021-12</artifactId>
+  <packaging>eclipse-target-definition</packaging>
+  <parent>
+    <groupId>org.eclipse.swtbot</groupId>
+    <artifactId>target-platforms</artifactId>
+    <version>3.2.0-SNAPSHOT</version>
+  </parent>
+</project>
diff --git a/devtools/target-platforms/pom.xml b/devtools/target-platforms/pom.xml
index 2e4ca68..ea31913 100644
--- a/devtools/target-platforms/pom.xml
+++ b/devtools/target-platforms/pom.xml
@@ -26,6 +26,8 @@
   </parent>
 
   <modules>
+	<module>2021-12</module>
+	<module>2021-09</module>
     <module>2021-06</module>
     <module>2021-03</module>
     <module>2020-12</module>
diff --git a/devtools/target-platforms/swtbot-baseline.target b/devtools/target-platforms/swtbot-baseline.target
index ccd386a..ed5b6be 100644
--- a/devtools/target-platforms/swtbot-baseline.target
+++ b/devtools/target-platforms/swtbot-baseline.target
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<?pde version="3.8"?><target name="swtbot-baseline" sequenceNumber="14">
+<?pde version="3.8"?><target name="swtbot-baseline" sequenceNumber="15">
 <locations>
 <location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
 <unit id="org.eclipse.swtbot.feature.group" version="0.0.0"/>
@@ -17,7 +17,7 @@
 <repository location="https://download.eclipse.org/technology/swtbot/releases/latest/"/>
 </location>
 <location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="slicer" includeSource="true" type="InstallableUnit">
-<repository location="https://download.eclipse.org/releases/2021-06"/>
+<repository location="https://download.eclipse.org/releases/2021-12"/>
 </location>
 </locations>
 </target>
diff --git a/pom.xml b/pom.xml
index 4ec4bba..775c259 100644
--- a/pom.xml
+++ b/pom.xml
@@ -803,7 +803,7 @@
 		<profile>
 			<id>2021-06</id>
 			<activation>
-				<activeByDefault>true</activeByDefault>
+				<activeByDefault>false</activeByDefault>
 			</activation>
 			<build>
 				<plugins>
@@ -824,5 +824,53 @@
 				</plugins>
 			</build>
 		</profile>
+		<profile>
+			<id>2021-09</id>
+			<activation>
+				<activeByDefault>false</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>2021-09</artifactId>
+									<version>3.2.0-SNAPSHOT</version>
+								</artifact>
+							</target>
+						</configuration>
+					</plugin>
+				</plugins>
+			</build>
+		</profile>
+		<profile>
+			<id>2021-12</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>2021-12</artifactId>
+									<version>3.2.0-SNAPSHOT</version>
+								</artifact>
+							</target>
+						</configuration>
+					</plugin>
+				</plugins>
+			</build>
+		</profile>
 	</profiles>
 </project>