Bug 580150 - Upgrade latest target to 2022-06
diff --git a/org.eclipse.handly.examples.adapter/example.target b/org.eclipse.handly.examples.adapter/example.target
index 6feeaa3..afcbda8 100644
--- a/org.eclipse.handly.examples.adapter/example.target
+++ b/org.eclipse.handly.examples.adapter/example.target
@@ -15,7 +15,7 @@
 <target name="Adapter Example">
 <locations>
 <location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
-<repository location="http://download.eclipse.org/releases/2022-03"/>
+<repository location="http://download.eclipse.org/releases/2022-06"/>
 <unit id="org.eclipse.sdk.feature.group" version="0.0.0"/>
 </location>
 <location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
diff --git a/org.eclipse.handly.examples.basic/example.p2f b/org.eclipse.handly.examples.basic/example.p2f
index f7c5ca6..0d528b0 100644
--- a/org.eclipse.handly.examples.basic/example.p2f
+++ b/org.eclipse.handly.examples.basic/example.p2f
@@ -16,7 +16,7 @@
   <ius size='1'>
     <iu id='org.eclipse.xtext.sdk.feature.group'>
       <repositories size='1'>
-        <repository location='http://download.eclipse.org/releases/2022-03'/>
+        <repository location='http://download.eclipse.org/releases/2022-06'/>
       </repositories>
     </iu>
   </ius>
diff --git a/org.eclipse.handly.examples.basic/example.target b/org.eclipse.handly.examples.basic/example.target
index 54454f2..c1023d7 100644
--- a/org.eclipse.handly.examples.basic/example.target
+++ b/org.eclipse.handly.examples.basic/example.target
@@ -15,7 +15,7 @@
 <target name="Basic Example">
 <locations>
 <location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
-<repository location="http://download.eclipse.org/releases/2022-03"/>
+<repository location="http://download.eclipse.org/releases/2022-06"/>
 <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.xtext.sdk.feature.group" version="0.0.0"/>
diff --git a/org.eclipse.handly.examples.jmodel/example.target b/org.eclipse.handly.examples.jmodel/example.target
index 80cd040..4feddca 100644
--- a/org.eclipse.handly.examples.jmodel/example.target
+++ b/org.eclipse.handly.examples.jmodel/example.target
@@ -15,7 +15,7 @@
 <target name="JModel Example">
 <locations>
 <location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
-<repository location="http://download.eclipse.org/releases/2022-03"/>
+<repository location="http://download.eclipse.org/releases/2022-06"/>
 <unit id="org.eclipse.sdk.feature.group" version="0.0.0"/>
 </location>
 <location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
diff --git a/org.eclipse.handly.examples.xtext.xtext.ui/example.p2f b/org.eclipse.handly.examples.xtext.xtext.ui/example.p2f
index 9138e8e..0de418b 100644
--- a/org.eclipse.handly.examples.xtext.xtext.ui/example.p2f
+++ b/org.eclipse.handly.examples.xtext.xtext.ui/example.p2f
@@ -16,7 +16,7 @@
   <ius size='1'>
     <iu id='org.eclipse.xtext.sdk.feature.group'>
       <repositories size='1'>
-        <repository location='http://download.eclipse.org/releases/2022-03'/>
+        <repository location='http://download.eclipse.org/releases/2022-06'/>
       </repositories>
     </iu>
   </ius>
diff --git a/org.eclipse.handly.examples.xtext.xtext.ui/example.target b/org.eclipse.handly.examples.xtext.xtext.ui/example.target
index e6e8089..777a4f4 100644
--- a/org.eclipse.handly.examples.xtext.xtext.ui/example.target
+++ b/org.eclipse.handly.examples.xtext.xtext.ui/example.target
@@ -15,7 +15,7 @@
 <target name="Xtext-Xtext Example">
 <locations>
 <location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
-<repository location="http://download.eclipse.org/releases/2022-03"/>
+<repository location="http://download.eclipse.org/releases/2022-06"/>
 <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.xtext.sdk.feature.group" version="0.0.0"/>
diff --git a/org.eclipse.handly.xtext.ui/META-INF/MANIFEST.MF b/org.eclipse.handly.xtext.ui/META-INF/MANIFEST.MF
index 2f1d9e2..ccf904c 100644
--- a/org.eclipse.handly.xtext.ui/META-INF/MANIFEST.MF
+++ b/org.eclipse.handly.xtext.ui/META-INF/MANIFEST.MF
@@ -12,8 +12,8 @@
 Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.15.0,4.0.0)",
  org.eclipse.handly;bundle-version="[1.7.0,2.0.0)",
  org.eclipse.handly.ui;bundle-version="[1.7.0,2.0.0)",
- org.eclipse.xtext.ui;bundle-version="[2.16.0,2.27.0)",
- org.eclipse.xtext.common.types;bundle-version="[2.16.0,2.27.0)";resolution:=optional,
+ org.eclipse.xtext.ui;bundle-version="[2.16.0,2.28.0)",
+ org.eclipse.xtext.common.types;bundle-version="[2.16.0,2.28.0)";resolution:=optional,
  org.eclipse.ui.ide;bundle-version="[3.14.0,4.0.0)"
 Export-Package: org.eclipse.handly.xtext.ui.callhierarchy,
  org.eclipse.handly.xtext.ui.editor,
diff --git a/targets/latest/latest.target b/targets/latest/latest.target
index f3abb3d..21e3ff0 100644
--- a/targets/latest/latest.target
+++ b/targets/latest/latest.target
@@ -19,7 +19,7 @@
 <repository location="http://download.eclipse.org/cbi/updates/license/2.0.2.v20181016-2210"/>
 </location>
 <location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="slicer" includeSource="true" type="InstallableUnit">
