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 d98f213ffa..3ab5725dfe 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 bbd0fccff9..8550e53f40 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 5459434751..fee8ca287a 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 4f6295641b..d9d2cb85fa 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 291ae0ab97..941010b02e 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 27ef257550..3fcede7f4c 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 0dec4d821b..aa1eb7ad0f 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 96b1d286b2..177bd6a48a 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 @@ - - + +