[build] Setup Oxygen target platform and discovery catalog

Adapt the modeling plugin code to load the catalog from an "oxygen"
folder.

Change-Id: If0e8d6bda5e4ece919c6f3ae883c066d26370e18
diff --git a/plugins/org.eclipse.amalgam.discovery.modeling/src/org/eclipse/amalgam/discovery/modeling/handlers/ModelingPackageDiscovery.java b/plugins/org.eclipse.amalgam.discovery.modeling/src/org/eclipse/amalgam/discovery/modeling/handlers/ModelingPackageDiscovery.java
index 330ec14..0cda469 100644
--- a/plugins/org.eclipse.amalgam.discovery.modeling/src/org/eclipse/amalgam/discovery/modeling/handlers/ModelingPackageDiscovery.java
+++ b/plugins/org.eclipse.amalgam.discovery.modeling/src/org/eclipse/amalgam/discovery/modeling/handlers/ModelingPackageDiscovery.java
@@ -35,7 +35,7 @@
 
 public class ModelingPackageDiscovery extends DiscoveryContentProvider {
 
-	private static final String CATALOG_URI = "http://www.eclipse.org/modeling/amalgam/downloads/discovery/neon/modeling.xmi";
+	private static final String CATALOG_URI = "http://www.eclipse.org/modeling/amalgam/downloads/discovery/oxygen/modeling.xmi";
 
 	@Override
 	public DiscoveryDefinition load(final IProgressMonitor monitor)
diff --git a/releng/org.eclipse.amalgam.releng/target_platforms/oxygen.target b/releng/org.eclipse.amalgam.releng/target_platforms/oxygen.target
new file mode 100644
index 0000000..84599b8
--- /dev/null
+++ b/releng/org.eclipse.amalgam.releng/target_platforms/oxygen.target
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<?pde?>
+<!-- generated with https://github.com/mbarbero/fr.obeo.releng.targetplatform -->
+<target name="neon" sequenceNumber="1494834963">
+  <locations>
+    <location includeMode="planner" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="false" type="InstallableUnit">
+      <unit id="org.eclipse.platform.feature.group" version="0.0.0"/>
+      <unit id="org.eclipse.emf.sdk.feature.group" version="0.0.0"/>
+      <unit id="org.eclipse.gmf.feature.group" version="0.0.0"/>
+      <unit id="org.junit" version="0.0.0"/>
+      <repository location="http://download.eclipse.org/releases/oxygen"/>
+    </location>
+    <location includeMode="planner" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="false" type="InstallableUnit">
+      <unit id="org.eclipse.sirius.runtime.feature.group" version="0.0.0"/>
+      <unit id="org.eclipse.sirius.runtime.ide.ui.feature.group" version="0.0.0"/>
+      <repository location="http://download.eclipse.org/sirius/updates/nightly/5.0.x/oxygen"/>
+    </location>
+    <location includeMode="planner" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="false" type="InstallableUnit">
+      <unit id="org.eclipse.license.feature.group" version="0.0.0"/>
+      <repository location="http://download.eclipse.org/cbi/updates/license"/>
+    </location>
+  </locations>
+</target>
diff --git a/releng/org.eclipse.amalgam.releng/target_platforms/oxygen.targetplatform b/releng/org.eclipse.amalgam.releng/target_platforms/oxygen.targetplatform
new file mode 100644
index 0000000..49f5273
--- /dev/null
+++ b/releng/org.eclipse.amalgam.releng/target_platforms/oxygen.targetplatform
@@ -0,0 +1,17 @@
+target "neon" with source, requirements
+
+location "http://download.eclipse.org/releases/oxygen" {
+	org.eclipse.platform.feature.group lazy
+	org.eclipse.emf.sdk.feature.group lazy
+	org.eclipse.gmf.feature.group lazy
+	org.junit lazy
+}
+
+location "http://download.eclipse.org/sirius/updates/nightly/5.0.x/oxygen" {
+	org.eclipse.sirius.runtime.feature.group lazy
+	org.eclipse.sirius.runtime.ide.ui.feature.group lazy
+}
+
+location "http://download.eclipse.org/cbi/updates/license" {
+	org.eclipse.license.feature.group lazy
+}