-<repository location="http://download.eclipse.org/releases/2022-03/202203161000"/>
+<repository location="http://download.eclipse.org/releases/2022-06/202206151000"/>
 <unit id="org.eclipse.sdk.feature.group" version="0.0.0"/>
 <unit id="org.eclipse.draw2d" version="0.0.0"/>
 <unit id="org.eclipse.e4.core.tools.feature.feature.group" version="0.0.0"/>
@@ -35,12 +35,17 @@
 <unit id="org.eclipse.xtend" version="0.0.0"/>
 <unit id="org.eclipse.xtend.typesystem.emf" version="0.0.0"/>
 <unit id="org.eclipse.xtext.sdk.feature.group" version="0.0.0"/>
-<unit id="org.objectweb.asm" version="9.1.0.v20210209-1849"/>
+<unit id="org.eclipse.xtext.generator" version="0.0.0"/>
+<unit id="org.objectweb.asm" version="0.0.0"/>
 <unit id="com.google.guava" version="0.0.0"/>
 <unit id="com.google.inject" version="0.0.0"/>
 <unit id="io.github.classgraph" version="0.0.0"/>
 <unit id="org.apache.log4j" version="0.0.0"/>
 <unit id="org.aopalliance" version="0.0.0"/>
+<unit id="org.apache.commons.cli" version="0.0.0"/> <!-- required by MWE(2) -->
+<unit id="org.sat4j.core" version="0.0.0"/> <!-- required by P2 director -->
+<unit id="org.sat4j.pb" version="0.0.0"/> <!-- required by P2 director -->
+<unit id="org.objectweb.asm.tree" version="0.0.0"/> <!-- required by PDE API tools -->
 </location>
 </locations>
 </target>
diff --git a/tools/latest.p2f b/tools/latest.p2f
index 5807e6b..70add19 100644
--- a/tools/latest.p2f
+++ b/tools/latest.p2f
@@ -1,45 +1,40 @@
 <?xml version='1.0' encoding='UTF-8'?>
 <?p2f version='1.0.0'?>
 <p2f version='1.0.0'>
-  <ius size='8'>
-    <iu id='org.eclipse.sdk.ide' version='4.23.0.I20220308-0310'>
+  <ius size='7'>
+    <iu id='org.eclipse.sdk.ide' version='4.24.0.I20220607-0700'>
       <repositories size='1'>
-        <repository location='http://download.eclipse.org/releases/2022-03/'/>
+        <repository location='http://download.eclipse.org/releases/2022-06/'/>
       </repositories>
     </iu>
-    <iu id='org.eclipse.e4.core.tools.feature.feature.group' version='4.23.0.v20220114-0046'>
+    <iu id='org.eclipse.egit.feature.group' version='6.2.0.202206071550-r'>
       <repositories size='1'>
-        <repository location='http://download.eclipse.org/releases/2022-03/'/>
-      </repositories>
-    </iu>
-    <iu id='org.eclipse.egit.feature.group' version='6.1.0.202203080745-r'>
-      <repositories size='1'>
-        <repository location='http://download.eclipse.org/releases/2022-03/'/>
+        <repository location='http://download.eclipse.org/releases/2022-06/'/>
       </repositories>
     </iu>
     <iu id='org.eclipse.m2e.feature.feature.group' version='1.20.1.20220227-1319'>
       <repositories size='1'>
-        <repository location='http://download.eclipse.org/releases/2022-03/'/>
+        <repository location='http://download.eclipse.org/releases/2022-06/'/>
       </repositories>
     </iu>
-    <iu id='org.eclipse.xtext.sdk.feature.group' version='2.26.0.v20220228-0901'>
+    <iu id='org.eclipse.xtext.sdk.feature.group' version='2.27.0.v20220530-0508'>
       <repositories size='1'>
-        <repository location='http://download.eclipse.org/releases/2022-03/'/>
+        <repository location='http://download.eclipse.org/releases/2022-06/'/>
       </repositories>
     </iu>
-    <iu id='org.eclipse.emf.mwe.sdk.feature.group' version='1.6.2.v20220118-1914'>
+    <iu id='org.eclipse.emf.mwe.sdk.feature.group' version='1.7.0.v20220519-1115'>
       <repositories size='1'>
-        <repository location='http://download.eclipse.org/releases/2022-03/'/>
+        <repository location='http://download.eclipse.org/releases/2022-06/'/>
       </repositories>
     </iu>
-    <iu id='org.eclipse.emf.mwe2.language.sdk.feature.group' version='2.12.2.v20220118-1914'>
+    <iu id='org.eclipse.emf.mwe2.language.sdk.feature.group' version='2.13.0.v20220519-1115'>
       <repositories size='1'>
-        <repository location='http://download.eclipse.org/releases/2022-03/'/>
+        <repository location='http://download.eclipse.org/releases/2022-06/'/>
       </repositories>
     </iu>
-    <iu id='org.eclipse.emf.sdk.feature.group' version='2.29.0.v20220226-1304'>
+    <iu id='org.eclipse.emf.sdk.feature.group' version='2.30.0.v20220516-1117'>
       <repositories size='1'>
-        <repository location='http://download.eclipse.org/releases/2022-03/'/>
+        <repository location='http://download.eclipse.org/releases/2022-06/'/>
       </repositories>
     </iu>
   </ius>