diff --git a/plugins/org.eclipse.sirius.tests.swtbot.support/META-INF/MANIFEST.MF b/plugins/org.eclipse.sirius.tests.swtbot.support/META-INF/MANIFEST.MF index 38320c0e92..cba01ba7f8 100644 --- a/plugins/org.eclipse.sirius.tests.swtbot.support/META-INF/MANIFEST.MF +++ b/plugins/org.eclipse.sirius.tests.swtbot.support/META-INF/MANIFEST.MF @@ -12,8 +12,7 @@ Require-Bundle: org.eclipse.core.runtime, org.eclipse.swtbot.eclipse.finder;visibility:=reexport, org.eclipse.swtbot.swt.finder;visibility:=reexport, org.eclipse.swtbot.eclipse.gef.finder;bundle-version="2.0.5", - org.hamcrest.core;bundle-version="[1.3.0,2.0.0)", - org.hamcrest.library;bundle-version="[1.3.0,2.0.0)", + org.hamcrest;bundle-version="[2.2.0,3.0.0)", org.apache.log4j;bundle-version="1.2.13", org.eclipse.draw2d;bundle-version="3.4.2", org.eclipse.gef;bundle-version="3.4.1", diff --git a/plugins/org.eclipse.sirius.tests.swtbot.support/src/org/eclipse/sirius/tests/swtbot/support/api/matcher/geometry/PointAround.java b/plugins/org.eclipse.sirius.tests.swtbot.support/src/org/eclipse/sirius/tests/swtbot/support/api/matcher/geometry/PointAround.java index 4ec51775e0..f66a98cb25 100644 --- a/plugins/org.eclipse.sirius.tests.swtbot.support/src/org/eclipse/sirius/tests/swtbot/support/api/matcher/geometry/PointAround.java +++ b/plugins/org.eclipse.sirius.tests.swtbot.support/src/org/eclipse/sirius/tests/swtbot/support/api/matcher/geometry/PointAround.java @@ -15,7 +15,6 @@ import org.eclipse.draw2d.geometry.Point; import org.hamcrest.BaseMatcher; import org.hamcrest.Description; -import org.hamcrest.Factory; import org.hamcrest.Matcher; /** @@ -61,7 +60,7 @@ public boolean matches(Object item) { * @param expected * Expected point. * @param actual - * ctual point + * Actual point * @param distance * Distance to check. * @return true if actual point is around expected point. @@ -89,7 +88,6 @@ public void describeTo(Description description) { * Distance between. * @return Matcher. */ - @Factory public static Matcher around(Point expected, int distance) { return new PointAround(expected, distance); } diff --git a/plugins/org.eclipse.sirius.tests.swtbot.support/src/org/eclipse/sirius/tests/swtbot/support/api/matcher/geometry/RectangleAround.java b/plugins/org.eclipse.sirius.tests.swtbot.support/src/org/eclipse/sirius/tests/swtbot/support/api/matcher/geometry/RectangleAround.java index fd155d6b7e..506409b776 100644 --- a/plugins/org.eclipse.sirius.tests.swtbot.support/src/org/eclipse/sirius/tests/swtbot/support/api/matcher/geometry/RectangleAround.java +++ b/plugins/org.eclipse.sirius.tests.swtbot.support/src/org/eclipse/sirius/tests/swtbot/support/api/matcher/geometry/RectangleAround.java @@ -15,7 +15,6 @@ import org.eclipse.draw2d.geometry.Rectangle; import org.hamcrest.BaseMatcher; import org.hamcrest.Description; -import org.hamcrest.Factory; import org.hamcrest.Matcher; /** @@ -80,7 +79,6 @@ public void describeTo(Description description) { * Distance between. * @return Matcher. */ - @Factory public static Matcher around(Rectangle expected, int distance) { return new RectangleAround(expected, distance); } diff --git a/plugins/org.eclipse.sirius.tests.swtbot/META-INF/MANIFEST.MF b/plugins/org.eclipse.sirius.tests.swtbot/META-INF/MANIFEST.MF index 4c37f8ee11..8c6abcc301 100644 --- a/plugins/org.eclipse.sirius.tests.swtbot/META-INF/MANIFEST.MF +++ b/plugins/org.eclipse.sirius.tests.swtbot/META-INF/MANIFEST.MF @@ -13,8 +13,7 @@ Require-Bundle: org.eclipse.core.runtime, org.eclipse.swtbot.eclipse.gef.finder;bundle-version="0.1.0", org.junit;bundle-version="[4.0.0,5.0.0)", org.apache.log4j;bundle-version="[1.2.0,1.3.0)", - org.hamcrest.core;bundle-version="[1.3.0,2.0.0)", - org.hamcrest.library;bundle-version="[1.3.0,2.0.0)", + org.hamcrest;bundle-version="[2.2.0,3.0.0)", org.eclipse.emf.ecore, org.eclipse.sirius, org.eclipse.sirius.ui, diff --git a/releng/org.eclipse.sirius.targets/capella/sirius_2023-03.target b/releng/org.eclipse.sirius.targets/capella/sirius_2023-03.target index 1b8b3b2174..b5790e8b8c 100644 --- a/releng/org.eclipse.sirius.targets/capella/sirius_2023-03.target +++ b/releng/org.eclipse.sirius.targets/capella/sirius_2023-03.target @@ -1,7 +1,7 @@ - + @@ -9,12 +9,15 @@ - - + + + + + diff --git a/releng/org.eclipse.sirius.targets/headless/sirius_2023-03.target b/releng/org.eclipse.sirius.targets/headless/sirius_2023-03.target index fa0eedfe38..1f5a57beaa 100644 --- a/releng/org.eclipse.sirius.targets/headless/sirius_2023-03.target +++ b/releng/org.eclipse.sirius.targets/headless/sirius_2023-03.target @@ -1,7 +1,7 @@ - + @@ -9,12 +9,15 @@ - - + + + + + diff --git a/releng/org.eclipse.sirius.targets/modules/orbit.tpd b/releng/org.eclipse.sirius.targets/modules/orbit.tpd index c2d1210d09..3713c8cd4d 100644 --- a/releng/org.eclipse.sirius.targets/modules/orbit.tpd +++ b/releng/org.eclipse.sirius.targets/modules/orbit.tpd @@ -1,12 +1,16 @@ -target "orbit" with source, requirements +target "orbit" with source , requirements location Orbit-2022-03 "https://download.eclipse.org/tools/orbit/downloads/drops/R20220302172233/repository/" { - org.easymock lazy + org.easymock lazy } + location Orbit-2023-03 "https://download.eclipse.org/tools/orbit/downloads/drops/R20230302014618/repository/" { - org.apache.log4j lazy - org.hamcrest.core [1.3.0,1.3.1) - org.hamcrest.library [1.3.0,1.3.1) - org.junit lazy - org.antlr.runtime [4.7.2,4.7.3) + org.apache.log4j lazy + org.junit lazy + org.antlr.runtime [4.7.2,4.7.3) +} + +location Orbit-2023-12 "https://download.eclipse.org/tools/orbit/simrel/orbit-aggregation/2023-12" { + org.hamcrest.core [2.2.0,3.0.0) + org.hamcrest.library [2.2.0,3.0.0) } diff --git a/releng/org.eclipse.sirius.targets/sirius_2022-09.target b/releng/org.eclipse.sirius.targets/sirius_2022-09.target index 96cbb5d3a9..b67c92e29d 100644 --- a/releng/org.eclipse.sirius.targets/sirius_2022-09.target +++ b/releng/org.eclipse.sirius.targets/sirius_2022-09.target @@ -1,7 +1,7 @@ - + @@ -9,12 +9,15 @@ - - + + + + + diff --git a/releng/org.eclipse.sirius.targets/sirius_2022-12.target b/releng/org.eclipse.sirius.targets/sirius_2022-12.target index da63d47965..fe16d3f750 100644 --- a/releng/org.eclipse.sirius.targets/sirius_2022-12.target +++ b/releng/org.eclipse.sirius.targets/sirius_2022-12.target @@ -1,7 +1,7 @@ - + @@ -9,12 +9,15 @@ - - + + + + + diff --git a/releng/org.eclipse.sirius.targets/sirius_2023-03.target b/releng/org.eclipse.sirius.targets/sirius_2023-03.target index 0e508eca72..0a774a9348 100644 --- a/releng/org.eclipse.sirius.targets/sirius_2023-03.target +++ b/releng/org.eclipse.sirius.targets/sirius_2023-03.target @@ -1,7 +1,7 @@ - + @@ -9,12 +9,15 @@ - - + + + + + diff --git a/releng/org.eclipse.sirius.targets/sirius_2023-06.target b/releng/org.eclipse.sirius.targets/sirius_2023-06.target index 39904e030a..0c0af488ec 100644 --- a/releng/org.eclipse.sirius.targets/sirius_2023-06.target +++ b/releng/org.eclipse.sirius.targets/sirius_2023-06.target @@ -1,7 +1,7 @@ - + @@ -9,12 +9,15 @@ - - + + + + + diff --git a/releng/org.eclipse.sirius.targets/sirius_2023-09.target b/releng/org.eclipse.sirius.targets/sirius_2023-09.target index 53f5a0dd4c..3f0fae85da 100644 --- a/releng/org.eclipse.sirius.targets/sirius_2023-09.target +++ b/releng/org.eclipse.sirius.targets/sirius_2023-09.target @@ -1,7 +1,7 @@ - + @@ -9,12 +9,15 @@ - - + + + + + diff --git a/releng/org.eclipse.sirius.targets/sirius_2023-12.target b/releng/org.eclipse.sirius.targets/sirius_2023-12.target index cecf164d64..c7e00f89a6 100644 --- a/releng/org.eclipse.sirius.targets/sirius_2023-12.target +++ b/releng/org.eclipse.sirius.targets/sirius_2023-12.target @@ -1,7 +1,7 @@ - + @@ -9,12 +9,15 @@ - - + + + + + diff --git a/releng/org.eclipse.sirius.targets/sirius_canary.target b/releng/org.eclipse.sirius.targets/sirius_canary.target index d882ffe37e..197682ca45 100644 --- a/releng/org.eclipse.sirius.targets/sirius_canary.target +++ b/releng/org.eclipse.sirius.targets/sirius_canary.target @@ -29,8 +29,8 @@ - - + +