From 2175f66a3049dba2350c03ac4fd1f237387bd26e Mon Sep 17 00:00:00 2001 From: Vaclav Muzikar Date: Thu, 9 Mar 2017 11:11:44 +0100 Subject: [PATCH] KEYCLOAK-4553 Truststore not found in Arquillian tests in "other" module --- .../resources/META-INF/keycloak-server.json | 2 +- testsuite/integration-arquillian/tests/pom.xml | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/testsuite/integration-arquillian/tests/base/src/test/resources/META-INF/keycloak-server.json b/testsuite/integration-arquillian/tests/base/src/test/resources/META-INF/keycloak-server.json index a29ce6e2c1..c6da264a53 100755 --- a/testsuite/integration-arquillian/tests/base/src/test/resources/META-INF/keycloak-server.json +++ b/testsuite/integration-arquillian/tests/base/src/test/resources/META-INF/keycloak-server.json @@ -119,7 +119,7 @@ "truststore": { "file": { - "file": "${keycloak.truststore.file:src/test/resources/keystore/keycloak.truststore}", + "file": "${keycloak.truststore.file:target/dependency/keystore/keycloak.truststore}", "password": "${keycloak.truststore.password:secret}", "hostname-verification-policy": "${keycloak.truststore.policy:WILDCARD}", "disabled": "${keycloak.truststore.disabled:false}" diff --git a/testsuite/integration-arquillian/tests/pom.xml b/testsuite/integration-arquillian/tests/pom.xml index 0b742f39f4..2e7ae51214 100755 --- a/testsuite/integration-arquillian/tests/pom.xml +++ b/testsuite/integration-arquillian/tests/pom.xml @@ -136,6 +136,24 @@ + + copy-truststore + generate-resources + + copy-resources + + + ${project.build.directory}/dependency + + + src/test/resources + + keystore/keycloak.truststore + + + + +