2015-09-18 12:27:28 +00:00
<?xml version="1.0"?>
2016-02-03 10:20:22 +00:00
<!--
2016-02-07 20:30:54 +00:00
~ Copyright 2016 Red Hat, Inc. and/or its affiliates
~ and other contributors as indicated by the @author tags.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
2016-02-03 10:20:22 +00:00
2015-09-18 12:27:28 +00:00
<project xsi:schemaLocation= "http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns= "http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
2016-01-20 06:16:53 +00:00
<modelVersion > 4.0.0</modelVersion>
2015-09-18 12:27:28 +00:00
<parent >
<groupId > org.keycloak.testsuite</groupId>
<artifactId > integration-arquillian</artifactId>
2021-07-30 12:55:12 +00:00
<version > 16.0.0-SNAPSHOT</version>
2015-09-18 12:27:28 +00:00
</parent>
<packaging > pom</packaging>
2016-01-20 06:16:53 +00:00
<artifactId > integration-arquillian-tests</artifactId>
2015-09-18 12:27:28 +00:00
<name > Tests</name>
2016-03-31 16:16:03 +00:00
2015-09-18 12:27:28 +00:00
<modules >
<module > base</module>
2016-01-20 06:16:53 +00:00
<module > other</module>
2015-09-18 12:27:28 +00:00
</modules>
2016-09-01 08:17:08 +00:00
2015-09-18 12:27:28 +00:00
<properties >
2016-03-24 10:24:21 +00:00
<auth.server > undertow</auth.server>
<auth.server.undertow > true</auth.server.undertow>
2017-09-21 13:01:01 +00:00
2018-09-24 08:49:47 +00:00
<auth.server.cluster > false</auth.server.cluster>
<auth.server.undertow.cluster > false</auth.server.undertow.cluster>
<auth.server.jboss.cluster > false</auth.server.jboss.cluster>
2020-04-30 08:19:57 +00:00
<auth.server.jboss.legacy > false</auth.server.jboss.legacy>
2020-06-08 20:57:22 +00:00
<auth.server.quarkus.cluster > false</auth.server.quarkus.cluster>
2018-09-24 08:49:47 +00:00
2017-06-15 09:39:38 +00:00
<auth.server.crossdc > false</auth.server.crossdc>
2021-08-17 11:30:52 +00:00
<hotrod.store.enabled > false</hotrod.store.enabled>
2017-09-21 13:01:01 +00:00
<auth.server.undertow.crossdc > false</auth.server.undertow.crossdc>
<auth.server.jboss.crossdc > false</auth.server.jboss.crossdc>
2017-08-09 14:38:57 +00:00
<cache.server.lifecycle.skip > false</cache.server.lifecycle.skip>
2017-09-21 13:01:01 +00:00
2016-03-24 10:24:21 +00:00
<auth.server.container > auth-server-${auth.server}</auth.server.container>
<auth.server.home > ${containers.home}/${auth.server.container}</auth.server.home>
<auth.server.config.dir > ${auth.server.home}</auth.server.config.dir>
2016-03-31 16:16:03 +00:00
2016-04-06 07:11:06 +00:00
<auth.server.host > localhost</auth.server.host>
2019-11-14 09:50:18 +00:00
<auth.server.management.host > ${auth.server.host}</auth.server.management.host>
2018-08-07 09:10:24 +00:00
<auth.server.browserHost /> <!-- if set, this host will be used by the browser instead of auth.server.host -->
2015-09-18 12:27:28 +00:00
<auth.server.port.offset > 100</auth.server.port.offset>
<auth.server.http.port > 8180</auth.server.http.port>
2016-03-24 15:08:36 +00:00
<auth.server.events.http.port > 8089</auth.server.events.http.port>
2015-12-10 06:21:23 +00:00
<auth.server.https.port > 8543</auth.server.https.port>
2015-09-18 12:27:28 +00:00
<auth.server.management.port > 10090</auth.server.management.port>
<auth.server.management.port.jmx > 10099</auth.server.management.port.jmx>
2018-09-27 09:24:33 +00:00
<auth.server.ssl.required > true</auth.server.ssl.required>
<auth.server.memory.settings > -Xms64m -Xmx512m</auth.server.memory.settings>
2016-05-23 11:17:20 +00:00
<auth.server.config.property.name > serverConfig</auth.server.config.property.name>
<auth.server.adapter.impl.class > org.jboss.as.arquillian.container.managed.ManagedDeployableContainer</auth.server.adapter.impl.class>
2020-05-26 14:33:16 +00:00
<auth.server.truststore > ${auth.server.config.dir}/keycloak.truststore</auth.server.truststore>
2018-02-23 11:46:48 +00:00
<auth.server.truststore.password > secret</auth.server.truststore.password>
2020-05-26 14:33:16 +00:00
<auth.server.keystore > ${auth.server.config.dir}/keycloak.jks</auth.server.keystore>
<auth.server.keystore.password > secret</auth.server.keystore.password>
2018-12-06 07:25:01 +00:00
<auth.server.jvm.args.extra />
2017-09-21 13:01:01 +00:00
2016-03-24 10:24:21 +00:00
<auth.server.jboss.artifactId > integration-arquillian-servers-auth-server-${auth.server}</auth.server.jboss.artifactId>
<auth.server.jboss.skip.unpack > ${auth.server.undertow}</auth.server.jboss.skip.unpack>
2020-06-08 20:57:22 +00:00
<auth.server.quarkus.skip.unpack > true</auth.server.quarkus.skip.unpack>
<auth.server.undertow.skip.unpack > false</auth.server.undertow.skip.unpack>
2016-03-24 10:24:21 +00:00
<auth.server.jboss.startup.timeout > 300</auth.server.jboss.startup.timeout>
2017-09-21 13:01:01 +00:00
2017-06-07 11:44:18 +00:00
<!-- debug properties -->
<auth.server.debug.port > 5005</auth.server.debug.port>
<auth.server.debug.suspend > n</auth.server.debug.suspend>
<auth.server.jboss.jvm.debug.args > -agentlib:jdwp=transport=dt_socket,server=y,suspend=${auth.server.debug.suspend},address=${auth.server.host}:${auth.server.debug.port}</auth.server.jboss.jvm.debug.args>
2017-09-21 13:01:01 +00:00
2016-04-06 07:11:06 +00:00
<auth.server.remote > false</auth.server.remote>
2020-03-06 13:29:55 +00:00
<auth.server.quarkus > false</auth.server.quarkus>
2016-11-02 14:51:06 +00:00
<auth.server.profile />
2017-01-05 10:03:36 +00:00
<auth.server.feature />
2017-05-29 07:02:57 +00:00
2020-06-03 08:04:48 +00:00
<auth.server.host2 > ${auth.server.host}</auth.server.host2> <!-- for broker and JS adapter tests; defaults to auth.server.host -->
2020-06-29 07:03:56 +00:00
<app.server.host > localhost</app.server.host>
2020-06-03 08:04:48 +00:00
2018-04-19 07:08:36 +00:00
<app.server.skip.unpack > true</app.server.skip.unpack>
<app.server.artifactId > integration-arquillian-servers-app-server-${app.server}</app.server.artifactId>
<app.server.home > ${containers.home}/app-server-${app.server}</app.server.home>
2020-06-29 07:03:56 +00:00
<app.server.keystore.dir > ${app.server.home}/standalone/configuration</app.server.keystore.dir>
2018-04-19 07:08:36 +00:00
<app.server.port.offset > 200</app.server.port.offset>
<app.server.http.port > 8280</app.server.http.port>
<app.server.https.port > 8643</app.server.https.port>
<app.server.management.protocol > http-remoting</app.server.management.protocol>
<app.server.management.port > 10190</app.server.management.port>
<app.server.startup.timeout > 60</app.server.startup.timeout>
<app.server.reverse-proxy.port.offset > 500</app.server.reverse-proxy.port.offset>
<app.server.1.port.offset > 300</app.server.1.port.offset>
<app.server.1.management.port > 10290</app.server.1.management.port>
<app.server.2.port.offset > 400</app.server.2.port.offset>
<app.server.2.management.port > 10390</app.server.2.management.port>
2018-04-23 11:42:31 +00:00
<app.server.debug.port > 5006</app.server.debug.port>
<app.server.debug.suspend > n</app.server.debug.suspend>
<app.server.jboss.jvm.debug.args > -agentlib:jdwp=transport=dt_socket,server=y,suspend=${app.server.debug.suspend},address=localhost:${app.server.debug.port}</app.server.jboss.jvm.debug.args>
2020-06-03 22:21:51 +00:00
<app.server.1.debug.port > 7301</app.server.1.debug.port>
<app.server.1.debug.suspend > n</app.server.1.debug.suspend>
<app.server.1.jboss.jvm.debug.args > -agentlib:jdwp=transport=dt_socket,server=y,suspend=${app.server.1.debug.suspend},address=localhost:${app.server.1.debug.port}</app.server.1.jboss.jvm.debug.args>
<app.server.2.debug.port > 7302</app.server.2.debug.port>
<app.server.2.debug.suspend > n</app.server.2.debug.suspend>
<app.server.2.jboss.jvm.debug.args > -agentlib:jdwp=transport=dt_socket,server=y,suspend=${app.server.2.debug.suspend},address=localhost:${app.server.2.debug.port}</app.server.2.jboss.jvm.debug.args>
2019-05-15 06:12:38 +00:00
<app.server.memory.Xms > 64m</app.server.memory.Xms>
<app.server.memory.Xmx > 512m</app.server.memory.Xmx>
<app.server.memory.settings > -Xms${app.server.memory.Xms} -Xmx${app.server.memory.Xmx} -XX:MetaspaceSize=${surefire.memory.metaspace} -XX:MaxMetaspaceSize=${surefire.memory.metaspace.max}</app.server.memory.settings>
2018-06-06 12:45:50 +00:00
<app.server.ssl.required > false</app.server.ssl.required>
2020-06-29 07:03:56 +00:00
<app.server.truststore > ${app.server.keystore.dir}/keycloak.truststore</app.server.truststore>
2020-05-26 14:33:16 +00:00
<app.server.truststore.password > secret</app.server.truststore.password>
2020-06-29 07:03:56 +00:00
<app.server.keystore > ${app.server.keystore.dir}/adapter.jks</app.server.keystore>
2020-05-26 14:33:16 +00:00
<app.server.keystore.password > secret</app.server.keystore.password>
2018-12-06 07:25:01 +00:00
<app.server.jvm.args.extra />
2020-06-29 07:03:56 +00:00
<tomcat.javax.net.ssl.properties />
2018-04-19 07:08:36 +00:00
2020-08-20 14:51:01 +00:00
<cache.server.legacy > false</cache.server.legacy>
<cache.server.home > ${containers.home}/cache-server-${cache.server}</cache.server.home>
2018-04-23 11:42:31 +00:00
<cache.server.1.port.offset > 1010</cache.server.1.port.offset>
2017-05-29 07:02:57 +00:00
<cache.server.management.port > 11000</cache.server.management.port>
2017-06-19 22:29:19 +00:00
<cache.server.2.port.offset > 2010</cache.server.2.port.offset>
<cache.server.2.management.port > 12000</cache.server.2.management.port>
2017-05-29 07:02:57 +00:00
<cache.server.console.output > true</cache.server.console.output>
2020-08-20 14:51:01 +00:00
<cache.server.auth > false</cache.server.auth>
2018-09-24 08:49:47 +00:00
2021-08-17 11:30:52 +00:00
<hotrod.store.port.offset > 3010</hotrod.store.port.offset>
<hotrod.store.management.port > 13000</hotrod.store.management.port>
2021-05-27 16:02:52 +00:00
<!--
~ Definition of default JVM parameters for all modular JDKs. See:
~
~ https://github.com/wildfly/wildfly-core/blob/master/core-feature-pack/common/src/main/resources/content/bin/common.sh#L19 and
~ https://github.com/wildfly/wildfly-core/blob/master/launcher/src/main/java/org/wildfly/core/launcher/AbstractCommandBuilder.java#L58
~
~ for details. The explanation / purpose of adding a particular modular option is as follows:
~ * add-exports=java.desktop/sun.awt=ALL-UNNAMED Needed by the iiop-openjdk subsystem
~ * add-opens=java.base/java.lang=ALL-UNNAMED Needed if Hibernate applications use Javassist
~ * add-opens=java.base/java.lang.invoke=ALL-UNNAMED Needed by the MicroProfile REST Client subsystem
~ * add-opens=java.base/java.io=ALL-UNNAMED Needed by JBoss Marshalling
~ * add-opens=java.base/java.security=ALL-UNNAMED Needed by WildFly Security Manager
~ * add-opens=java.base/java.util=ALL-UNNAMED Needed for marshalling of enum maps
~ * add-opens=java.management/javax.management=ALL-UNNAMED EE integration with sar mbeans requires deep reflection in javax.management
~ * add-opens=java.naming/javax.naming=ALL-UNNAMED InitialContext proxy generation requires deep reflection in javax.naming
~ * add-modules=java.se Needed for backward compatibility with jboss-modules older than jboss-modules 1.9.1.Final
-->
<default.modular.jvm.options > --add-exports=java.desktop/sun.awt=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.security=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.management/javax.management=ALL-UNNAMED --add-opens=java.naming/javax.naming=ALL-UNNAMED --add-modules=java.se</default.modular.jvm.options>
2020-05-26 14:33:16 +00:00
<dependency.keystore.root > ${project.build.directory}/dependency/keystore</dependency.keystore.root>
<dependency.truststore > ${dependency.keystore.root}/keycloak.truststore</dependency.truststore>
<dependency.truststore.password > secret</dependency.truststore.password>
<dependency.keystore > ${dependency.keystore.root}/keycloak.jks</dependency.keystore>
<dependency.keystore.password > secret</dependency.keystore.password>
2017-05-29 07:02:57 +00:00
<keycloak.connectionsInfinispan.remoteStoreServer > localhost</keycloak.connectionsInfinispan.remoteStoreServer>
<keycloak.connectionsInfinispan.remoteStorePort > 12232</keycloak.connectionsInfinispan.remoteStorePort>
2017-06-19 22:29:19 +00:00
<keycloak.connectionsInfinispan.remoteStorePort.2 > 13232</keycloak.connectionsInfinispan.remoteStorePort.2>
2017-05-29 07:02:57 +00:00
<keycloak.connectionsJpa.url.crossdc > jdbc:h2:mem:test-dc-shared</keycloak.connectionsJpa.url.crossdc>
2017-08-07 14:31:20 +00:00
<keycloak.testsuite.logging.pattern > %d{HH:mm:ss,SSS} %-5p [%c] %m%n</keycloak.testsuite.logging.pattern>
2017-05-29 07:02:57 +00:00
2018-06-12 07:57:39 +00:00
<!-- KEYCLOAK - 4793 -->
<maven.repo.local > ${user.home}/.m2/repository</maven.repo.local>
<settings.path > ${user.home}/.m2/settings.xml</settings.path>
<repo.url />
<kie.maven.settings >
-Dkie.maven.settings.custom=${settings.path}
-Dkie.maven.repo.local=${maven.repo.local}
-Drepo.url=${repo.url}
</kie.maven.settings>
2017-04-21 17:01:18 +00:00
<adapter.test.props >
-Dkeycloak.x509cert.lookup.provider=${keycloak.x509cert.lookup.provider}
2018-06-12 07:57:39 +00:00
-Dapp.server.base.url=http://localhost:${app.server.http.port}
-Dauth.server.base.url=http://localhost:${auth.server.http.port}
-Dapp.server.ssl.base.url=https://localhost:${app.server.https.port}
-Dapp.server.ssl.required=${app.server.ssl.required}
-Dauth.server.ssl.base.url=https://localhost:${auth.server.https.port}
-Dauth.server.ssl.required=${auth.server.ssl.required}
2020-06-29 07:03:56 +00:00
-Dauth.server.host=${auth.server.host}
-Dauth.server.host2=${auth.server.host2}
-Dapp.server.host=${app.server.host}
-Dapp.server.http.port=${app.server.http.port}
-Dapp.server.https.port=${app.server.https.port}
2018-06-12 07:57:39 +00:00
-Dmy.host.name=localhost
-Djava.security.krb5.conf=${project.build.directory}/dependency/kerberos/test-krb5.conf
2017-04-21 17:01:18 +00:00
</adapter.test.props>
2017-09-21 13:01:01 +00:00
2016-03-24 10:24:21 +00:00
<examples.home > ${project.build.directory}/examples</examples.home>
2018-04-23 11:42:31 +00:00
<examples.basedir > ${keycloak-parent.basedir}/examples</examples.basedir> <!-- keycloak/examples directory -->
<examples.version.suffix > ${project.version}</examples.version.suffix>
2019-02-15 20:00:46 +00:00
<skip.copy.example.wars > false</skip.copy.example.wars>
2016-03-31 16:16:03 +00:00
2017-01-31 13:49:54 +00:00
<browser > htmlUnit</browser>
2020-06-10 14:24:24 +00:00
<browser.strict.cookies > false</browser.strict.cookies>
2017-08-23 13:36:29 +00:00
<webdriverDownloadBinaries > true</webdriverDownloadBinaries>
2018-03-02 17:03:54 +00:00
<droneInstantiationTimeoutInSeconds > 60</droneInstantiationTimeoutInSeconds>
2017-09-18 07:52:45 +00:00
<github.username />
<github.secretToken />
2018-08-07 09:10:24 +00:00
<ieDriverArch > Win32</ieDriverArch>
2019-09-24 10:02:58 +00:00
<ieDriverVersion />
2018-02-26 09:49:05 +00:00
<js.browser > phantomjs</js.browser>
<js.chromeArguments > --headless</js.chromeArguments>
2017-01-31 13:49:54 +00:00
<htmlUnitBrowserVersion > chrome</htmlUnitBrowserVersion>
2018-08-07 09:10:24 +00:00
<firefox_binary /> <!-- the path is set automatically based on the OS -->
2018-09-06 11:14:12 +00:00
<firefoxLegacyDriver > false</firefoxLegacyDriver>
2019-09-24 10:02:58 +00:00
<firefoxDriverVersion />
2020-05-21 12:30:09 +00:00
<firefoxUserPreferences />
2020-06-03 08:04:48 +00:00
<firefoxHeadless > false</firefoxHeadless>
2018-03-02 16:33:48 +00:00
<chromeBinary />
2017-08-23 13:36:29 +00:00
<chromeArguments />
2019-09-24 10:02:58 +00:00
<chromeDriverVersion />
2015-09-18 12:27:28 +00:00
2018-08-07 09:10:24 +00:00
<appium.platformName />
<appium.deviceName />
<appium.browserName />
<appium.avd />
<appium.automationName />
<appium.noReset />
<appium.fullReset />
2016-02-15 22:56:44 +00:00
<frontend.console.output > true</frontend.console.output>
<backends.console.output > true</backends.console.output>
2016-03-31 16:16:03 +00:00
2016-08-19 09:40:01 +00:00
<testsuite.constants > ${project.build.directory}/dependency/test-constants.properties</testsuite.constants>
2016-03-31 16:16:03 +00:00
2016-09-02 11:55:49 +00:00
<skip.add.user.json > false</skip.add.user.json>
2017-10-11 10:20:06 +00:00
<skip.clean.second.cache > true</skip.clean.second.cache>
<skip.copy.auth.crossdc.nodes > true</skip.copy.auth.crossdc.nodes>
2016-07-26 15:47:28 +00:00
<client.certificate.ca.path > ${auth.server.config.dir}/ca.crt</client.certificate.ca.path>
<client.certificate.file > ${auth.server.config.dir}/client.crt</client.certificate.file>
2020-09-02 13:29:07 +00:00
<client.certificate.keystore > ${auth.server.config.dir}/client.jks</client.certificate.keystore>
<client.certificate.keystore.passphrase > secret</client.certificate.keystore.passphrase>
2016-07-26 15:47:28 +00:00
<client.key.file > ${auth.server.config.dir}/client.key</client.key.file>
<client.key.passphrase > secret</client.key.passphrase>
2020-09-02 13:29:07 +00:00
<client.truststore > ${auth.server.config.dir}/keycloak.truststore</client.truststore>
<client.truststore.passphrase > secret</client.truststore.passphrase>
2016-07-26 15:47:28 +00:00
2018-06-05 00:30:09 +00:00
<!-- KEYCLOAK - 6771 Certificate Bound Token -->
<hok.client.certificate.keystore > ${auth.server.config.dir}/other_client.jks</hok.client.certificate.keystore>
<hok.client.certificate.keystore.passphrase > secret</hok.client.certificate.keystore.passphrase>
2021-09-23 07:33:41 +00:00
<!-- Client certificate with the format suitable for OpenBanking Brasil -->
<obb.client.certificate.keystore > ${auth.server.config.dir}/test-user-obb.jks</obb.client.certificate.keystore>
<obb.client.certificate.keystore.passphrase > password</obb.client.certificate.keystore.passphrase>
2016-07-26 15:47:28 +00:00
<auth.server.ocsp.responder.enabled > false</auth.server.ocsp.responder.enabled>
2017-04-21 17:01:18 +00:00
<keycloak.x509cert.lookup.provider > default</keycloak.x509cert.lookup.provider>
2020-10-23 01:14:17 +00:00
<auth.server.quarkus.cluster.config > local</auth.server.quarkus.cluster.config>
2015-09-18 12:27:28 +00:00
</properties>
<build >
<pluginManagement >
<plugins >
<plugin >
2016-03-24 10:24:21 +00:00
<artifactId > maven-dependency-plugin</artifactId>
<executions >
<execution >
<id > unpack-auth-server-jboss</id>
<phase > generate-resources</phase>
<goals >
<goal > unpack</goal>
</goals>
<configuration >
<artifactItems >
<artifactItem >
<groupId > org.keycloak.testsuite</groupId>
<artifactId > ${auth.server.jboss.artifactId}</artifactId>
<version > ${project.version}</version>
<type > zip</type>
</artifactItem>
</artifactItems>
<outputDirectory > ${containers.home}</outputDirectory>
<overWriteIfNewer > true</overWriteIfNewer>
<skip > ${auth.server.jboss.skip.unpack}</skip>
</configuration>
</execution>
2018-04-19 07:08:36 +00:00
<execution >
2019-12-10 13:42:02 +00:00
<id > unpack-undertow-server</id>
<phase > generate-test-resources</phase>
<goals >
<goal > unpack</goal>
</goals>
<configuration >
<artifactItems >
<artifactItem >
<groupId > org.keycloak.testsuite</groupId>
<artifactId > integration-arquillian-servers-auth-server-undertow</artifactId>
<version > ${project.version}</version>
<type > jar</type>
<outputDirectory > ${containers.home}/auth-server-undertow</outputDirectory>
</artifactItem>
</artifactItems>
<includes > *.jks,*.crt,*.truststore,*.crl,*.key,certs/clients/*</includes>
2020-06-08 20:57:22 +00:00
<skip > ${auth.server.undertow.skip.unpack}</skip>
</configuration>
</execution>
<execution >
<id > unpack-quarkus-server</id>
<phase > generate-test-resources</phase>
<goals >
<goal > unpack</goal>
</goals>
<configuration >
<artifactItems >
<artifactItem >
<groupId > org.keycloak.testsuite</groupId>
<artifactId > integration-arquillian-servers-auth-server-quarkus</artifactId>
<version > ${project.version}</version>
<type > zip</type>
<outputDirectory > ${containers.home}</outputDirectory>
</artifactItem>
</artifactItems>
<skip > ${auth.server.quarkus.skip.unpack}</skip>
2019-12-10 13:42:02 +00:00
</configuration>
</execution>
<execution >
2018-04-19 07:08:36 +00:00
<id > unpack-app-server</id>
<phase > generate-test-resources</phase>
<goals >
<goal > unpack</goal>
</goals>
<configuration >
<artifactItems >
<artifactItem >
<groupId > org.keycloak.testsuite</groupId>
<artifactId > ${app.server.artifactId}</artifactId>
<version > ${project.version}</version>
<type > zip</type>
</artifactItem>
</artifactItems>
<outputDirectory > ${containers.home}</outputDirectory>
<skip > ${app.server.skip.unpack}</skip>
</configuration>
</execution>
2018-05-31 08:44:40 +00:00
<execution >
<id > example-wars</id>
<phase > generate-test-resources</phase>
<goals >
<goal > copy</goal>
</goals>
<configuration >
2019-02-15 20:00:46 +00:00
<skip > ${skip.copy.example.wars}</skip>
2018-05-31 08:44:40 +00:00
<artifactItems >
<artifactItem >
<groupId > org.keycloak.testsuite</groupId>
<artifactId > hello-world-authz-service</artifactId>
<version > ${project.version}</version>
<type > war</type>
</artifactItem>
<artifactItem >
<groupId > org.keycloak.testsuite</groupId>
<artifactId > photoz-html5-client</artifactId>
<version > ${project.version}</version>
<type > war</type>
</artifactItem>
<artifactItem >
<groupId > org.keycloak.testsuite</groupId>
<artifactId > photoz-restful-api</artifactId>
<version > ${project.version}</version>
<type > war</type>
</artifactItem>
<artifactItem >
<groupId > org.keycloak.testsuite</groupId>
<artifactId > servlet-authz-app</artifactId>
<version > ${project.version}</version>
<type > war</type>
</artifactItem>
<artifactItem >
<groupId > org.keycloak.testsuite</groupId>
<artifactId > servlet-policy-enforcer</artifactId>
<version > ${project.version}</version>
<type > war</type>
</artifactItem>
<artifactItem >
<groupId > org.keycloak.testsuite</groupId>
<artifactId > integration-arquillian-test-apps-cors-angular-product</artifactId>
<version > ${project.version}</version>
<type > war</type>
</artifactItem>
<artifactItem >
<groupId > org.keycloak.testsuite</groupId>
<artifactId > integration-arquillian-test-apps-cors-database-service</artifactId>
<version > ${project.version}</version>
<type > war</type>
</artifactItem>
</artifactItems>
<outputDirectory > ${examples.home}</outputDirectory>
<overWriteIfNewer > true</overWriteIfNewer>
</configuration>
</execution>
<execution >
<id > test-apps-realms</id>
<phase > generate-test-resources</phase>
<goals >
<goal > unpack</goal>
</goals>
<configuration >
<artifactItems >
<artifactItem >
<groupId > org.keycloak.testsuite</groupId>
<artifactId > integration-arquillian-test-apps-dist</artifactId>
<version > ${project.version}</version>
<type > zip</type>
<includes > **/*realm.json,**/*authz-service.json,**/testsaml.json,**/*-keycloak.json</includes>
</artifactItem>
</artifactItems>
<outputDirectory > ${examples.home}</outputDirectory>
<overWriteIfNewer > true</overWriteIfNewer>
</configuration>
</execution>
2016-03-24 10:24:21 +00:00
</executions>
2015-09-18 12:27:28 +00:00
</plugin>
2015-12-22 12:04:39 +00:00
<plugin >
<artifactId > maven-resources-plugin</artifactId>
<executions >
<execution >
<id > copy-admin-user-json-file</id>
2016-03-24 10:24:21 +00:00
<phase > generate-resources</phase>
2015-12-22 12:04:39 +00:00
<goals >
<goal > copy-resources</goal>
</goals>
<configuration >
2016-09-02 11:55:49 +00:00
<skip > ${skip.add.user.json}</skip>
2016-03-24 10:24:21 +00:00
<outputDirectory > ${auth.server.config.dir}</outputDirectory>
2015-12-22 12:04:39 +00:00
<resources >
<resource >
<directory > src/test/resources</directory>
<includes >
<include > keycloak-add-user.json</include>
</includes>
<filtering > true</filtering>
</resource>
</resources>
</configuration>
</execution>
2017-03-09 10:11:44 +00:00
<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 >
2020-03-10 09:38:15 +00:00
<include > keystore/**</include>
2017-03-09 10:11:44 +00:00
</includes>
</resource>
</resources>
</configuration>
</execution>
2018-05-31 08:44:40 +00:00
<execution >
<id > example-realms</id>
<phase > generate-test-resources</phase>
<goals >
<goal > copy-resources</goal>
</goals>
<configuration >
<skip > ${app.server.skip.unpack}</skip>
<outputDirectory > ${examples.home}/example-realms</outputDirectory>
<overWriteIfNewer > true</overWriteIfNewer>
<resources >
<resource >
<directory > ${examples.basedir}</directory>
<filtering > true</filtering>
<includes >
<include > **/*.json</include>
</includes>
</resource>
</resources>
</configuration>
</execution>
2015-12-22 12:04:39 +00:00
</executions>
</plugin>
2017-06-19 22:29:19 +00:00
<plugin >
<artifactId > maven-antrun-plugin</artifactId>
<executions >
<execution >
2018-07-26 11:37:47 +00:00
<id > clean-second-cache-server-arquillian-bug-workaround</id> <!-- https://issues.jboss.org/browse/WFARQ - 44 -->
2017-06-19 22:29:19 +00:00
<phase > process-test-resources</phase>
<goals > <goal > run</goal> </goals>
<configuration >
2017-10-11 10:20:06 +00:00
<skip > ${skip.clean.second.cache}</skip>
2017-06-19 22:29:19 +00:00
<target >
<echo > ${cache.server.home}/standalone-dc-2</echo>
<delete failonerror= "false" dir= "${cache.server.home}/standalone-dc-2" />
<mkdir dir= "${cache.server.home}/standalone-dc-2/deployments" />
</target>
</configuration>
</execution>
</executions>
</plugin>
2016-03-24 10:24:21 +00:00
<plugin >
<artifactId > maven-surefire-plugin</artifactId>
<configuration >
<systemPropertyVariables >
<project.build.directory > ${project.build.directory}</project.build.directory>
<arquillian.xml > ${project.build.directory}/dependency/arquillian.xml</arquillian.xml>
2018-08-07 09:10:24 +00:00
<log4j.configuration > file:${project.build.directory}/dependency/log4j.properties</log4j.configuration> <!-- for the logging to properly work with tests in the 'other' module -->
2016-03-31 16:16:03 +00:00
2016-03-24 10:24:21 +00:00
<auth.server > ${auth.server}</auth.server>
<auth.server.container > ${auth.server.container}</auth.server.container>
2016-03-31 16:16:03 +00:00
2016-03-24 10:24:21 +00:00
<auth.server.undertow > ${auth.server.undertow}</auth.server.undertow>
<auth.server.jboss > ${auth.server.jboss}</auth.server.jboss>
<auth.server.memory.settings > ${auth.server.memory.settings}</auth.server.memory.settings>
2016-03-31 16:16:03 +00:00
2016-03-24 10:24:21 +00:00
<auth.server.home > ${auth.server.home}</auth.server.home>
<auth.server.java.home > ${auth.server.java.home}</auth.server.java.home>
2016-04-06 07:11:06 +00:00
<auth.server.host > ${auth.server.host}</auth.server.host>
2019-11-14 09:50:18 +00:00
<auth.server.management.host > ${auth.server.management.host}</auth.server.management.host>
2018-08-07 09:10:24 +00:00
<auth.server.browserHost > ${auth.server.browserHost}</auth.server.browserHost>
2016-03-24 10:24:21 +00:00
<auth.server.port.offset > ${auth.server.port.offset}</auth.server.port.offset>
<auth.server.http.port > ${auth.server.http.port}</auth.server.http.port>
2016-03-24 15:08:36 +00:00
<auth.server.events.http.port > ${auth.server.events.http.port}</auth.server.events.http.port>
2016-03-24 10:24:21 +00:00
<auth.server.https.port > ${auth.server.https.port}</auth.server.https.port>
<auth.server.management.port > ${auth.server.management.port}</auth.server.management.port>
<auth.server.management.port.jmx > ${auth.server.management.port.jmx}</auth.server.management.port.jmx>
<auth.server.ssl.required > ${auth.server.ssl.required}</auth.server.ssl.required>
<auth.server.jboss.startup.timeout > ${auth.server.jboss.startup.timeout}</auth.server.jboss.startup.timeout>
<auth.server.config.dir > ${auth.server.config.dir}</auth.server.config.dir>
2016-05-23 11:17:20 +00:00
<auth.server.config.property.name > ${auth.server.config.property.name}</auth.server.config.property.name>
<auth.server.config.property.value > ${auth.server.config.property.value}</auth.server.config.property.value>
<auth.server.adapter.impl.class > ${auth.server.adapter.impl.class}</auth.server.adapter.impl.class>
2017-06-07 11:44:18 +00:00
<auth.server.jboss.jvm.debug.args > ${auth.server.jboss.jvm.debug.args}</auth.server.jboss.jvm.debug.args>
2018-02-23 11:46:48 +00:00
<auth.server.truststore > ${auth.server.truststore}</auth.server.truststore>
<auth.server.truststore.password > ${auth.server.truststore.password}</auth.server.truststore.password>
2020-05-26 14:33:16 +00:00
<auth.server.keystore > ${auth.server.keystore}</auth.server.keystore>
<auth.server.keystore.password > ${auth.server.keystore.password}</auth.server.keystore.password>
2018-12-06 07:25:01 +00:00
<auth.server.jvm.args.extra > ${auth.server.jvm.args.extra}</auth.server.jvm.args.extra>
2017-09-21 13:01:01 +00:00
2016-11-02 14:51:06 +00:00
<auth.server.profile > ${auth.server.profile}</auth.server.profile>
2017-01-05 10:03:36 +00:00
<auth.server.feature > ${auth.server.feature}</auth.server.feature>
2017-09-21 13:01:01 +00:00
2020-06-03 08:04:48 +00:00
<auth.server.host2 > ${auth.server.host2}</auth.server.host2> <!-- for broker tests -->
2018-04-19 07:08:36 +00:00
<app.server > ${app.server}</app.server>
<app.server.home > ${app.server.home}</app.server.home>
2020-06-29 07:03:56 +00:00
<app.server.keystore.dir > ${app.server.keystore.dir}</app.server.keystore.dir>
2018-04-19 07:08:36 +00:00
<app.server.java.home > ${app.server.java.home}</app.server.java.home>
2018-06-12 07:57:39 +00:00
<app.server.memory.settings > ${app.server.memory.settings}</app.server.memory.settings>
2018-04-19 07:08:36 +00:00
<app.server.port.offset > ${app.server.port.offset}</app.server.port.offset>
<app.server.http.port > ${app.server.http.port}</app.server.http.port>
<app.server.https.port > ${app.server.https.port}</app.server.https.port>
<app.server.management.protocol > ${app.server.management.protocol}</app.server.management.protocol>
<app.server.management.port > ${app.server.management.port}</app.server.management.port>
<app.server.startup.timeout > ${app.server.startup.timeout}</app.server.startup.timeout>
<app.server.reverse-proxy.port.offset > ${app.server.reverse-proxy.port.offset}</app.server.reverse-proxy.port.offset>
<app.server.1.port.offset > ${app.server.1.port.offset}</app.server.1.port.offset>
<app.server.1.management.port > ${app.server.1.management.port}</app.server.1.management.port>
<app.server.2.port.offset > ${app.server.2.port.offset}</app.server.2.port.offset>
<app.server.2.management.port > ${app.server.2.management.port}</app.server.2.management.port>
2018-04-23 11:42:31 +00:00
<app.server.jboss.jvm.debug.args > ${app.server.jboss.jvm.debug.args}</app.server.jboss.jvm.debug.args>
2020-05-26 14:33:16 +00:00
<app.server.truststore > ${app.server.truststore}</app.server.truststore>
<app.server.truststore.password > ${app.server.truststore.password}</app.server.truststore.password>
<app.server.keystore > ${app.server.keystore}</app.server.keystore>
<app.server.keystore.password > ${app.server.keystore.password}</app.server.keystore.password>
2020-06-03 22:21:51 +00:00
<app.server.1.jboss.jvm.debug.args > ${app.server.1.jboss.jvm.debug.args}</app.server.1.jboss.jvm.debug.args>
<app.server.2.jboss.jvm.debug.args > ${app.server.2.jboss.jvm.debug.args}</app.server.2.jboss.jvm.debug.args>
2018-12-06 07:25:01 +00:00
<app.server.jvm.args.extra > ${app.server.jvm.args.extra}</app.server.jvm.args.extra>
2020-06-29 07:03:56 +00:00
<tomcat.javax.net.ssl.properties > ${tomcat.javax.net.ssl.properties}</tomcat.javax.net.ssl.properties>
2018-04-19 07:08:36 +00:00
2016-03-24 10:24:21 +00:00
<frontend.console.output > ${frontend.console.output}</frontend.console.output>
<backends.console.output > ${backend.console.output}</backends.console.output>
2016-03-31 16:16:03 +00:00
2016-04-06 07:11:06 +00:00
<auth.server.remote > ${auth.server.remote}</auth.server.remote>
2020-03-06 13:29:55 +00:00
<auth.server.quarkus > ${auth.server.quarkus}</auth.server.quarkus>
2016-04-06 07:11:06 +00:00
2016-03-24 10:24:21 +00:00
<adapter.test.props > ${adapter.test.props}</adapter.test.props>
2018-04-23 11:42:31 +00:00
<examples.home > ${examples.home}</examples.home>
<examples.version.suffix > ${examples.version.suffix}</examples.version.suffix>
2017-09-07 13:24:10 +00:00
<kie.maven.settings > ${kie.maven.settings}</kie.maven.settings>
2017-09-21 13:01:01 +00:00
2016-03-31 16:16:03 +00:00
<testsuite.constants > ${testsuite.constants}</testsuite.constants>
2016-07-12 13:30:33 +00:00
<cli.log.output > ${cli.log.output}</cli.log.output>
<test.intermittent > ${test.intermittent}</test.intermittent>
2016-03-31 16:16:03 +00:00
2021-05-27 16:02:52 +00:00
<default.modular.jvm.options > ${default.modular.jvm.options}</default.modular.jvm.options>
2020-05-26 14:33:16 +00:00
<dependency.keystore.root > ${dependency.keystore.root}</dependency.keystore.root>
<dependency.truststore > ${dependency.truststore}</dependency.truststore>
<dependency.truststore.password > ${dependency.truststore.password}</dependency.truststore.password>
<dependency.keystore > ${dependency.keystore}</dependency.keystore>
<dependency.keystore.password > ${dependency.keystore.password}</dependency.keystore.password>
2016-03-24 10:24:21 +00:00
<browser > ${browser}</browser>
2020-06-10 14:24:24 +00:00
<browser.strict.cookies > ${browser.strict.cookies}</browser.strict.cookies>
2018-02-26 09:49:05 +00:00
<js.browser > ${js.browser}</js.browser>
<js.chromeArguments > ${js.chromeArguments}</js.chromeArguments>
2017-01-31 13:49:54 +00:00
<htmlUnitBrowserVersion > ${htmlUnitBrowserVersion}</htmlUnitBrowserVersion>
2017-08-23 13:36:29 +00:00
<webdriverDownloadBinaries > ${webdriverDownloadBinaries}</webdriverDownloadBinaries>
2018-03-02 17:03:54 +00:00
<droneInstantiationTimeoutInSeconds > ${droneInstantiationTimeoutInSeconds}</droneInstantiationTimeoutInSeconds>
2017-08-23 13:36:29 +00:00
2017-09-18 07:52:45 +00:00
<github.username > ${github.username}</github.username>
<github.secretToken > ${github.secretToken}</github.secretToken>
<ieDriverArch > ${ieDriverArch}</ieDriverArch>
2019-09-24 10:02:58 +00:00
<ieDriverVersion > ${ieDriverVersion}</ieDriverVersion>
2017-09-18 07:52:45 +00:00
2016-03-24 10:24:21 +00:00
<firefox_binary > ${firefox_binary}</firefox_binary>
2018-03-02 16:33:48 +00:00
<chromeBinary > ${chromeBinary}</chromeBinary>
2017-08-23 13:36:29 +00:00
<chromeArguments > ${chromeArguments}</chromeArguments>
2019-09-24 10:02:58 +00:00
<chromeDriverVersion > ${chromeDriverVersion}</chromeDriverVersion>
2017-08-23 13:36:29 +00:00
<firefoxLegacyDriver > ${firefoxLegacyDriver}</firefoxLegacyDriver>
2019-09-24 10:02:58 +00:00
<firefoxDriverVersion > ${firefoxDriverVersion}</firefoxDriverVersion>
2020-05-21 12:30:09 +00:00
<firefoxUserPreferences > ${firefoxUserPreferences}</firefoxUserPreferences>
2020-06-03 08:04:48 +00:00
<firefoxHeadless > ${firefoxHeadless}</firefoxHeadless>
2016-03-24 10:24:21 +00:00
2018-08-07 09:10:24 +00:00
<appium.platformName > ${appium.platformName}</appium.platformName>
<appium.deviceName > ${appium.deviceName}</appium.deviceName>
<appium.browserName > ${appium.browserName}</appium.browserName>
<appium.avd > ${appium.avd}</appium.avd>
<appium.automationName > ${appium.automationName}</appium.automationName>
<appium.noReset > ${appium.noReset}</appium.noReset>
<appium.fullReset > ${appium.fullReset}</appium.fullReset>
2016-07-18 12:01:26 +00:00
<project.version > ${project.version}</project.version>
2016-07-26 15:47:28 +00:00
<client.certificate.ca.path > ${client.certificate.ca.path}</client.certificate.ca.path>
2020-09-02 13:29:07 +00:00
<client.certificate.file > ${client.certificate.file}</client.certificate.file>
2016-07-26 15:47:28 +00:00
<client.certificate.keystore > ${client.certificate.keystore}</client.certificate.keystore>
<client.certificate.keystore.passphrase > ${client.certificate.keystore.passphrase}</client.certificate.keystore.passphrase>
<client.key.file > ${client.key.file}</client.key.file>
<client.key.passphrase > ${client.key.passphrase}</client.key.passphrase>
2020-09-02 13:29:07 +00:00
<client.truststore > ${client.truststore}</client.truststore>
<client.truststore.passphrase > ${client.truststore.passphrase}</client.truststore.passphrase>
2016-07-26 15:47:28 +00:00
2018-06-05 00:30:09 +00:00
<!-- KEYCLOAK - 6771 Certificate Bound Token -->
<hok.client.certificate.keystore > ${hok.client.certificate.keystore}</hok.client.certificate.keystore>
<hok.client.certificate.keystore.passphrase > ${hok.client.certificate.keystore.passphrase}</hok.client.certificate.keystore.passphrase>
2021-09-23 07:33:41 +00:00
<!-- Client certificate with the format suitable for OpenBanking Brasil -->
<obb.client.certificate.keystore > ${obb.client.certificate.keystore}</obb.client.certificate.keystore>
<obb.client.certificate.keystore.passphrase > ${obb.client.certificate.keystore.passphrase}</obb.client.certificate.keystore.passphrase>
2016-07-26 15:47:28 +00:00
<auth.server.ocsp.responder.enabled > ${auth.server.ocsp.responder.enabled}</auth.server.ocsp.responder.enabled>
2017-09-21 13:01:01 +00:00
2018-09-24 08:49:47 +00:00
<!-- cluster properties -->
<auth.server.cluster > ${auth.server.cluster}</auth.server.cluster>
<auth.server.undertow.cluster > ${auth.server.undertow.cluster}</auth.server.undertow.cluster>
<auth.server.jboss.cluster > ${auth.server.jboss.cluster}</auth.server.jboss.cluster>
2020-04-30 08:19:57 +00:00
<auth.server.jboss.legacy > ${auth.server.jboss.legacy}</auth.server.jboss.legacy>
2020-06-08 20:57:22 +00:00
<auth.server.quarkus.cluster > ${auth.server.quarkus.cluster}</auth.server.quarkus.cluster>
2020-10-23 01:14:17 +00:00
<auth.server.quarkus.cluster.config > ${auth.server.quarkus.cluster.config}</auth.server.quarkus.cluster.config>
2018-09-24 08:49:47 +00:00
2017-06-15 09:39:38 +00:00
<!-- cache server properties -->
<auth.server.crossdc > ${auth.server.crossdc}</auth.server.crossdc>
<auth.server.undertow.crossdc > ${auth.server.undertow.crossdc}</auth.server.undertow.crossdc>
2017-09-21 13:01:01 +00:00
<auth.server.jboss.crossdc > ${auth.server.jboss.crossdc}</auth.server.jboss.crossdc>
2017-08-09 14:38:57 +00:00
<cache.server.lifecycle.skip > ${cache.server.lifecycle.skip}</cache.server.lifecycle.skip>
2017-06-15 09:39:38 +00:00
2021-08-17 11:30:52 +00:00
<!-- hot - rod - store properties -->
<hotrod.store.enabled > ${hotrod.store.enabled}</hotrod.store.enabled>
<hotrod.store.port.offset > ${hotrod.store.port.offset}</hotrod.store.port.offset>
<hotrod.store.management.port > ${hotrod.store.management.port}</hotrod.store.management.port>
2017-06-15 09:39:38 +00:00
<cache.server > ${cache.server}</cache.server>
2020-08-20 14:51:01 +00:00
<cache.server.legacy > ${cache.server.legacy}</cache.server.legacy>
2018-04-23 11:42:31 +00:00
<cache.server.1.port.offset > ${cache.server.1.port.offset}</cache.server.1.port.offset>
2017-06-15 09:39:38 +00:00
<cache.server.home > ${cache.server.home}</cache.server.home>
<cache.server.console.output > ${cache.server.console.output}</cache.server.console.output>
<cache.server.management.port > ${cache.server.management.port}</cache.server.management.port>
2017-06-19 22:29:19 +00:00
<cache.server.2.port.offset > ${cache.server.2.port.offset}</cache.server.2.port.offset>
<cache.server.2.management.port > ${cache.server.2.management.port}</cache.server.2.management.port>
2020-08-20 14:51:01 +00:00
<cache.server.java.home > ${cache.server.java.home}</cache.server.java.home>
<cache.server.auth > ${cache.server.auth}</cache.server.auth>
2017-06-15 09:39:38 +00:00
<keycloak.connectionsInfinispan.remoteStorePort > ${keycloak.connectionsInfinispan.remoteStorePort}</keycloak.connectionsInfinispan.remoteStorePort>
2017-06-19 22:29:19 +00:00
<keycloak.connectionsInfinispan.remoteStorePort.2 > ${keycloak.connectionsInfinispan.remoteStorePort.2}</keycloak.connectionsInfinispan.remoteStorePort.2>
2017-06-15 09:39:38 +00:00
<keycloak.connectionsInfinispan.remoteStoreServer > ${keycloak.connectionsInfinispan.remoteStoreServer}</keycloak.connectionsInfinispan.remoteStoreServer>
2021-03-11 08:35:37 +00:00
<keycloak.connectionsInfinispan.sessionsOwners > ${keycloak.connectionsInfinispan.sessionsOwners}</keycloak.connectionsInfinispan.sessionsOwners>
2017-08-07 14:31:20 +00:00
<keycloak.testsuite.logging.pattern > ${keycloak.testsuite.logging.pattern}</keycloak.testsuite.logging.pattern>
2017-06-15 09:39:38 +00:00
<keycloak.connectionsJpa.url.crossdc > ${keycloak.connectionsJpa.url.crossdc}</keycloak.connectionsJpa.url.crossdc>
2017-10-17 18:41:44 +00:00
<!-- used by PasswordPolicyTest.testBlacklistPasswordPolicyWithTestBlacklist, see KEYCLOAK - 5244 -->
2017-11-08 07:03:10 +00:00
<keycloak.password.blacklists.path > ${project.build.directory}/dependency/password-blacklists</keycloak.password.blacklists.path>
2019-02-11 10:58:48 +00:00
<keycloak.connectionsJpa.driver > ${keycloak.connectionsJpa.driver}</keycloak.connectionsJpa.driver>
<keycloak.connectionsJpa.url > ${keycloak.connectionsJpa.url}</keycloak.connectionsJpa.url>
<keycloak.connectionsJpa.database > ${keycloak.connectionsJpa.database}</keycloak.connectionsJpa.database>
<keycloak.connectionsJpa.user > ${keycloak.connectionsJpa.user}</keycloak.connectionsJpa.user>
<keycloak.connectionsJpa.password > ${keycloak.connectionsJpa.password}</keycloak.connectionsJpa.password>
2020-09-02 13:29:07 +00:00
<!--
~ Used for Wildfly Elytron 1.13.0.CR3+ RESTEasy client SSL truststore configuration.
~ See KEYCLOAK-15692, ELY-1891 issues & PRs of EAP7-1219 issue for details.
-->
2021-03-14 10:43:17 +00:00
<wildfly-client.config.path > ${project.build.directory}${file.separator}dependency${file.separator}wildfly-config.xml</wildfly-client.config.path>
2016-03-24 10:24:21 +00:00
</systemPropertyVariables>
<properties >
<property >
<name > listener</name>
2017-06-30 09:20:01 +00:00
<value > org.keycloak.testsuite.util.TestEventsLogger,org.keycloak.testsuite.util.NonIDERunListener</value>
2016-03-24 10:24:21 +00:00
</property>
</properties>
</configuration>
</plugin>
2018-05-31 08:44:40 +00:00
<plugin >
<groupId > org.commonjava.maven.plugins</groupId>
<artifactId > directory-maven-plugin</artifactId>
<executions >
<execution >
<id > keycloak-parent-basedir</id>
<goals >
<goal > directory-of</goal>
</goals>
<phase > initialize</phase>
<configuration >
<property > keycloak-parent.basedir</property>
<project >
<groupId > org.keycloak</groupId>
<artifactId > keycloak-parent</artifactId>
</project>
</configuration>
</execution>
</executions>
</plugin>
2015-09-18 12:27:28 +00:00
</plugins>
2016-03-31 16:16:03 +00:00
</pluginManagement>
2018-04-23 11:42:31 +00:00
<plugins >
<plugin >
<!--
Required for Filter Adapter tests - this plugin has to be here to prevent
org.jboss.shrinkwrap.resolver.api.maven.InvalidEnvironmentException
ShrinkWrap Maven Resolver Plugin sets automatically following properties:
maven.execution.pom-file
maven.execution.offline
maven.execution.user-settings
maven.execution.global-settings
maven.execution.active-profiles
-->
<groupId > org.jboss.shrinkwrap.resolver</groupId>
<artifactId > shrinkwrap-resolver-maven-plugin</artifactId>
<version > ${shrinkwrap-resolver.version}</version>
<executions >
<execution >
<goals >
<goal > propagate-execution-context</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
2015-09-18 12:27:28 +00:00
</build>
<profiles >
2016-02-09 04:21:11 +00:00
2016-04-06 07:11:06 +00:00
<profile >
<id > auth-server-remote</id>
<properties >
<auth.server > remote</auth.server>
<auth.server.remote > true</auth.server.remote>
<auth.server.undertow > false</auth.server.undertow>
<auth.server.jboss.skip.unpack > true</auth.server.jboss.skip.unpack>
</properties>
<dependencies >
<dependency >
2016-11-09 02:58:02 +00:00
<groupId > org.wildfly.arquillian</groupId>
2016-04-06 07:11:06 +00:00
<artifactId > wildfly-arquillian-container-remote</artifactId>
</dependency>
2018-01-18 18:18:30 +00:00
<dependency >
<groupId > org.wildfly.core</groupId>
<artifactId > wildfly-cli</artifactId>
<scope > test</scope>
<version > ${wildfly.core.version}</version>
</dependency>
2016-04-06 07:11:06 +00:00
</dependencies>
</profile>
2017-09-21 13:01:01 +00:00
2020-03-06 13:29:55 +00:00
<profile >
<id > auth-server-quarkus</id>
<properties >
<auth.server > quarkus</auth.server>
<auth.server.quarkus > true</auth.server.quarkus>
<auth.server.jboss > false</auth.server.jboss>
<auth.server.undertow > false</auth.server.undertow>
2020-06-05 22:23:12 +00:00
<auth.server.config.dir > ${auth.server.home}/conf</auth.server.config.dir>
2020-06-08 20:57:22 +00:00
<auth.server.quarkus.skip.unpack > false</auth.server.quarkus.skip.unpack>
<auth.server.undertow.skip.unpack > true</auth.server.undertow.skip.unpack>
<auth.server.jboss.skip.unpack > true</auth.server.jboss.skip.unpack>
</properties>
</profile>
<profile >
<id > auth-server-cluster-quarkus</id>
<properties >
<!-- disable exclusion pattern for cluster test which is enabled by default in base/pom.xml -->
<exclude.cluster > -</exclude.cluster>
<auth.server.cluster > true</auth.server.cluster>
<auth.server.quarkus.cluster > true</auth.server.quarkus.cluster>
2020-10-23 01:14:17 +00:00
<auth.server.quarkus.cluster.config > ha</auth.server.quarkus.cluster.config>
2020-06-08 20:57:22 +00:00
<auth.server > quarkus</auth.server>
<auth.server.quarkus > true</auth.server.quarkus>
<auth.server.jboss > false</auth.server.jboss>
<auth.server.undertow > false</auth.server.undertow>
<auth.server.config.dir > ${auth.server.home}/conf</auth.server.config.dir>
<auth.server.quarkus.skip.unpack > false</auth.server.quarkus.skip.unpack>
<auth.server.undertow.skip.unpack > true</auth.server.undertow.skip.unpack>
<auth.server.jboss.skip.unpack > true</auth.server.jboss.skip.unpack>
2021-03-11 08:35:37 +00:00
<keycloak.connectionsInfinispan.sessionsOwners > 2</keycloak.connectionsInfinispan.sessionsOwners>
2020-03-06 13:29:55 +00:00
</properties>
2020-06-08 20:57:22 +00:00
<build >
<plugins >
<plugin >
<artifactId > maven-surefire-plugin</artifactId>
<configuration >
<systemPropertyVariables >
<pageload.timeout > 20000</pageload.timeout>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
</build>
2020-03-06 13:29:55 +00:00
</profile>
2016-02-09 04:21:11 +00:00
<profile >
2016-03-24 10:24:21 +00:00
<id > auth-server-wildfly</id>
2016-02-09 04:21:11 +00:00
<properties >
2016-03-24 10:24:21 +00:00
<auth.server > wildfly</auth.server>
<auth.server.jboss > true</auth.server.jboss>
<auth.server.undertow > false</auth.server.undertow>
2016-05-23 11:17:20 +00:00
<auth.server.config.property.value > standalone.xml</auth.server.config.property.value>
2016-03-24 10:24:21 +00:00
<auth.server.config.dir > ${auth.server.home}/standalone/configuration</auth.server.config.dir>
2019-04-26 21:16:50 +00:00
<surefire.memory.Xmx > 1024m</surefire.memory.Xmx>
2016-02-09 04:21:11 +00:00
</properties>
2016-03-24 10:24:21 +00:00
<dependencies >
<dependency >
2016-05-23 11:17:20 +00:00
<groupId > org.wildfly.arquillian</groupId>
2016-03-24 10:24:21 +00:00
<artifactId > wildfly-arquillian-container-managed</artifactId>
</dependency>
2017-10-20 12:10:06 +00:00
<dependency >
<groupId > org.wildfly.core</groupId>
<artifactId > wildfly-cli</artifactId>
<scope > test</scope>
<version > ${wildfly.core.version}</version>
</dependency>
2016-03-24 10:24:21 +00:00
</dependencies>
2016-02-09 04:21:11 +00:00
</profile>
2016-03-31 16:16:03 +00:00
2016-02-09 04:21:11 +00:00
<profile >
2016-03-24 10:24:21 +00:00
<id > auth-server-eap</id>
2016-02-09 04:21:11 +00:00
<properties >
2016-03-24 10:24:21 +00:00
<auth.server > eap</auth.server>
<auth.server.jboss > true</auth.server.jboss>
<auth.server.undertow > false</auth.server.undertow>
2016-05-23 11:17:20 +00:00
<auth.server.config.property.value > standalone.xml</auth.server.config.property.value>
2016-03-24 10:24:21 +00:00
<auth.server.config.dir > ${auth.server.home}/standalone/configuration</auth.server.config.dir>
2019-04-26 21:16:50 +00:00
<surefire.memory.Xmx > 1024m</surefire.memory.Xmx>
2016-02-09 04:21:11 +00:00
</properties>
2016-03-24 10:24:21 +00:00
<dependencies >
<dependency >
2016-05-23 11:17:20 +00:00
<groupId > org.wildfly.arquillian</groupId>
2016-03-24 10:24:21 +00:00
<artifactId > wildfly-arquillian-container-managed</artifactId>
</dependency>
2017-10-20 12:10:06 +00:00
<dependency >
<groupId > org.wildfly.core</groupId>
<artifactId > wildfly-cli</artifactId>
<scope > test</scope>
2017-11-02 11:59:53 +00:00
<version > ${wildfly.core.version}</version>
2017-10-20 12:10:06 +00:00
</dependency>
2016-03-24 10:24:21 +00:00
</dependencies>
2016-02-09 04:21:11 +00:00
</profile>
2016-03-31 16:16:03 +00:00
2017-09-21 13:01:01 +00:00
<profile >
<id > auth-servers-crossdc-undertow</id>
<properties >
<auth.servers.crossdc > true</auth.servers.crossdc>
<auth.server.undertow.crossdc > true</auth.server.undertow.crossdc>
<node.name > undertow</node.name>
2017-10-09 11:03:39 +00:00
<cache.server.crossdc1.jvm.debug.port > 6001</cache.server.crossdc1.jvm.debug.port>
<cache.server.crossdc2.jvm.debug.port > 6002</cache.server.crossdc2.jvm.debug.port>
<!-- default is "n", possible to override by e.g. - Dcache.server.crossdc1.debug.suspend=y -->
<cache.server.crossdc1.debug.suspend > ${auth.server.debug.suspend}</cache.server.crossdc1.debug.suspend>
<cache.server.crossdc2.debug.suspend > ${auth.server.debug.suspend}</cache.server.crossdc2.debug.suspend>
2017-09-21 13:01:01 +00:00
</properties>
<build >
<plugins >
<plugin >
<artifactId > maven-enforcer-plugin</artifactId>
<executions >
<execution >
<id > enforce-profile-activation</id>
<goals >
<goal > enforce</goal>
</goals>
<configuration >
<rules >
<requireProperty >
2020-08-20 14:51:01 +00:00
<property > cache.server</property>
<message > Profile "auth-servers-crossdc-undertow" requires activation of one of the following profiles: "cache-server-infinispan", "cache-server-datagrid", "cache-server-legacy-infinispan", "cache-server-legacy-datagrid".</message>
2017-09-21 13:01:01 +00:00
</requireProperty>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin >
<artifactId > maven-surefire-plugin</artifactId>
<configuration >
<systemPropertyVariables >
<node.name > ${node.name}</node.name>
2017-10-05 08:33:50 +00:00
<pageload.timeout > 20000</pageload.timeout>
2017-10-09 11:03:39 +00:00
<!-- TODO Same props config is duplicated for undertow. Use separate profile? -->
<cache.server.crossdc1.jvm.debug.args >
-agentlib:jdwp=transport=dt_socket,server=y,suspend=${cache.server.crossdc1.debug.suspend},address=localhost:${cache.server.crossdc1.jvm.debug.port}
</cache.server.crossdc1.jvm.debug.args>
<cache.server.crossdc2.jvm.debug.args >
-agentlib:jdwp=transport=dt_socket,server=y,suspend=${cache.server.crossdc2.debug.suspend},address=localhost:${cache.server.crossdc2.jvm.debug.port}
</cache.server.crossdc2.jvm.debug.args>
2018-09-24 08:49:47 +00:00
<keycloak.connectionsInfinispan.hotrodProtocolVersion > ${keycloak.connectionsInfinispan.hotrodProtocolVersion}</keycloak.connectionsInfinispan.hotrodProtocolVersion>
2017-09-21 13:01:01 +00:00
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile >
<id > auth-servers-crossdc-jboss</id>
<properties >
<auth.servers.crossdc > true</auth.servers.crossdc>
<auth.server.jboss.crossdc > true</auth.server.jboss.crossdc>
<node.name > jboss</node.name>
<auth.server.crossdc01.home > ${containers.home}/auth-server-${auth.server}-crossdc01</auth.server.crossdc01.home>
<auth.server.crossdc02.home > ${containers.home}/auth-server-${auth.server}-crossdc02</auth.server.crossdc02.home>
<auth.server.crossdc11.home > ${containers.home}/auth-server-${auth.server}-crossdc11</auth.server.crossdc11.home>
<auth.server.crossdc12.home > ${containers.home}/auth-server-${auth.server}-crossdc12</auth.server.crossdc12.home>
<!-- property specifies keycloak - add - user.json file destination -->
<auth.server.config.dir > ${auth.server.crossdc01.home}/standalone/configuration</auth.server.config.dir>
2017-10-09 11:03:39 +00:00
<cache.server.crossdc1.jvm.debug.port > 6001</cache.server.crossdc1.jvm.debug.port>
<cache.server.crossdc2.jvm.debug.port > 6002</cache.server.crossdc2.jvm.debug.port>
2017-09-21 13:01:01 +00:00
<auth.server.crossdc01.jvm.debug.port > 5001</auth.server.crossdc01.jvm.debug.port>
<auth.server.crossdc02.jvm.debug.port > 5002</auth.server.crossdc02.jvm.debug.port>
<auth.server.crossdc11.jvm.debug.port > 5011</auth.server.crossdc11.jvm.debug.port>
<auth.server.crossdc12.jvm.debug.port > 5012</auth.server.crossdc12.jvm.debug.port>
<!-- default is "n", possible to override by e.g. - Dauth.server.crossdc01.debug.suspend=y -->
2017-10-09 11:03:39 +00:00
<cache.server.crossdc1.debug.suspend > ${auth.server.debug.suspend}</cache.server.crossdc1.debug.suspend>
<cache.server.crossdc2.debug.suspend > ${auth.server.debug.suspend}</cache.server.crossdc2.debug.suspend>
2017-09-21 13:01:01 +00:00
<auth.server.crossdc01.debug.suspend > ${auth.server.debug.suspend}</auth.server.crossdc01.debug.suspend>
<auth.server.crossdc02.debug.suspend > ${auth.server.debug.suspend}</auth.server.crossdc02.debug.suspend>
<auth.server.crossdc11.debug.suspend > ${auth.server.debug.suspend}</auth.server.crossdc11.debug.suspend>
<auth.server.crossdc12.debug.suspend > ${auth.server.debug.suspend}</auth.server.crossdc12.debug.suspend>
</properties>
<build >
<pluginManagement >
<plugins >
<plugin >
<artifactId > maven-antrun-plugin</artifactId>
<executions >
<execution >
<id > copy-auth-server-crossdc-nodes</id>
<phase > process-resources</phase>
<goals >
<goal > run</goal>
</goals>
<configuration >
2017-10-11 10:20:06 +00:00
<skip > ${skip.copy.auth.crossdc.nodes}</skip>
2017-09-21 13:01:01 +00:00
<target >
<move todir= "${auth.server.crossdc01.home}" >
<fileset dir= "${auth.server.home}" />
</move>
<copy todir= "${auth.server.crossdc02.home}" >
<fileset dir= "${auth.server.crossdc01.home}" />
</copy>
<copy todir= "${auth.server.crossdc11.home}" >
<fileset dir= "${auth.server.crossdc01.home}" />
</copy>
<copy todir= "${auth.server.crossdc12.home}" >
<fileset dir= "${auth.server.crossdc01.home}" />
</copy>
</target>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
<plugins >
<plugin >
<artifactId > maven-enforcer-plugin</artifactId>
<executions >
<execution >
<id > enforce-profiles-activation</id>
<goals >
<goal > enforce</goal>
</goals>
<configuration >
<rules >
<requireProperty >
2020-08-20 14:51:01 +00:00
<property > cache.server</property>
<message > Profile "auth-servers-crossdc-jboss" requires activation of one of the following profiles: "cache-server-infinispan", "cache-server-datagrid", "cache-server-legacy-infinispan", "cache-server-legacy-datagrid".</message>
2017-09-21 13:01:01 +00:00
</requireProperty>
<requireProperty >
<property > auth.server.jboss</property>
<message > Profile "auth-servers-crossdc-jboss" requires activation of another profile: either "auth-server-wildfly" or "auth-server-eap".</message>
<regex > true</regex>
</requireProperty>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin >
<artifactId > maven-surefire-plugin</artifactId>
<configuration >
<systemPropertyVariables >
2017-10-05 08:33:50 +00:00
<pageload.timeout > 20000</pageload.timeout>
2017-09-21 13:01:01 +00:00
<run.h2 > true</run.h2>
<node.name > ${node.name}</node.name>
<auth.server.crossdc01.home > ${auth.server.crossdc01.home}</auth.server.crossdc01.home>
<auth.server.crossdc02.home > ${auth.server.crossdc02.home}</auth.server.crossdc02.home>
<auth.server.crossdc11.home > ${auth.server.crossdc11.home}</auth.server.crossdc11.home>
<auth.server.crossdc12.home > ${auth.server.crossdc12.home}</auth.server.crossdc12.home>
2018-03-08 10:19:30 +00:00
<keycloak.connectionsInfinispan.default.remoteStoreSecurityEnabled > ${keycloak.connectionsInfinispan.default.remoteStoreSecurityEnabled}</keycloak.connectionsInfinispan.default.remoteStoreSecurityEnabled>
2018-09-24 08:49:47 +00:00
<keycloak.connectionsInfinispan.hotrodProtocolVersion > ${keycloak.connectionsInfinispan.hotrodProtocolVersion}</keycloak.connectionsInfinispan.hotrodProtocolVersion>
2018-03-08 10:19:30 +00:00
2017-09-21 13:01:01 +00:00
<!-- 8101 -->
<auth.server.crossdc01.port.offset > 21</auth.server.crossdc01.port.offset>
<!-- 8102 -->
<auth.server.crossdc02.port.offset > 22</auth.server.crossdc02.port.offset>
<!-- 8111 -->
<auth.server.crossdc11.port.offset > 31</auth.server.crossdc11.port.offset>
<!-- 8112 -->
<auth.server.crossdc12.port.offset > 32</auth.server.crossdc12.port.offset>
<auth.server.crossdc01.management.port > 10011</auth.server.crossdc01.management.port>
<auth.server.crossdc02.management.port > 10012</auth.server.crossdc02.management.port>
<auth.server.crossdc11.management.port > 10021</auth.server.crossdc11.management.port>
<auth.server.crossdc12.management.port > 10022</auth.server.crossdc12.management.port>
2017-10-09 11:03:39 +00:00
<!-- TODO Same props config is duplicated for undertow. Use separate profile? -->
<cache.server.crossdc1.jvm.debug.args >
-agentlib:jdwp=transport=dt_socket,server=y,suspend=${cache.server.crossdc1.debug.suspend},address=localhost:${cache.server.crossdc1.jvm.debug.port}
</cache.server.crossdc1.jvm.debug.args>
<cache.server.crossdc2.jvm.debug.args >
-agentlib:jdwp=transport=dt_socket,server=y,suspend=${cache.server.crossdc2.debug.suspend},address=localhost:${cache.server.crossdc2.jvm.debug.port}
</cache.server.crossdc2.jvm.debug.args>
2017-09-21 13:01:01 +00:00
<auth.server.crossdc01.jvm.debug.args >
-agentlib:jdwp=transport=dt_socket,server=y,suspend=${auth.server.crossdc01.debug.suspend},address=localhost:${auth.server.crossdc01.jvm.debug.port}
</auth.server.crossdc01.jvm.debug.args>
<auth.server.crossdc02.jvm.debug.args >
-agentlib:jdwp=transport=dt_socket,server=y,suspend=${auth.server.crossdc02.debug.suspend},address=localhost:${auth.server.crossdc02.jvm.debug.port}
</auth.server.crossdc02.jvm.debug.args>
<auth.server.crossdc11.jvm.debug.args >
-agentlib:jdwp=transport=dt_socket,server=y,suspend=${auth.server.crossdc11.debug.suspend},address=localhost:${auth.server.crossdc11.jvm.debug.port}
</auth.server.crossdc11.jvm.debug.args>
<auth.server.crossdc12.jvm.debug.args >
-agentlib:jdwp=transport=dt_socket,server=y,suspend=${auth.server.crossdc12.debug.suspend},address=localhost:${auth.server.crossdc12.jvm.debug.port}
</auth.server.crossdc12.jvm.debug.args>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
</build>
</profile>
2017-05-29 07:02:57 +00:00
<profile >
2020-08-20 14:51:01 +00:00
<id > cache-server-legacy-infinispan</id>
2017-05-29 07:02:57 +00:00
<properties >
2020-08-20 14:51:01 +00:00
<cache.server > legacy-infinispan</cache.server>
<cache.server.legacy > true</cache.server.legacy>
2017-06-15 09:39:38 +00:00
<auth.server.crossdc > true</auth.server.crossdc>
2017-09-21 13:01:01 +00:00
<cache.server.config.dir > ${cache.server.home}/standalone/configuration</cache.server.config.dir>
2017-08-07 14:31:20 +00:00
<keycloak.testsuite.logging.pattern > %d{HH:mm:ss,SSS} [%t] %-5p [%c{1.}] %m%n</keycloak.testsuite.logging.pattern>
2018-03-08 10:19:30 +00:00
<keycloak.connectionsInfinispan.default.remoteStoreSecurityEnabled > false</keycloak.connectionsInfinispan.default.remoteStoreSecurityEnabled>
2020-06-10 12:50:45 +00:00
<keycloak.connectionsInfinispan.hotrodProtocolVersion > 2.9</keycloak.connectionsInfinispan.hotrodProtocolVersion>
2017-05-29 07:02:57 +00:00
</properties>
<dependencies >
<dependency >
<groupId > org.wildfly.arquillian</groupId>
<artifactId > wildfly-arquillian-container-managed</artifactId>
</dependency>
</dependencies>
<build >
<plugins >
<plugin >
<artifactId > maven-enforcer-plugin</artifactId>
<executions >
<execution >
2017-09-21 13:01:01 +00:00
<id > enforce-profile-activation</id>
2017-05-29 07:02:57 +00:00
<goals >
<goal > enforce</goal>
</goals>
<configuration >
<rules >
<requireProperty >
2017-09-21 13:01:01 +00:00
<property > auth.servers.crossdc</property>
2020-08-20 14:51:01 +00:00
<message > Profile "cache-server-legacy-infinispan" requires activation of another profile: either "auth-servers-crossdc-undertow" or "auth-servers-crossdc-jboss".</message>
2017-05-29 07:02:57 +00:00
</requireProperty>
</rules>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
<pluginManagement >
<plugins >
<plugin >
<artifactId > maven-dependency-plugin</artifactId>
<executions >
<execution >
<id > unpack-cache-server-infinispan</id>
<phase > generate-resources</phase>
<goals >
<goal > unpack</goal>
</goals>
<configuration >
<artifactItems >
<artifactItem >
<groupId > org.keycloak.testsuite</groupId>
2020-08-20 14:51:01 +00:00
<artifactId > integration-arquillian-servers-cache-server-legacy-infinispan</artifactId>
2017-05-29 07:02:57 +00:00
<version > ${project.version}</version>
<type > zip</type>
<outputDirectory > ${containers.home}</outputDirectory>
</artifactItem>
</artifactItems>
<overWriteIfNewer > true</overWriteIfNewer>
</configuration>
</execution>
</executions>
</plugin>
2017-06-15 09:39:38 +00:00
</plugins>
</pluginManagement>
</build>
</profile>
2017-09-21 13:01:01 +00:00
2017-06-15 09:39:38 +00:00
<profile >
2020-08-20 14:51:01 +00:00
<id > cache-server-legacy-datagrid</id>
2017-06-15 09:39:38 +00:00
<properties >
2020-08-20 14:51:01 +00:00
<cache.server > legacy-datagrid</cache.server>
2017-06-15 09:39:38 +00:00
<auth.server.crossdc > true</auth.server.crossdc>
2020-08-20 14:51:01 +00:00
<cache.server.legacy > true</cache.server.legacy>
2017-06-15 09:39:38 +00:00
<cache.server.config.dir > ${cache.server.home}/standalone/configuration</cache.server.config.dir>
2017-08-07 14:31:20 +00:00
<keycloak.testsuite.logging.pattern > %d{HH:mm:ss,SSS} [%t] %-5p [%c{1.}] %m%n</keycloak.testsuite.logging.pattern>
2018-08-09 13:01:54 +00:00
<keycloak.connectionsInfinispan.default.remoteStoreSecurityEnabled > false</keycloak.connectionsInfinispan.default.remoteStoreSecurityEnabled>
2020-06-10 12:50:45 +00:00
<keycloak.connectionsInfinispan.hotrodProtocolVersion > 2.9</keycloak.connectionsInfinispan.hotrodProtocolVersion>
2017-06-15 09:39:38 +00:00
</properties>
<dependencies >
<dependency >
<groupId > org.wildfly.arquillian</groupId>
<artifactId > wildfly-arquillian-container-managed</artifactId>
</dependency>
</dependencies>
<build >
<plugins >
<plugin >
<artifactId > maven-enforcer-plugin</artifactId>
<executions >
<execution >
2017-09-21 13:01:01 +00:00
<id > enforce-profile-activation</id>
2017-06-15 09:39:38 +00:00
<goals >
<goal > enforce</goal>
</goals>
<configuration >
<rules >
<requireProperty >
2017-09-21 13:01:01 +00:00
<property > auth.servers.crossdc</property>
2020-08-20 14:51:01 +00:00
<message > Profile "cache-server-legacy-datagrid" requires activation of another profile: either "auth-servers-crossdc-undertow" or "auth-servers-crossdc-jboss".</message>
2017-06-15 09:39:38 +00:00
</requireProperty>
</rules>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
<pluginManagement >
<plugins >
2017-05-29 07:02:57 +00:00
<plugin >
2017-06-15 09:39:38 +00:00
<artifactId > maven-dependency-plugin</artifactId>
<executions >
<execution >
<id > unpack-cache-server-jdg</id>
<phase > generate-resources</phase>
<goals >
<goal > unpack</goal>
</goals>
<configuration >
<artifactItems >
<artifactItem >
<groupId > org.keycloak.testsuite</groupId>
2020-08-20 14:51:01 +00:00
<artifactId > integration-arquillian-servers-cache-server-legacy-datagrid</artifactId>
2017-06-15 09:39:38 +00:00
<version > ${project.version}</version>
<type > zip</type>
<outputDirectory > ${containers.home}</outputDirectory>
</artifactItem>
</artifactItems>
<overWriteIfNewer > true</overWriteIfNewer>
</configuration>
</execution>
</executions>
2017-05-29 07:02:57 +00:00
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
2020-08-20 14:51:01 +00:00
<profile >
<id > cache-server-infinispan</id>
<properties >
<cache.server > infinispan</cache.server>
<auth.server.crossdc > true</auth.server.crossdc>
<keycloak.testsuite.logging.pattern > %d{HH:mm:ss,SSS} [%t] %-5p [%c{1.}] %m%n</keycloak.testsuite.logging.pattern>
<keycloak.connectionsInfinispan.default.remoteStoreSecurityEnabled > false</keycloak.connectionsInfinispan.default.remoteStoreSecurityEnabled>
<keycloak.connectionsInfinispan.hotrodProtocolVersion > 2.9</keycloak.connectionsInfinispan.hotrodProtocolVersion>
<skip.clean.second.cache > true</skip.clean.second.cache>
</properties>
<build >
<plugins >
<plugin >
<artifactId > maven-enforcer-plugin</artifactId>
<executions >
<execution >
<id > enforce-profile-activation</id>
<goals >
<goal > enforce</goal>
</goals>
<configuration >
<rules >
<requireProperty >
<property > auth.servers.crossdc</property>
<message > Profile "cache-server-infinispan" requires activation of another profile: either "auth-servers-crossdc-undertow" or "auth-servers-crossdc-jboss".</message>
</requireProperty>
</rules>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
<pluginManagement >
<plugins >
<plugin >
<artifactId > maven-dependency-plugin</artifactId>
<executions >
<execution >
<id > unpack-cache-server-standalone-infinispan</id>
<phase > generate-resources</phase>
<goals >
<goal > unpack</goal>
</goals>
<configuration >
<artifactItems >
<artifactItem >
<groupId > org.keycloak.testsuite</groupId>
<artifactId > integration-arquillian-servers-cache-server-infinispan-infinispan</artifactId>
<version > ${project.version}</version>
<type > zip</type>
<outputDirectory > ${containers.home}</outputDirectory>
</artifactItem>
</artifactItems>
<overWriteIfNewer > true</overWriteIfNewer>
</configuration>
</execution>
</executions>
</plugin>
<plugin >
<artifactId > maven-antrun-plugin</artifactId>
<executions >
<execution >
<id > copy-cache-server-standalone-infinispan-nodes</id>
<phase > process-resources</phase>
<goals >
<goal > run</goal>
</goals>
<configuration >
<skip > ${skip.copy.cache.crossdc.nodes}</skip>
<target >
<move todir= "${cache.server.home}-dc1" >
<fileset dir= "${cache.server.home}" />
</move>
<copy todir= "${cache.server.home}-dc2" >
<fileset dir= "${cache.server.home}-dc1" />
</copy>
<chmod dir= "${cache.server.home}-dc1/bin" perm= "ugo+rx" includes= "**/*.sh" />
<chmod dir= "${cache.server.home}-dc2/bin" perm= "ugo+rx" includes= "**/*.sh" />
<move file= "${cache.server.home}-dc1/server/conf/infinispan-xsite-1.xml"
tofile="${cache.server.home}-dc1/server/conf/infinispan-xsite.xml" />
<delete file= "${cache.server.home}-dc1/server/conf/infinispan-xsite-2.xml" />
<move file= "${cache.server.home}-dc2/server/conf/infinispan-xsite-2.xml"
tofile="${cache.server.home}-dc2/server/conf/infinispan-xsite.xml" />
<delete file= "${cache.server.home}-dc1/server/conf/infinispan-xsite-1.xml" />
</target>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
<profile >
<id > cache-server-datagrid</id>
<properties >
<cache.server > datagrid</cache.server>
<auth.server.crossdc > true</auth.server.crossdc>
<keycloak.testsuite.logging.pattern > %d{HH:mm:ss,SSS} [%t] %-5p [%c{1.}] %m%n</keycloak.testsuite.logging.pattern>
<keycloak.connectionsInfinispan.default.remoteStoreSecurityEnabled > false</keycloak.connectionsInfinispan.default.remoteStoreSecurityEnabled>
<keycloak.connectionsInfinispan.hotrodProtocolVersion > 2.9</keycloak.connectionsInfinispan.hotrodProtocolVersion>
<skip.clean.second.cache > true</skip.clean.second.cache>
</properties>
<build >
<plugins >
<plugin >
<artifactId > maven-enforcer-plugin</artifactId>
<executions >
<execution >
<id > enforce-profile-activation</id>
<goals >
<goal > enforce</goal>
</goals>
<configuration >
<rules >
<requireProperty >
<property > auth.servers.crossdc</property>
<message > Profile "cache-server-datagrid" requires activation of another profile: either "auth-servers-crossdc-undertow" or "auth-servers-crossdc-jboss".</message>
</requireProperty>
</rules>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
<pluginManagement >
<plugins >
<plugin >
<artifactId > maven-dependency-plugin</artifactId>
<executions >
<execution >
<id > unpack-cache-server-standalone-jdg</id>
<phase > generate-resources</phase>
<goals >
<goal > unpack</goal>
</goals>
<configuration >
<artifactItems >
<artifactItem >
<groupId > org.keycloak.testsuite</groupId>
<artifactId > integration-arquillian-servers-cache-server-infinispan-datagrid</artifactId>
<version > ${project.version}</version>
<type > zip</type>
<outputDirectory > ${containers.home}</outputDirectory>
</artifactItem>
</artifactItems>
<overWriteIfNewer > true</overWriteIfNewer>
</configuration>
</execution>
</executions>
</plugin>
<plugin >
<artifactId > maven-antrun-plugin</artifactId>
<executions >
<execution >
<id > copy-cache-server-standalone-infinispan-nodes</id>
<phase > process-resources</phase>
<goals >
<goal > run</goal>
</goals>
<configuration >
<skip > ${skip.copy.cache.crossdc.nodes}</skip>
<target >
<move todir= "${cache.server.home}-dc1" >
<fileset dir= "${cache.server.home}" />
</move>
<copy todir= "${cache.server.home}-dc2" >
<fileset dir= "${cache.server.home}-dc1" />
</copy>
<chmod dir= "${cache.server.home}-dc1/bin" perm= "ugo+rx" includes= "**/*.sh" />
<chmod dir= "${cache.server.home}-dc2/bin" perm= "ugo+rx" includes= "**/*.sh" />
<move file= "${cache.server.home}-dc1/server/conf/infinispan-xsite-1.xml"
tofile="${cache.server.home}-dc1/server/conf/infinispan-xsite.xml" />
<delete file= "${cache.server.home}-dc1/server/conf/infinispan-xsite-2.xml" />
<move file= "${cache.server.home}-dc2/server/conf/infinispan-xsite-2.xml"
tofile="${cache.server.home}-dc2/server/conf/infinispan-xsite.xml" />
<delete file= "${cache.server.home}-dc1/server/conf/infinispan-xsite-1.xml" />
</target>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
2021-08-17 11:30:52 +00:00
<profile >
<id > map-storage-hot-rod</id>
<properties >
<hotrod.store.enabled > true</hotrod.store.enabled>
<skip.copy.hotrod.server > false</skip.copy.hotrod.server>
<cache.server > infinispan</cache.server>
</properties>
<build >
<plugins >
</plugins>
<pluginManagement >
<plugins >
<plugin >
<artifactId > maven-dependency-plugin</artifactId>
<executions >
<execution >
<id > unpack-cache-server-standalone-infinispan</id>
<phase > generate-resources</phase>
<goals >
<goal > unpack</goal>
</goals>
<configuration >
<artifactItems >
<artifactItem >
<groupId > org.keycloak.testsuite</groupId>
<artifactId > integration-arquillian-servers-cache-server-infinispan-infinispan</artifactId>
<version > ${project.version}</version>
<type > zip</type>
<outputDirectory > ${containers.home}</outputDirectory>
</artifactItem>
</artifactItems>
<overWriteIfNewer > true</overWriteIfNewer>
</configuration>
</execution>
</executions>
</plugin>
<plugin >
<artifactId > maven-antrun-plugin</artifactId>
<executions >
<execution >
<id > copy-cache-server-to-hot-rod-directory</id>
<phase > process-resources</phase>
<goals >
<goal > run</goal>
</goals>
<configuration >
<skip > ${skip.copy.hotrod.server}</skip>
<target >
<move todir= "${cache.server.home}-hot-rod-store" >
<fileset dir= "${cache.server.home}" />
</move>
<chmod dir= "${cache.server.home}-hot-rod-store/bin" perm= "ugo+rx" includes= "**/*.sh" />
</target>
</configuration>
</execution>
</executions>
</plugin>
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-surefire-plugin</artifactId>
<configuration >
<systemPropertyVariables >
<keycloak.client.map.storage.provider > hotrod</keycloak.client.map.storage.provider>
2021-11-30 17:06:19 +00:00
<keycloak.group.map.storage.provider > hotrod</keycloak.group.map.storage.provider>
2021-08-17 11:30:52 +00:00
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
2020-08-20 14:51:01 +00:00
2016-11-02 14:51:06 +00:00
<profile >
<id > auth-server-profile</id>
<activation >
<property >
<name > keycloak.profile</name>
</property>
</activation>
<properties >
<auth.server.profile > -Dkeycloak.profile=${keycloak.profile}</auth.server.profile>
</properties>
</profile>
2017-01-05 10:03:36 +00:00
<!--
2017-09-21 13:01:01 +00:00
profile that enables/disables specified feature, for more details see
https://keycloak.gitbooks.io/documentation/content/server_installation/topics/profiles.html
2017-01-05 10:03:36 +00:00
-->
<profile >
<id > auth-server-enable-disable-feature</id>
<properties >
<auth.server.feature > -Dkeycloak.profile.feature.${feature.name}=${feature.value}</auth.server.feature>
</properties>
<build >
<plugins >
<plugin >
<artifactId > maven-enforcer-plugin</artifactId>
<executions >
<execution >
<goals >
<goal > enforce</goal>
</goals>
<configuration >
<rules >
<requireProperty >
<property > feature.name</property>
</requireProperty>
<requireProperty >
<property > feature.value</property>
</requireProperty>
</rules>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
2018-09-24 08:49:47 +00:00
<profile >
<id > auth-server-cluster-undertow</id>
<properties >
<!-- disable exclusion pattern for cluster test which is enabled by default in base/pom.xml -->
<exclude.cluster > -</exclude.cluster>
<auth.server.undertow > false</auth.server.undertow>
<auth.server.cluster > true</auth.server.cluster>
<auth.server.undertow.cluster > true</auth.server.undertow.cluster>
<auth.server.jboss.skip.unpack > true</auth.server.jboss.skip.unpack>
2021-03-11 08:35:37 +00:00
<keycloak.connectionsInfinispan.sessionsOwners > 2</keycloak.connectionsInfinispan.sessionsOwners>
2018-09-24 08:49:47 +00:00
</properties>
<build >
<plugins >
<plugin >
<artifactId > maven-surefire-plugin</artifactId>
<configuration >
<systemPropertyVariables >
<pageload.timeout > 20000</pageload.timeout>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<!-- This is profile for auth - server cluster on JBoss (Wildfly, EAP) -->
2016-02-09 04:21:11 +00:00
<profile >
2016-03-24 10:24:21 +00:00
<id > auth-server-cluster</id>
2016-02-09 04:21:11 +00:00
<properties >
2016-03-24 10:24:21 +00:00
<!-- disable exclusion pattern for cluster test which is enabled by default in base/pom.xml -->
<exclude.cluster > -</exclude.cluster>
2016-03-31 16:16:03 +00:00
2018-09-24 08:49:47 +00:00
<auth.server.cluster > true</auth.server.cluster>
<auth.server.jboss.cluster > true</auth.server.jboss.cluster>
2016-03-24 10:24:21 +00:00
<auth.server.backend1.home > ${containers.home}/auth-server-${auth.server}-backend1</auth.server.backend1.home>
<auth.server.backend2.home > ${containers.home}/auth-server-${auth.server}-backend2</auth.server.backend2.home>
2020-04-30 08:19:57 +00:00
<auth.server.backend1.debug.port > 5008</auth.server.backend1.debug.port>
<auth.server.backend2.debug.port > 5009</auth.server.backend2.debug.port>
<auth.server.legacy.home > ${containers.home}/auth-server-legacy</auth.server.legacy.home>
<auth.server.legacy.debug.port > 5010</auth.server.legacy.debug.port>
2016-03-24 10:24:21 +00:00
<auth.server.config.dir > ${auth.server.backend1.home}/standalone/configuration</auth.server.config.dir>
2017-08-07 14:31:20 +00:00
<keycloak.testsuite.logging.pattern > %d{HH:mm:ss,SSS} [%t] %-5p [%c{1.}] %m%n</keycloak.testsuite.logging.pattern>
2016-02-09 04:21:11 +00:00
</properties>
2016-03-24 10:24:21 +00:00
<build >
<plugins >
<plugin >
<artifactId > maven-enforcer-plugin</artifactId>
<executions >
<execution >
<goals >
<goal > enforce</goal>
</goals>
<configuration >
<rules >
<!-- requireActiveProfile 'auth - server - wildfly/eap' doesn't work unless the profiles are defined in all submodule poms
using requireProperty instead-->
<requireProperty >
<property > auth.server</property>
<regex > (wildfly)|(eap)</regex>
<regexMessage > Profile "auth-server-cluster" requires activation of profile "auth-server-wildfly" or "auth-server-eap".</regexMessage>
</requireProperty>
</rules>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
<pluginManagement >
<plugins >
<plugin >
<artifactId > maven-antrun-plugin</artifactId>
<executions >
<execution >
<id > copy-auth-server-backend-nodes</id>
<phase > process-resources</phase>
<goals >
<goal > run</goal>
</goals>
<configuration >
<target >
<move todir= "${auth.server.backend1.home}" >
<fileset dir= "${auth.server.home}" />
</move>
<copy todir= "${auth.server.backend2.home}" >
<fileset dir= "${auth.server.backend1.home}" />
</copy>
</target>
</configuration>
</execution>
</executions>
</plugin>
<plugin >
<artifactId > maven-surefire-plugin</artifactId>
<configuration >
<systemPropertyVariables >
<run.h2 > true</run.h2>
2019-03-08 12:27:29 +00:00
<docker.database.skip > ${docker.database.skip}</docker.database.skip>
2021-05-27 16:02:52 +00:00
2016-03-24 10:24:21 +00:00
<auth.server.jboss > false</auth.server.jboss>
2016-03-31 16:16:03 +00:00
2016-03-24 10:24:21 +00:00
<auth.server.backend1.home > ${auth.server.backend1.home}</auth.server.backend1.home>
<auth.server.backend2.home > ${auth.server.backend2.home}</auth.server.backend2.home>
2020-04-30 08:19:57 +00:00
<auth.server.backend1.jvm.debug.args > -agentlib:jdwp=transport=dt_socket,server=y,suspend=${auth.server.debug.suspend},address=${auth.server.host}:${auth.server.backend1.debug.port}</auth.server.backend1.jvm.debug.args>
<auth.server.backend2.jvm.debug.args > -agentlib:jdwp=transport=dt_socket,server=y,suspend=${auth.server.debug.suspend},address=${auth.server.host}:${auth.server.backend2.debug.port}</auth.server.backend2.jvm.debug.args>
2016-03-24 10:24:21 +00:00
<!-- 100 -->
<auth.server.backend1.port.offset > 101</auth.server.backend1.port.offset>
<auth.server.backend2.port.offset > 102</auth.server.backend2.port.offset>
<!-- 8180 -->
<auth.server.backend1.http.port > 8181</auth.server.backend1.http.port>
<auth.server.backend2.http.port > 8182</auth.server.backend2.http.port>
<!-- 8543 -->
<auth.server.backend1.https.port > 8544</auth.server.backend1.https.port>
<auth.server.backend2.https.port > 8545</auth.server.backend2.https.port>
<!-- 10090 -->
<auth.server.backend1.management.port > 10091</auth.server.backend1.management.port>
<auth.server.backend2.management.port > 10092</auth.server.backend2.management.port>
<!-- 10099 -->
<auth.server.backend1.management.port.jmx > 10100</auth.server.backend1.management.port.jmx>
<auth.server.backend2.management.port.jmx > 10101</auth.server.backend2.management.port.jmx>
2020-04-30 08:19:57 +00:00
<auth.server.legacy.home > ${auth.server.legacy.home}</auth.server.legacy.home>
<auth.server.legacy.jvm.debug.args > -agentlib:jdwp=transport=dt_socket,server=y,suspend=${auth.server.debug.suspend},address=${auth.server.host}:${auth.server.legacy.debug.port}</auth.server.legacy.jvm.debug.args>
<auth.server.legacy.port.offset > 600</auth.server.legacy.port.offset>
<auth.server.legacy.management.port > 10590</auth.server.legacy.management.port>
2016-03-24 10:24:21 +00:00
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
2016-02-09 04:21:11 +00:00
</profile>
2016-03-24 10:24:21 +00:00
2020-04-30 08:19:57 +00:00
<profile >
<id > auth-server-legacy</id>
<activation >
<property >
<name > auth.server.legacy.version</name>
</property>
</activation>
<properties >
<auth.server.jboss.legacy > true</auth.server.jboss.legacy>
</properties>
<build >
<pluginManagement >
<plugins >
<plugin >
<artifactId > maven-dependency-plugin</artifactId>
<executions >
<execution >
<id > unpack-auth-server-legacy</id>
<phase > generate-resources</phase>
<goals >
<goal > unpack</goal>
</goals>
<configuration >
<artifactItems >
<artifactItem >
<groupId > org.keycloak.testsuite</groupId>
<artifactId > integration-arquillian-servers-auth-server-legacy</artifactId>
<version > ${project.version}</version>
<type > zip</type>
</artifactItem>
</artifactItems>
<outputDirectory > ${containers.home}</outputDirectory>
<overWriteIfNewer > true</overWriteIfNewer>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
2016-03-24 10:24:21 +00:00
2015-09-18 12:27:28 +00:00
<profile >
2016-03-24 10:24:21 +00:00
<id > clean-jpa</id>
<build >
<pluginManagement >
<plugins >
<plugin >
<groupId > org.liquibase</groupId>
<artifactId > liquibase-maven-plugin</artifactId>
<configuration >
<changeLogFile > META-INF/jpa-changelog-master.xml</changeLogFile>
<url > ${keycloak.connectionsJpa.url}</url>
<driver > ${keycloak.connectionsJpa.driver}</driver>
<username > ${keycloak.connectionsJpa.user}</username>
<password > ${keycloak.connectionsJpa.password}</password>
<promptOnNonLocalDatabase > false</promptOnNonLocalDatabase>
<databaseClass > ${keycloak.connectionsJpa.liquibaseDatabaseClass}</databaseClass>
</configuration>
<executions >
<execution >
<id > clean-jpa</id>
<phase > clean</phase>
<goals >
<goal > dropAll</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
</build>
2016-03-31 16:16:03 +00:00
</profile>
2017-09-21 13:01:01 +00:00
2016-10-13 12:01:29 +00:00
<!-- Profiles for migration tests -->
2017-09-21 13:01:01 +00:00
2016-03-24 10:24:21 +00:00
<profile >
2016-10-13 12:01:29 +00:00
<id > auth-server-migration</id>
2016-10-12 10:26:00 +00:00
<properties >
2017-01-18 14:44:30 +00:00
<migration.import.file > target/test-classes/migration-test/migration-realm-${migrated.auth.server.version}.json</migration.import.file>
2016-10-12 10:26:00 +00:00
<migration.import.props.previous >
2017-09-21 13:01:01 +00:00
-Dkeycloak.migration.action=import
2016-10-12 10:26:00 +00:00
-Dkeycloak.migration.provider=singleFile
2016-10-31 08:21:57 +00:00
-Dkeycloak.migration.file=${migration.import.file}
2016-10-12 10:26:00 +00:00
-Dkeycloak.migration.strategy=OVERWRITE_EXISTING
</migration.import.props.previous>
<skip.add.user.json > true</skip.add.user.json>
</properties>
2016-03-24 10:24:21 +00:00
<build >
2016-10-31 08:21:57 +00:00
<plugins >
<plugin >
<artifactId > maven-enforcer-plugin</artifactId>
<executions >
<execution >
<goals >
<goal > enforce</goal>
</goals>
<configuration >
<rules >
<requireProperty >
<property > migrated.auth.server.version</property>
</requireProperty>
<requireProperty >
<property > migration.mode</property>
</requireProperty>
</rules>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
2016-11-07 13:02:20 +00:00
<pluginManagement >
<plugins >
<plugin >
<artifactId > maven-dependency-plugin</artifactId>
<executions >
<execution >
<id > unpack-migrated-auth-server-jboss</id>
<phase > generate-resources</phase>
<goals >
<goal > unpack</goal>
</goals>
<configuration >
<artifactItems >
<artifactItem >
<groupId > org.keycloak.testsuite</groupId>
<artifactId > integration-arquillian-migration-server</artifactId>
<version > ${project.version}</version>
<type > zip</type>
</artifactItem>
</artifactItems>
<outputDirectory > ${containers.home}</outputDirectory>
<overWriteIfNewer > true</overWriteIfNewer>
</configuration>
</execution>
</executions>
</plugin>
<plugin >
<artifactId > maven-surefire-plugin</artifactId>
<configuration >
<systemPropertyVariables >
<migrated.auth.server.version > ${migrated.auth.server.version}</migrated.auth.server.version>
<auth.server.jboss.migration > true</auth.server.jboss.migration>
2018-11-16 12:19:34 +00:00
<keycloak.migration.home > ${containers.home}/auth-server-migration</keycloak.migration.home>
2016-11-07 13:02:20 +00:00
<migration.import.props.previous > ${migration.import.props.previous}</migration.import.props.previous>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
</pluginManagement>
2016-10-12 10:26:00 +00:00
</build>
2017-09-21 13:01:01 +00:00
</profile>
2016-10-31 08:21:57 +00:00
<profile >
2018-11-16 12:19:34 +00:00
<id > migration-prod</id>
2016-10-31 08:21:57 +00:00
<activation >
<property >
2018-11-16 12:19:34 +00:00
<name > migration.import.file.name</name>
2016-10-31 08:21:57 +00:00
</property>
</activation>
<properties >
2018-11-16 12:19:34 +00:00
<migration.import.file > target/test-classes/migration-test/${migration.import.file.name}</migration.import.file>
2016-10-31 08:21:57 +00:00
</properties>
</profile>
2017-09-21 13:01:01 +00:00
2016-03-24 10:24:21 +00:00
<profile >
<id > common-test-dependencies</id>
<activation >
<file >
<exists > src/test</exists>
<!-- ^ only activate this profile in submodules that have actual tests -->
</file>
</activation>
<dependencies >
<!-- TEST DEPENDENCIES -->
<dependency >
<groupId > junit</groupId>
<artifactId > junit</artifactId>
</dependency>
2017-08-23 10:09:39 +00:00
<!-- Dependencies for creaper: -->
<dependency >
<groupId > org.wildfly.extras.creaper</groupId>
<artifactId > creaper-commands</artifactId>
<version > ${version.org.wildfly.extras.creaper}</version>
<exclusions >
<exclusion >
<groupId > com.google.guava</groupId>
<artifactId > guava</artifactId>
</exclusion>
</exclusions>
</dependency>
2016-03-24 10:24:21 +00:00
<dependency >
<groupId > org.jboss.arquillian.junit</groupId>
<artifactId > arquillian-junit-container</artifactId>
</dependency>
<dependency >
<groupId > org.jboss.arquillian.graphene</groupId>
<artifactId > graphene-webdriver</artifactId>
<version > ${arquillian-graphene.version}</version>
<type > pom</type>
</dependency>
<dependency >
<groupId > org.jboss.arquillian.protocol</groupId>
<artifactId > arquillian-protocol-servlet</artifactId>
</dependency>
<dependency >
<groupId > org.jboss.arquillian.extension</groupId>
<artifactId > arquillian-phantom-driver</artifactId>
2016-04-13 07:45:28 +00:00
<version > 1.2.1.Final</version>
2015-09-18 12:27:28 +00:00
</dependency>
<dependency >
<groupId > org.jboss.arquillian.graphene</groupId>
<artifactId > arquillian-browser-screenshooter</artifactId>
2016-03-03 12:39:10 +00:00
<version > ${arquillian-graphene.version}</version>
2016-03-08 16:01:48 +00:00
<exclusions >
<exclusion >
<groupId > org.apache.commons</groupId>
<artifactId > commons-io</artifactId>
</exclusion>
2017-08-23 13:36:29 +00:00
<exclusion >
<groupId > com.google.guava</groupId>
<artifactId > guava</artifactId>
</exclusion>
2016-03-08 16:01:48 +00:00
</exclusions>
2015-09-18 12:27:28 +00:00
</dependency>
2016-03-31 16:16:03 +00:00
2018-08-07 09:10:24 +00:00
<dependency >
<groupId > io.appium</groupId>
<artifactId > java-client</artifactId>
<version > ${appium.client.version}</version>
</dependency>
2021-05-27 16:02:52 +00:00
<!--
2018-12-07 08:40:37 +00:00
httpclient and httpcore are here to ensure we use the same version
2021-05-27 16:02:52 +00:00
as in keycloak/pom.xml and to prevent the other versions beeing present
on classpath during tests (as a transitive dependencies e.g.).
2018-12-07 08:40:37 +00:00
There has beeen issues due to this.
-->
2017-08-23 13:36:29 +00:00
<dependency >
<groupId > org.apache.httpcomponents</groupId>
<artifactId > httpclient</artifactId>
</dependency>
2018-12-07 08:40:37 +00:00
<dependency >
<groupId > org.apache.httpcomponents</groupId>
<artifactId > httpcore</artifactId>
</dependency>
2016-02-26 01:24:20 +00:00
<dependency >
<groupId > jfree</groupId>
<artifactId > jfreechart</artifactId>
<version > 1.0.13</version>
</dependency>
2016-03-31 16:16:03 +00:00
2016-09-21 08:40:36 +00:00
<dependency >
<groupId > org.keycloak.testsuite</groupId>
<artifactId > integration-arquillian-test-apps-servlets</artifactId>
<version > ${project.version}</version>
</dependency>
2018-06-26 11:24:38 +00:00
<dependency >
<groupId > org.keycloak.testsuite</groupId>
<artifactId > integration-arquillian-util</artifactId>
<version > ${project.version}</version>
</dependency>
2015-12-15 12:14:30 +00:00
<!-- <dependency>
2015-12-11 11:15:27 +00:00
<groupId > org.arquillian.extension</groupId>
<artifactId > arquillian-recorder-reporter-impl</artifactId>
<version > 1.1.0.Final</version>
</dependency> -->
2016-03-31 16:16:03 +00:00
2015-09-18 12:27:28 +00:00
<dependency >
<groupId > log4j</groupId>
<artifactId > log4j</artifactId>
</dependency>
<dependency >
<groupId > org.slf4j</groupId>
<artifactId > slf4j-api</artifactId>
</dependency>
<dependency >
<groupId > org.slf4j</groupId>
<artifactId > slf4j-log4j12</artifactId>
</dependency>
<dependency >
<groupId > org.apache.ant</groupId>
<artifactId > ant</artifactId>
2021-05-04 16:09:36 +00:00
<version > 1.9.15</version>
2015-09-18 12:27:28 +00:00
<type > jar</type>
</dependency>
2016-03-31 16:16:03 +00:00
2016-03-24 10:24:21 +00:00
<dependency >
<groupId > com.h2database</groupId>
<artifactId > h2</artifactId>
2019-01-31 15:42:27 +00:00
<version > ${h2.version}</version>
2016-03-24 10:24:21 +00:00
<scope > compile</scope>
</dependency>
2016-03-31 16:16:03 +00:00
2015-09-18 12:27:28 +00:00
<!-- Email Test Server -->
<dependency >
<groupId > com.icegreen</groupId>
<artifactId > greenmail</artifactId>
<exclusions >
<exclusion >
<groupId > org.slf4j</groupId>
<artifactId > slf4j-api</artifactId>
</exclusion>
</exclusions>
</dependency>
2016-05-16 20:31:23 +00:00
<dependency >
<groupId > org.subethamail</groupId>
<artifactId > subethasmtp</artifactId>
<exclusions >
<exclusion >
<groupId > org.slf4j</groupId>
<artifactId > slf4j-api</artifactId>
</exclusion>
</exclusions>
</dependency>
2016-03-31 16:16:03 +00:00
2015-09-18 12:27:28 +00:00
<!-- Keycloak deps for tests -->
<dependency >
<groupId > org.keycloak</groupId>
<artifactId > keycloak-dependencies-server-all</artifactId>
<type > pom</type>
2017-08-23 13:36:29 +00:00
<exclusions >
<exclusion >
<groupId > com.google.guava</groupId>
<artifactId > guava</artifactId>
</exclusion>
</exclusions>
2015-09-18 12:27:28 +00:00
</dependency>
<dependency >
<groupId > org.keycloak</groupId>
<artifactId > keycloak-admin-client</artifactId>
</dependency>
2015-09-30 11:13:17 +00:00
<dependency >
<groupId > org.keycloak</groupId>
2015-11-18 14:09:32 +00:00
<artifactId > keycloak-client-registration-api</artifactId>
2015-09-30 11:13:17 +00:00
</dependency>
2015-09-18 12:27:28 +00:00
<dependency >
<groupId > org.keycloak</groupId>
<artifactId > keycloak-services</artifactId>
</dependency>
2016-09-01 00:04:36 +00:00
<dependency >
<groupId > org.keycloak</groupId>
<artifactId > keycloak-authz-client</artifactId>
</dependency>
2018-11-07 09:14:14 +00:00
<dependency >
<groupId > org.keycloak</groupId>
<artifactId > keycloak-wildfly-adduser</artifactId>
</dependency>
2015-09-18 12:27:28 +00:00
2016-03-24 10:24:21 +00:00
<!-- UNDERTOW -->
2015-09-18 12:27:28 +00:00
2016-03-24 10:24:21 +00:00
<dependency >
<groupId > org.keycloak.testsuite</groupId>
<artifactId > integration-arquillian-servers-auth-server-undertow</artifactId>
<version > ${project.version}</version>
</dependency>
2016-03-31 16:16:03 +00:00
2015-09-18 12:27:28 +00:00
<dependency >
<groupId > org.jboss.resteasy</groupId>
<artifactId > resteasy-client</artifactId>
</dependency>
<dependency >
<groupId > org.jboss.resteasy</groupId>
<artifactId > resteasy-undertow</artifactId>
<scope > compile</scope>
</dependency>
<dependency >
<groupId > org.jboss.resteasy</groupId>
<artifactId > resteasy-multipart-provider</artifactId>
</dependency>
<dependency >
<groupId > org.jboss.resteasy</groupId>
2016-01-13 20:03:32 +00:00
<artifactId > resteasy-jackson2-provider</artifactId>
2015-09-18 12:27:28 +00:00
</dependency>
<dependency >
2016-01-13 20:03:32 +00:00
<groupId > com.fasterxml.jackson.core</groupId>
<artifactId > jackson-core</artifactId>
2015-09-18 12:27:28 +00:00
</dependency>
<dependency >
2016-01-13 20:03:32 +00:00
<groupId > com.fasterxml.jackson.core</groupId>
<artifactId > jackson-databind</artifactId>
2015-09-18 12:27:28 +00:00
</dependency>
<dependency >
2016-01-13 20:03:32 +00:00
<groupId > com.fasterxml.jackson.core</groupId>
<artifactId > jackson-annotations</artifactId>
2015-09-18 12:27:28 +00:00
</dependency>
<dependency >
<groupId > org.bouncycastle</groupId>
<artifactId > bcprov-jdk15on</artifactId>
</dependency>
<dependency >
<groupId > org.bouncycastle</groupId>
<artifactId > bcpkix-jdk15on</artifactId>
</dependency>
<dependency >
<groupId > org.hamcrest</groupId>
2021-11-12 15:37:03 +00:00
<artifactId > hamcrest</artifactId>
2015-09-18 12:27:28 +00:00
</dependency>
<dependency >
<groupId > org.infinispan</groupId>
<artifactId > infinispan-core</artifactId>
</dependency>
2016-03-08 12:49:19 +00:00
<dependency >
2019-01-31 15:42:27 +00:00
<groupId > ${jdbc.mvn.groupId}</groupId>
<artifactId > ${jdbc.mvn.artifactId}</artifactId>
<version > ${jdbc.mvn.version}</version>
<scope > compile</scope>
2016-05-04 15:31:46 +00:00
</dependency>
2016-03-24 10:24:21 +00:00
2016-07-12 13:30:33 +00:00
<!-- CLI -->
<!--
2017-02-27 13:49:16 +00:00
- This dependency must come after org.bouncycastle dependencies since it contains BC classes,
- and MAC signature check on classes would fail otherwise with:
- 'java.lang.SecurityException: JCE cannot authenticate the provider BC'
-->
2016-07-12 13:30:33 +00:00
<dependency >
<groupId > org.keycloak</groupId>
<artifactId > keycloak-client-cli-dist</artifactId>
<type > zip</type>
</dependency>
2018-06-29 10:19:35 +00:00
<dependency >
<groupId > org.osgi</groupId>
<artifactId > org.osgi.enterprise</artifactId>
<scope > provided</scope>
</dependency>
2020-06-10 12:50:45 +00:00
<!-- Needed for infinispan statistics -->
<dependency >
<groupId > org.eclipse.microprofile.metrics</groupId>
<artifactId > microprofile-metrics-api</artifactId>
</dependency>
2018-06-29 10:19:35 +00:00
2015-09-18 12:27:28 +00:00
</dependencies>
2017-08-23 13:36:29 +00:00
<dependencyManagement >
<dependencies >
<!-- we need to specify the correct version because of conflict in arquillian - drone - webdriver - depchain -->
<dependency >
<groupId > org.seleniumhq.selenium</groupId>
<artifactId > htmlunit-driver</artifactId>
<version > 2.27</version>
</dependency>
</dependencies>
</dependencyManagement>
2015-09-18 12:27:28 +00:00
<build >
<plugins >
<plugin >
<artifactId > maven-surefire-plugin</artifactId>
</plugin>
<plugin >
2016-03-31 16:16:03 +00:00
<artifactId > maven-dependency-plugin</artifactId>
</plugin>
2018-06-26 11:48:58 +00:00
<plugin >
<artifactId > maven-antrun-plugin</artifactId>
</plugin>
2016-01-20 06:16:53 +00:00
<plugin >
<groupId > org.codehaus.mojo</groupId>
<artifactId > xml-maven-plugin</artifactId>
</plugin>
2016-02-26 01:24:20 +00:00
<plugin >
<groupId > org.liquibase</groupId>
<artifactId > liquibase-maven-plugin</artifactId>
</plugin>
2020-05-26 14:33:16 +00:00
<plugin >
<groupId > org.codehaus.mojo</groupId>
<artifactId > keytool-maven-plugin</artifactId>
</plugin>
2015-09-18 12:27:28 +00:00
</plugins>
2016-03-31 16:16:03 +00:00
</build>
2015-09-18 12:27:28 +00:00
</profile>
2016-03-31 16:16:03 +00:00
2016-04-06 07:11:06 +00:00
<profile >
<id > no-offset</id>
<properties >
<auth.server.port.offset > 0</auth.server.port.offset>
<auth.server.http.port > 8080</auth.server.http.port>
<auth.server.https.port > 8443</auth.server.https.port>
<auth.server.management.port > 9990</auth.server.management.port>
<auth.server.management.port.jmx > 9999</auth.server.management.port.jmx>
</properties>
</profile>
2017-09-21 13:01:01 +00:00
2018-12-06 07:25:01 +00:00
<profile >
2021-05-27 16:02:52 +00:00
<id > java11-auth-server</id>
2018-12-06 07:25:01 +00:00
<properties >
2021-05-27 16:02:52 +00:00
<auth.server.jvm.args.extra > ${default.modular.jvm.options}</auth.server.jvm.args.extra>
2018-12-06 07:25:01 +00:00
</properties>
</profile>
<profile >
2021-05-27 16:02:52 +00:00
<id > java11-app-server</id>
2018-12-06 07:25:01 +00:00
<properties >
2021-05-27 16:02:52 +00:00
<app.server.jvm.args.extra > ${default.modular.jvm.options}</app.server.jvm.args.extra>
2018-12-06 07:25:01 +00:00
</properties>
</profile>
2019-05-15 06:12:38 +00:00
<profile >
<id > java7-app-server</id>
<properties >
<app.server.memory.settings > -Xms${app.server.memory.Xms} -Xmx${app.server.memory.Xmx} -XX:PermSize=${surefire.memory.metaspace} -XX:MaxPermSize=${surefire.memory.metaspace.max}</app.server.memory.settings>
</properties>
</profile>
2020-05-26 14:33:16 +00:00
<profile >
<id > generate-certs-for-custom-auth-server-host</id>
<activation >
<property >
<name > auth.server.host</name>
</property>
</activation>
<build >
<pluginManagement >
<plugins >
<plugin >
<groupId > org.codehaus.mojo</groupId>
<artifactId > keytool-maven-plugin</artifactId>
<executions >
<execution >
<id > remove-old-auth-server-key</id>
<phase > generate-test-resources</phase>
<goals >
<goal > deleteAlias</goal>
</goals>
<configuration >
<keystore > ${dependency.keystore}</keystore>
<storepass > ${dependency.keystore.password}</storepass>
<alias > localhost</alias>
</configuration>
</execution>
<execution >
<id > generate-new-auth-server-cert</id>
<phase > generate-test-resources</phase>
<goals >
<goal > generateKeyPair</goal>
</goals>
<configuration >
<keystore > ${dependency.keystore}</keystore>
<storepass > ${dependency.keystore.password}</storepass>
<alias > ${auth.server.host}</alias>
<dname > CN=${auth.server.host}, OU=Keycloak, O=Red Hat, L=Westword, ST=MA, C=US</dname>
2020-06-03 08:04:48 +00:00
<ext > SAN=dns:${auth.server.host},dns:${auth.server.host2}</ext> <!-- for broker tests; IdP is the same server as auth server -->
2020-05-26 14:33:16 +00:00
<keyalg > RSA</keyalg>
<keysize > 2048</keysize>
<sigalg > SHA256withRSA</sigalg>
</configuration>
</execution>
<execution >
<id > export-auth-server-cert</id>
<phase > generate-test-resources</phase>
<goals >
<goal > exportCertificate</goal>
</goals>
<configuration >
<keystore > ${dependency.keystore}</keystore>
<storepass > ${dependency.keystore.password}</storepass>
<alias > ${auth.server.host}</alias>
<file > ${dependency.keystore.root}/${auth.server.host}.pem</file>
</configuration>
</execution>
<execution >
<id > import-auth-server-cert-to-truststore</id>
<phase > generate-test-resources</phase>
<goals >
<goal > importCertificate</goal>
</goals>
<configuration >
<keystore > ${dependency.truststore}</keystore>
<storepass > ${dependency.truststore.password}</storepass>
<alias > ${auth.server.host}</alias>
<file > ${dependency.keystore.root}/${auth.server.host}.pem</file>
<trustcacerts > true</trustcacerts>
<noprompt > true</noprompt>
</configuration>
</execution>
</executions>
</plugin>
<plugin >
<artifactId > maven-resources-plugin</artifactId>
<executions >
<execution >
<id > copy-processed-truststore-to-auth-server</id>
<phase > process-test-resources</phase>
<goals >
<goal > copy-resources</goal>
</goals>
<configuration >
<outputDirectory > ${auth.server.config.dir}</outputDirectory>
<resources >
<resource >
<directory > ${dependency.keystore.root}</directory>
</resource>
</resources>
<overwrite > true</overwrite>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
2020-06-03 08:04:48 +00:00
<profile >
<id > firefox-strict-cookies</id>
<properties >
<browser > firefox</browser>
2020-06-10 14:24:24 +00:00
<js.browser > firefox</js.browser>
2020-06-03 08:04:48 +00:00
<firefoxUserPreferences > ${project.build.directory}/dependency/firefox-cookies-prefs.js</firefoxUserPreferences>
<firefoxHeadless > true</firefoxHeadless>
2020-06-10 14:24:24 +00:00
<browser.strict.cookies > true</browser.strict.cookies>
2020-06-03 08:04:48 +00:00
</properties>
</profile>
2020-06-29 07:03:56 +00:00
<profile >
<id > set-javax.net.ssl-properties-for-tomcat</id>
<activation >
<property >
<name > app.server.ssl.required</name>
</property>
</activation>
<properties >
<tomcat.javax.net.ssl.properties > -Djavax.net.ssl.trustStore=${app.server.home}/lib/keycloak.truststore -Djavax.net.ssl.trustStorePassword=secret</tomcat.javax.net.ssl.properties>
</properties>
</profile>
2020-08-20 14:51:01 +00:00
<profile >
<id > cache-auth</id>
<properties >
<cache.server.auth > true</cache.server.auth>
</properties>
</profile>
2015-09-18 12:27:28 +00:00
</profiles>
2017-09-21 13:01:01 +00:00
2015-09-18 12:27:28 +00:00
</project>