diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 5bf599c24..c064e0e0a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -14,7 +14,7 @@ jobs: - name: Set up Java uses: actions/setup-java@v4 with: - java-version: '17' + java-version: '21' distribution: 'temurin' cache: 'maven' diff --git a/com.archimatetool.editor.product/archi.target b/com.archimatetool.editor.product/archi.target index e301a7b4b..10970a539 100644 --- a/com.archimatetool.editor.product/archi.target +++ b/com.archimatetool.editor.product/archi.target @@ -10,8 +10,8 @@ - - + + \ No newline at end of file diff --git a/tests/com.archimatetool.testsupport/META-INF/MANIFEST.MF b/tests/com.archimatetool.testsupport/META-INF/MANIFEST.MF index 1b7782e4c..6eae81d60 100644 --- a/tests/com.archimatetool.testsupport/META-INF/MANIFEST.MF +++ b/tests/com.archimatetool.testsupport/META-INF/MANIFEST.MF @@ -7,6 +7,7 @@ Bundle-Vendor: Archi Bundle-RequiredExecutionEnvironment: JavaSE-17 Eclipse-BundleShape: dir Export-Package: com.archimatetool.tests +Import-Package: org.mockito Require-Bundle: org.eclipse.core.runtime, org.eclipse.ui Bundle-ClassPath: . diff --git a/tests/pom.xml b/tests/pom.xml index 30fe8dbfd..c1d13cad5 100644 --- a/tests/pom.xml +++ b/tests/pom.xml @@ -12,13 +12,34 @@ com.archimatetool.testing pom + + + + -Xshare:off -javaagent:${org.mockito:mockito-core:jar} + + ${mockito.args} + + + + + osx + + + mac + + + + -XstartOnFirstThread ${mockito.args} + + + Orbit p2 - https://download.eclipse.org/tools/orbit/simrel/orbit-aggregation/release/4.32.0 + https://download.eclipse.org/tools/orbit/simrel/orbit-aggregation/2024-12 @@ -43,6 +64,20 @@ + + + org.apache.maven.plugins + maven-dependency-plugin + 3.8.1 + + + + properties + + + + + org.eclipse.tycho tycho-surefire-plugin @@ -56,30 +91,4 @@ - - - - osx - - - mac - - - - - - - org.eclipse.tycho - tycho-surefire-plugin - ${tycho-version} - - -XstartOnFirstThread - - - - - - - -