diff --git a/testsuite/integration-arquillian/tests/base/pom.xml b/testsuite/integration-arquillian/tests/base/pom.xml index f18361c640..c84d6da911 100644 --- a/testsuite/integration-arquillian/tests/base/pom.xml +++ b/testsuite/integration-arquillian/tests/base/pom.xml @@ -253,13 +253,12 @@ kie.maven.settings - - repo.url - + true ${user.home}/.m2/repository ${user.home}/.m2/settings.xml + -Dkie.maven.settings.custom=${settings.path} -Dkie.maven.repo.local=${maven.repo.local} diff --git a/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/admin/client/authorization/RulesPolicyManagementTest.java b/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/admin/client/authorization/RulesPolicyManagementTest.java index 69767b9ddc..53c68ed390 100644 --- a/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/admin/client/authorization/RulesPolicyManagementTest.java +++ b/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/admin/client/authorization/RulesPolicyManagementTest.java @@ -97,7 +97,7 @@ public class RulesPolicyManagementTest extends AbstractPolicyManagementTest { representation.setLogic(Logic.NEGATIVE); representation.setArtifactGroupId("org.keycloak"); representation.setArtifactId("photoz-authz-policy"); - representation.setArtifactVersion(Version.VERSION); + representation.setArtifactVersion(System.getProperty("project.version")); representation.setModuleName("PhotozAuthzOwnerPolicy"); representation.setSessionName("MainOwnerSession"); representation.setScannerPeriod("1");