diff --git a/testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/arquillian/AuthServerTestEnricher.java b/testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/arquillian/AuthServerTestEnricher.java
index 346219319a..cdd4f02f3a 100644
--- a/testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/arquillian/AuthServerTestEnricher.java
+++ b/testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/arquillian/AuthServerTestEnricher.java
@@ -349,8 +349,7 @@ public class AuthServerTestEnricher {
public void deployProviders(@Observes(precedence = -1) AfterStart event) throws DeploymentException {
if (isAuthServerRemote() && currentContainerName.contains("auth-server")) {
this.testsuiteProvidersArchive = ShrinkWrap.create(ZipImporter.class, "testsuiteProviders.jar")
- .importFrom(Maven.resolver()
- .loadPomFromFile("pom.xml")
+ .importFrom(Maven.configureResolverViaPlugin()
.resolve("org.keycloak.testsuite:integration-arquillian-testsuite-providers")
.withoutTransitivity()
.asSingleFile()
diff --git a/testsuite/integration-arquillian/tests/other/adapters/jboss/remote/pom.xml b/testsuite/integration-arquillian/tests/other/adapters/jboss/remote/pom.xml
index d5bf070435..162792192a 100644
--- a/testsuite/integration-arquillian/tests/other/adapters/jboss/remote/pom.xml
+++ b/testsuite/integration-arquillian/tests/other/adapters/jboss/remote/pom.xml
@@ -54,6 +54,11 @@
commons-csv
1.2
+
+ org.keycloak.testsuite
+ integration-arquillian-testsuite-providers
+ ${project.version}
+