Merge pull request #3925 from vmuzikar/KEYCLOAK-4553

KEYCLOAK-4553 Truststore not found in Arquillian tests in "other" module
This commit is contained in:
Pavel Drozd 2017-03-10 15:56:40 +01:00 committed by GitHub
commit 3884dd974a
2 changed files with 19 additions and 1 deletions

View file

@ -119,7 +119,7 @@
"truststore": { "truststore": {
"file": { "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}", "password": "${keycloak.truststore.password:secret}",
"hostname-verification-policy": "${keycloak.truststore.policy:WILDCARD}", "hostname-verification-policy": "${keycloak.truststore.policy:WILDCARD}",
"disabled": "${keycloak.truststore.disabled:false}" "disabled": "${keycloak.truststore.disabled:false}"

View file

@ -136,6 +136,24 @@
</resources> </resources>
</configuration> </configuration>
</execution> </execution>
<execution>
<id>copy-truststore</id>
<phase>generate-resources</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/dependency</outputDirectory>
<resources>
<resource>
<directory>src/test/resources</directory>
<includes>
<include>keystore/keycloak.truststore</include>
</includes>
</resource>
</resources>
</configuration>
</execution>
</executions> </executions>
</plugin> </plugin>
<plugin> <plugin>