Update Target Platform definitions

Change-Id: I338c4af6541356eb43e2e0975769ae19e437fad9
diff --git a/org.eclipse.emf.ecoretools.build/oxygen.target b/org.eclipse.emf.ecoretools.build/oxygen.target
new file mode 100644
index 0000000..92f1521
--- /dev/null
+++ b/org.eclipse.emf.ecoretools.build/oxygen.target
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<?pde?>
+<!-- generated with https://github.com/mbarbero/fr.obeo.releng.targetplatform -->
+<target name="Oxygen Target Platform For EcoreTools" sequenceNumber="1472473428">
+  <locations>
+    <location includeMode="planner" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="false" type="InstallableUnit">
+      <unit id="org.eclipse.sirius.runtime.aql.feature.group" version="0.0.0"/>
+      <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"/>
+      <unit id="org.eclipse.sirius.runtime.ide.eef.feature.group" version="0.0.0"/>
+      <repository location="http://download.eclipse.org/sirius/updates/nightly/4.1.x/neon"/>
+    </location>
+    <location includeMode="planner" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="false" type="InstallableUnit">
+      <unit id="org.eclipse.acceleo.query.feature.group" version="0.0.0"/>
+      <repository id="Acceleo" location="http://download.eclipse.org/acceleo/updates/nightly/latest"/>
+    </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.gmf.runtime.diagram.ui" version="0.0.0"/>
+      <unit id="org.eclipse.gmf.runtime.diagram.ui.resources.editor" version="0.0.0"/>
+      <repository location="http://download.eclipse.org/releases/neon"/>
+    </location>
+    <location includeMode="planner" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="false" type="InstallableUnit">
+      <unit id="org.eclipse.amalgam.explorer.contextual.feature.group" version="0.0.0"/>
+      <repository location="http://download.eclipse.org/modeling/amalgam/updates/nightly/1.7.x/neon/"/>
+    </location>
+  </locations>
+</target>
diff --git a/org.eclipse.emf.ecoretools.build/oxygen.tpd b/org.eclipse.emf.ecoretools.build/oxygen.tpd
new file mode 100644
index 0000000..ed86159
--- /dev/null
+++ b/org.eclipse.emf.ecoretools.build/oxygen.tpd
@@ -0,0 +1,20 @@
+target "Oxygen Target Platform For EcoreTools" with source requirements
+location "http://download.eclipse.org/sirius/updates/nightly/4.1.x/neon" {
+	org.eclipse.sirius.runtime.aql.feature.group lazy
+	org.eclipse.sirius.runtime.feature.group lazy
+	org.eclipse.sirius.runtime.ide.ui.feature.group lazy
+	org.eclipse.sirius.runtime.ide.eef.feature.group lazy
+}
+
+location "http://download.eclipse.org/acceleo/updates/nightly/latest" Acceleo {
+	org.eclipse.acceleo.query.feature.group lazy
+}
+location "http://download.eclipse.org/releases/neon" {
+	org.eclipse.sdk.feature.group lazy
+	org.eclipse.emf.sdk.feature.group lazy
+	org.eclipse.gmf.runtime.diagram.ui lazy
+	org.eclipse.gmf.runtime.diagram.ui.resources.editor lazy
+}
+location "http://download.eclipse.org/modeling/amalgam/updates/nightly/1.7.x/neon/" {
+	org.eclipse.amalgam.explorer.contextual.feature.group lazy
+}
\ No newline at end of file
diff --git a/org.eclipse.emf.ecoretools.build/pom.xml b/org.eclipse.emf.ecoretools.build/pom.xml
index e7fbf35..fd4858f 100644
--- a/org.eclipse.emf.ecoretools.build/pom.xml
+++ b/org.eclipse.emf.ecoretools.build/pom.xml
@@ -181,11 +181,34 @@
         </pluginManagement>
     </build>
 
-    <profiles> 
+    <profiles>
+       <profile>
+            <id>oxygen</id>
+            <activation>
+                <activeByDefault>true</activeByDefault>
+            </activation>
+            <repositories>    
+                <repository><id>cbi</id><layout>p2</layout>
+                    <url>http://download.eclipse.org/cbi/updates/license</url>
+                </repository>
+                <repository><id>sirius</id><layout>p2</layout>
+                    <url>http://download.eclipse.org/sirius/updates/nightly/4.1.x/neon</url>
+                </repository>
+                 <repository><id>acceleo for AQL</id><layout>p2</layout>
+                     <url>http://download.eclipse.org/acceleo/updates/nightly/latest</url>
+                </repository>
+                <repository><id>amalgam</id><layout>p2</layout>
+                    <url>http://download.eclipse.org/modeling/amalgam/updates/nightly/1.7.x/mars/</url>
+                </repository>
+                <repository><id>rest-of-the-world</id><layout>p2</layout>
+                    <url>http://download.eclipse.org/releases/neon</url>
+                </repository>
+            </repositories>    
+        </profile> 
         <profile>
             <id>neon</id>
             <activation>
-                <activeByDefault>true</activeByDefault>
+                <activeByDefault>false</activeByDefault>
             </activation>
             <repositories>    
                 <repository><id>cbi</id><layout>p2</layout>
@@ -195,13 +218,13 @@
                     <url>http://download.eclipse.org/sirius/updates/nightly/4.0.x/neon</url>
                 </repository>
                  <repository><id>acceleo for AQL</id><layout>p2</layout>
-                     <url>http://download.eclipse.org/acceleo/updates/milestones/3.6</url>
+                     <url>http://download.eclipse.org/acceleo/updates/nightly/latest</url>
                 </repository>
                 <repository><id>amalgam</id><layout>p2</layout>
                     <url>http://download.eclipse.org/modeling/amalgam/updates/nightly/1.7.x/mars/</url>
                 </repository>
                 <repository><id>rest-of-the-world</id><layout>p2</layout>
-                    <url>http://download.eclipse.org/staging/neon</url>
+                    <url>http://download.eclipse.org/releases/neon</url>
                 </repository>
             </repositories>    
         </profile>