From 6e609e27d6136b60e32b6f75ff0ce64d1384fdc3 Mon Sep 17 00:00:00 2001 From: Johannes Beck Date: Wed, 13 Dec 2023 18:53:38 +0100 Subject: [PATCH] Update to Arquillian 1.8 --- pom.xml | 7 +------ src/test/java/x1/service/test/ResolverTest.java | 3 +-- src/test/java/x1/stomp/test/AbstractIT.java | 2 +- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/pom.xml b/pom.xml index c79531bc..6ca7c324 100644 --- a/pom.xml +++ b/pom.xml @@ -47,7 +47,7 @@ /opt/wildfly-${wildfly.version} 5.10.0 0.8.10 - 1.7.1.Final + 1.8.0.Final 5.0.1.Final 1.14.0 @@ -312,11 +312,6 @@ ${junit.jupiter.version} test - - org.hamcrest - hamcrest-library - test - org.assertj assertj-core diff --git a/src/test/java/x1/service/test/ResolverTest.java b/src/test/java/x1/service/test/ResolverTest.java index 62ca9403..14c8cd5c 100644 --- a/src/test/java/x1/service/test/ResolverTest.java +++ b/src/test/java/x1/service/test/ResolverTest.java @@ -44,8 +44,7 @@ public class ResolverTest { @Deployment public static Archive createTestArchive() { var libraries = Maven.resolver().loadPomFromFile("pom.xml") - .resolve("x1.wildfly:service-registry", "org.assertj:assertj-core", "org.hamcrest:hamcrest-library") - .withTransitivity().asFile(); + .resolve("x1.wildfly:service-registry", "org.assertj:assertj-core").withTransitivity().asFile(); return ShrinkWrap.create(WebArchive.class, VersionData.APP_NAME_MAJOR_MINOR + ".war").addPackages(true, "x1.stomp") .addAsResource("test-persistence.xml", "META-INF/persistence.xml") diff --git a/src/test/java/x1/stomp/test/AbstractIT.java b/src/test/java/x1/stomp/test/AbstractIT.java index b6adb900..cd46780e 100644 --- a/src/test/java/x1/stomp/test/AbstractIT.java +++ b/src/test/java/x1/stomp/test/AbstractIT.java @@ -30,7 +30,7 @@ public abstract class AbstractIT { @Deployment public static Archive createTestArchive() { var libraries = Maven.resolver().loadPomFromFile("pom.xml") - .resolve("org.assertj:assertj-core", "org.hamcrest:hamcrest-library").withTransitivity().asFile(); + .resolve("org.assertj:assertj-core").withTransitivity().asFile(); return ShrinkWrap.create(WebArchive.class, VersionData.APP_NAME_MAJOR_MINOR + ".war").addPackages(true, "x1.stomp") .addAsResource("test-persistence.xml", "META-INF/persistence.xml")