Skip to content

Commit

Permalink
Update to Arquillian 1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
kifj committed Dec 13, 2023
1 parent 81ebb3e commit 6e609e2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
7 changes: 1 addition & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<jboss.home>/opt/wildfly-${wildfly.version}</jboss.home>
<junit.jupiter.version>5.10.0</junit.jupiter.version>
<jacoco.version>0.8.10</jacoco.version>
<arquillian.version>1.7.1.Final</arquillian.version>
<arquillian.version>1.8.0.Final</arquillian.version>
<arquillian.wildfly.version>5.0.1.Final</arquillian.wildfly.version>
<jkube.version>1.14.0</jkube.version>
</properties>
Expand Down Expand Up @@ -312,11 +312,6 @@
<version>${junit.jupiter.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-library</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
Expand Down
3 changes: 1 addition & 2 deletions src/test/java/x1/service/test/ResolverTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/x1/stomp/test/AbstractIT.java
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 6e609e2

Please sign in to comment.