2020-09-02 13:29:07 +00:00
<?xml version='1.0' encoding='UTF-8'?>
2016-02-03 10:20:22 +00:00
<!--
2016-03-24 10:24:21 +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.
-->
2020-09-02 13:29:07 +00:00
<project xmlns= "http://maven.apache.org/POM/4.0.0" xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation= "http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
2016-01-20 06:16:53 +00:00
<modelVersion > 4.0.0</modelVersion>
2015-05-26 13:53:54 +00:00
<parent >
<groupId > org.keycloak</groupId>
2015-09-18 12:27:28 +00:00
<artifactId > keycloak-testsuite-pom</artifactId>
2023-03-03 10:11:44 +00:00
<version > 999.0.0-SNAPSHOT</version>
2015-05-26 13:53:54 +00:00
<relativePath > ../pom.xml</relativePath>
</parent>
2015-09-18 12:27:28 +00:00
<groupId > org.keycloak.testsuite</groupId>
<artifactId > integration-arquillian</artifactId>
<packaging > pom</packaging>
2016-01-20 06:16:53 +00:00
<name > Keycloak Arquillian Integration TestSuite</name>
2016-06-30 12:46:34 +00:00
2016-03-24 10:24:21 +00:00
<properties >
2016-03-14 11:08:36 +00:00
2016-03-24 10:24:21 +00:00
<containers.home > ${project.build.directory}/containers</containers.home>
<auth.server.java.home > ${java.home}</auth.server.java.home>
<app.server.java.home > ${java.home}</app.server.java.home>
2018-04-18 13:45:12 +00:00
<app.server > undertow</app.server>
2020-08-20 14:51:01 +00:00
<cache.server.java.home > ${java.home}</cache.server.java.home>
2016-03-14 11:08:36 +00:00
2016-03-24 10:24:21 +00:00
<!-- component versions -->
2020-01-22 11:57:02 +00:00
<arquillian-core.version > 1.6.0.Final</arquillian-core.version>
2018-04-23 11:42:31 +00:00
<!-- the version of shrinkwrap_resolver should align with the version in arquillian - bom -->
2020-01-22 11:57:02 +00:00
<shrinkwrap-resolver.version > 3.1.4</shrinkwrap-resolver.version>
2018-09-06 11:14:12 +00:00
<selenium.version > 3.14.0</selenium.version>
2021-12-06 10:45:08 +00:00
<arquillian-drone.version > 2.5.5</arquillian-drone.version>
2022-08-09 11:18:25 +00:00
<arquillian-graphene.version > 3.0.0-alpha.3</arquillian-graphene.version>
2021-12-06 10:45:08 +00:00
<arquillian-wildfly-container.version > 3.0.1.Final</arquillian-wildfly-container.version>
2017-06-12 09:28:49 +00:00
<arquillian-wls-container.version > 1.0.1.Final</arquillian-wls-container.version>
2019-02-12 09:12:40 +00:00
<arquillian-jetty9-container.version > 1.0.0.CR3</arquillian-jetty9-container.version>
2021-12-06 10:45:08 +00:00
<arquillian-infinispan-container.version > 1.2.0.Beta3</arquillian-infinispan-container.version>
2020-10-16 13:21:50 +00:00
<arquillian-tomcat8-container-version > 1.1.0.Final</arquillian-tomcat8-container-version>
<arquillian-tomcat9-container-version > 1.1.0.Final</arquillian-tomcat9-container-version>
2016-04-12 07:40:57 +00:00
<undertow-embedded.version > 1.0.0.Alpha2</undertow-embedded.version>
2017-08-23 10:09:39 +00:00
<version.org.wildfly.extras.creaper > 1.6.1</version.org.wildfly.extras.creaper>
2018-08-07 09:10:24 +00:00
<appium.client.version > 6.1.0</appium.client.version>
2016-06-30 12:46:34 +00:00
2016-10-13 12:01:29 +00:00
<!-- migration properties -->
2017-01-19 11:35:59 +00:00
<migration.70.version > 1.9.8.Final</migration.70.version>
2017-03-20 09:34:35 +00:00
<migration.71.version > 2.5.5.Final</migration.71.version>
2018-10-12 10:00:55 +00:00
<migration.72.version > 3.4.3.Final</migration.72.version>
2019-02-21 15:05:10 +00:00
<migration.73.version > 4.8.3.Final</migration.73.version>
2019-01-29 17:17:58 +00:00
<!-- By default, skip docker - maven - plugin when running base tests -->
<docker.database.skip > true</docker.database.skip>
2019-01-31 15:42:27 +00:00
<docker.database.postStart > /bin/true</docker.database.postStart>
<docker.database.wait-for-log-regex > NEVER-MATCHING-REGEX</docker.database.wait-for-log-regex>
2019-05-20 20:00:26 +00:00
<docker.database.cmd > NEVER-USED-CMD</docker.database.cmd>
2019-01-31 15:42:27 +00:00
<docker.database.shmsize > 67108864</docker.database.shmsize>
<jdbc.mvn.groupId > com.h2database</jdbc.mvn.groupId>
<jdbc.mvn.artifactId > h2</jdbc.mvn.artifactId>
<jdbc.mvn.version > ${h2.version}</jdbc.mvn.version>
2019-03-08 12:27:29 +00:00
<keycloak.connectionsJpa.schema > DEFAULT</keycloak.connectionsJpa.schema>
2019-03-19 10:41:42 +00:00
<dballocator.skip > true</dballocator.skip>
2016-03-24 10:24:21 +00:00
</properties>
<dependencyManagement >
<dependencies >
2018-09-06 11:14:12 +00:00
<!-- Selenium Server -->
<dependency >
<groupId > org.seleniumhq.selenium</groupId>
<artifactId > selenium-server</artifactId>
<version > ${selenium.version}</version>
</dependency>
<!-- Selenium dependencies -->
<dependency >
<groupId > org.seleniumhq.selenium</groupId>
<artifactId > selenium-api</artifactId>
<version > ${selenium.version}</version>
</dependency>
<dependency >
<groupId > org.seleniumhq.selenium</groupId>
<artifactId > selenium-java</artifactId>
<version > ${selenium.version}</version>
</dependency>
<dependency >
<groupId > org.seleniumhq.selenium</groupId>
<artifactId > selenium-support</artifactId>
<version > ${selenium.version}</version>
</dependency>
<dependency >
<groupId > org.seleniumhq.selenium</groupId>
<artifactId > selenium-leg-rc</artifactId>
<version > ${selenium.version}</version>
</dependency>
<dependency >
<groupId > org.seleniumhq.selenium</groupId>
<artifactId > lift</artifactId>
<version > ${selenium.version}</version>
</dependency>
<!-- Drivers -->
<dependency >
<groupId > org.seleniumhq.selenium</groupId>
<artifactId > selenium-chrome-driver</artifactId>
<version > ${selenium.version}</version>
</dependency>
<dependency >
<groupId > org.seleniumhq.selenium</groupId>
<artifactId > selenium-firefox-driver</artifactId>
<version > ${selenium.version}</version>
</dependency>
<dependency >
<groupId > org.seleniumhq.selenium</groupId>
<artifactId > selenium-ie-driver</artifactId>
<version > ${selenium.version}</version>
</dependency>
2016-03-24 10:24:21 +00:00
<dependency >
2018-09-06 11:14:12 +00:00
<groupId > org.seleniumhq.selenium</groupId>
<artifactId > selenium-edge-driver</artifactId>
2016-03-24 10:24:21 +00:00
<version > ${selenium.version}</version>
</dependency>
2018-09-06 11:14:12 +00:00
<dependency >
<groupId > org.seleniumhq.selenium</groupId>
<artifactId > selenium-safari-driver</artifactId>
<version > ${selenium.version}</version>
</dependency>
<dependency >
<groupId > org.seleniumhq.selenium</groupId>
<artifactId > selenium-remote-driver</artifactId>
<version > ${selenium.version}</version>
</dependency>
<dependency >
<groupId > org.seleniumhq.selenium</groupId>
<artifactId > selenium-opera-driver</artifactId>
<version > ${selenium.version}</version>
</dependency>
2016-03-24 10:24:21 +00:00
<dependency >
<groupId > org.jboss.arquillian</groupId>
<artifactId > arquillian-bom</artifactId>
<version > ${arquillian-core.version}</version>
<type > pom</type>
<scope > import</scope>
</dependency>
2016-07-18 12:01:26 +00:00
<dependency >
<groupId > org.jboss.shrinkwrap.resolver</groupId>
2018-04-23 11:42:31 +00:00
<artifactId > shrinkwrap-resolver-bom</artifactId>
<version > ${shrinkwrap-resolver.version}</version>
<type > pom</type>
<scope > import</scope>
2016-07-18 12:01:26 +00:00
</dependency>
2016-03-24 10:24:21 +00:00
<dependency >
<groupId > org.jboss.arquillian.extension</groupId>
<artifactId > arquillian-drone-bom</artifactId>
<version > ${arquillian-drone.version}</version>
<type > pom</type>
<scope > import</scope>
</dependency>
2017-05-29 07:02:57 +00:00
<dependency >
<groupId > org.infinispan.arquillian.container</groupId>
<artifactId > infinispan-arquillian-impl</artifactId>
<version > ${arquillian-infinispan-container.version}</version>
</dependency>
2016-03-24 10:24:21 +00:00
<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>
<version > ${arquillian-wildfly-container.version}</version>
2016-03-14 11:08:36 +00:00
</dependency>
2016-04-06 07:11:06 +00:00
<dependency >
2016-05-23 11:17:20 +00:00
<groupId > org.wildfly.arquillian</groupId>
2016-04-06 07:11:06 +00:00
<artifactId > wildfly-arquillian-container-remote</artifactId>
<version > ${arquillian-wildfly-container.version}</version>
</dependency>
2016-05-23 11:17:20 +00:00
<dependency >
<groupId > org.wildfly.arquillian</groupId>
<artifactId > wildfly-arquillian-container-domain-managed</artifactId>
<version > ${arquillian-wildfly-container.version}</version>
</dependency>
2017-06-12 09:28:49 +00:00
<dependency >
<groupId > org.jboss.arquillian.container</groupId>
<artifactId > arquillian-wls-remote-12.1.x</artifactId>
<version > ${arquillian-wls-container.version}</version>
<scope > test</scope>
</dependency>
2018-06-19 10:18:11 +00:00
<dependency >
<groupId > org.jboss.arquillian.container</groupId>
<artifactId > undertow-embedded</artifactId>
<version > ${undertow-embedded.version}</version>
</dependency>
2023-01-19 12:06:21 +00:00
<dependency >
<groupId > org.keycloak</groupId>
<artifactId > keycloak-rest-admin-ui-ext</artifactId>
</dependency>
2016-03-24 10:24:21 +00:00
</dependencies>
</dependencyManagement>
2015-09-18 12:27:28 +00:00
<build >
<pluginManagement >
<plugins >
2019-03-19 10:41:42 +00:00
<plugin >
<groupId > org.keycloak</groupId>
<artifactId > db-allocator-plugin</artifactId>
<version > ${project.version}</version>
<configuration >
<propertyDatabase > keycloak.connectionsJpa.database</propertyDatabase>
<propertyDriver > keycloak.connectionsJpa.driver</propertyDriver>
<propertyURL > keycloak.connectionsJpa.url</propertyURL>
<propertyUser > keycloak.connectionsJpa.user</propertyUser>
<propertyPassword > keycloak.connectionsJpa.password</propertyPassword>
</configuration>
</plugin>
2015-09-18 12:27:28 +00:00
<plugin >
<artifactId > maven-surefire-plugin</artifactId>
2016-03-24 14:08:55 +00:00
<configuration >
<failIfNoTests > false</failIfNoTests>
</configuration>
2015-09-18 12:27:28 +00:00
</plugin>
<plugin >
<groupId > org.codehaus.mojo</groupId>
<artifactId > xml-maven-plugin</artifactId>
2016-01-04 15:46:47 +00:00
<version > 1.0.1</version>
2015-09-18 12:27:28 +00:00
</plugin>
2016-09-02 11:55:49 +00:00
<plugin >
<artifactId > maven-resources-plugin</artifactId>
2018-07-17 07:53:56 +00:00
<version > 3.0.1</version>
2016-09-02 11:55:49 +00:00
</plugin>
2018-04-23 11:42:31 +00:00
<plugin >
<groupId > org.commonjava.maven.plugins</groupId>
<artifactId > directory-maven-plugin</artifactId>
<version > 0.3.1</version>
</plugin>
2018-09-24 08:49:47 +00:00
<plugin >
<groupId > com.googlecode.maven-download-plugin</groupId>
<artifactId > download-maven-plugin</artifactId>
<version > 1.4.1</version>
</plugin>
2020-05-26 14:33:16 +00:00
<plugin >
<groupId > org.codehaus.mojo</groupId>
<artifactId > keytool-maven-plugin</artifactId>
<version > 1.5</version>
</plugin>
2015-09-18 12:27:28 +00:00
</plugins>
</pluginManagement>
2019-05-24 10:59:57 +00:00
2019-03-19 10:41:42 +00:00
<plugins >
2020-01-22 11:57:02 +00:00
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-enforcer-plugin</artifactId>
<version > ${version.enforcer.plugin}</version>
<executions >
<execution >
<id > enforce-maven</id>
<goals >
<goal > enforce</goal>
</goals>
<configuration >
<rules >
<requireMavenVersion >
<version > 3.5.4</version>
</requireMavenVersion>
</rules>
</configuration>
</execution>
2020-02-12 08:35:58 +00:00
<execution >
<id > enforce-maven-for-deploy-phase</id>
<goals >
<goal > enforce</goal>
</goals>
<phase > deploy</phase>
<configuration >
<rules >
<requireMavenVersion >
<version > 3.6.0</version>
</requireMavenVersion>
</rules>
</configuration>
</execution>
2020-01-22 11:57:02 +00:00
</executions>
</plugin>
2019-03-19 10:41:42 +00:00
</plugins>
2015-09-18 12:27:28 +00:00
</build>
2016-03-24 10:24:21 +00:00
<modules >
2016-04-06 07:11:06 +00:00
<module > test-apps</module>
2016-03-24 10:24:21 +00:00
<module > servers</module>
<module > tests</module>
2018-06-19 10:18:11 +00:00
<module > util</module>
2016-03-24 10:24:21 +00:00
</modules>
2016-10-13 12:01:29 +00:00
<profiles >
2020-02-27 08:38:45 +00:00
<profile >
<id > jpa</id>
<build >
<plugins >
<!-- Just allocate the DB now. It will be released after the tests, so the "release" is declared in the base - tests module -->
<plugin >
<groupId > org.keycloak</groupId>
<artifactId > db-allocator-plugin</artifactId>
<inherited > false</inherited>
<executions >
<execution >
<id > allocate-db</id>
<goals >
<goal > allocate</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
2016-10-13 12:01:29 +00:00
<profile >
2017-01-19 11:35:59 +00:00
<id > test-70-migration</id>
2016-10-13 12:01:29 +00:00
<properties >
2017-01-19 11:35:59 +00:00
<migrated.auth.server.version > ${migration.70.version}</migrated.auth.server.version>
2016-10-13 12:01:29 +00:00
</properties>
2016-11-14 12:09:03 +00:00
<build >
<pluginManagement >
<plugins >
<plugin >
<artifactId > maven-surefire-plugin</artifactId>
<configuration >
<systemPropertyVariables >
<migrated.auth.server.version > ${migrated.auth.server.version}</migrated.auth.server.version>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
2016-10-13 12:01:29 +00:00
</profile>
<profile >
2018-10-12 10:00:55 +00:00
<id > test-71-migration</id>
2016-10-13 12:01:29 +00:00
<properties >
2018-10-12 10:00:55 +00:00
<migrated.auth.server.version > ${migration.71.version}</migrated.auth.server.version>
2016-10-13 12:01:29 +00:00
</properties>
2016-11-14 12:09:03 +00:00
<build >
<pluginManagement >
<plugins >
<plugin >
<artifactId > maven-surefire-plugin</artifactId>
<configuration >
<systemPropertyVariables >
<migrated.auth.server.version > ${migrated.auth.server.version}</migrated.auth.server.version>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
2016-10-13 12:01:29 +00:00
</profile>
2017-03-20 09:34:35 +00:00
<profile >
2018-10-12 10:00:55 +00:00
<id > test-72-migration</id>
2017-01-19 11:35:59 +00:00
<properties >
2018-10-12 10:00:55 +00:00
<migrated.auth.server.version > ${migration.72.version}</migrated.auth.server.version>
2017-01-19 11:35:59 +00:00
</properties>
2019-02-21 15:05:10 +00:00
<build >
<pluginManagement >
<plugins >
<plugin >
<artifactId > maven-surefire-plugin</artifactId>
<configuration >
<systemPropertyVariables >
<migrated.auth.server.version > ${migrated.auth.server.version}</migrated.auth.server.version>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
<profile >
<id > test-73-migration</id>
<properties >
<migrated.auth.server.version > ${migration.73.version}</migrated.auth.server.version>
</properties>
2017-01-19 11:35:59 +00:00
<build >
<pluginManagement >
<plugins >
<plugin >
<artifactId > maven-surefire-plugin</artifactId>
<configuration >
<systemPropertyVariables >
<migrated.auth.server.version > ${migrated.auth.server.version}</migrated.auth.server.version>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
2017-03-20 09:34:35 +00:00
</profile>
2019-06-03 20:11:47 +00:00
<!-- Specifies default DB properties, which are used for test with embedded H2. Those are overriden when testing with any docker container
profile like "db-mysql" or any dballocator profile. Also those can be manually overriden when running the test from CMD -->
<profile >
<id > db-default-properties</id>
<activation >
<property >
<name > !dballocator.uri</name>
</property>
</activation>
<properties >
<keycloak.connectionsJpa.driver > org.h2.Driver</keycloak.connectionsJpa.driver>
<keycloak.connectionsJpa.database > keycloak</keycloak.connectionsJpa.database>
<keycloak.connectionsJpa.user > sa</keycloak.connectionsJpa.user>
2020-09-02 13:29:07 +00:00
<keycloak.connectionsJpa.password />
2022-10-07 09:38:00 +00:00
<keycloak.connectionsJpa.url > jdbc:h2:mem:test;DB_CLOSE_DELAY=-1</keycloak.connectionsJpa.url>
2019-06-03 20:11:47 +00:00
</properties>
</profile>
2019-01-29 17:17:58 +00:00
<profile >
<id > db-mysql</id>
<properties >
2022-08-08 15:32:36 +00:00
<keycloak.storage.connections.vendor > mysql</keycloak.storage.connections.vendor>
2019-01-29 17:17:58 +00:00
<keycloak.connectionsJpa.driver > com.mysql.jdbc.Driver</keycloak.connectionsJpa.driver>
<keycloak.connectionsJpa.database > keycloak</keycloak.connectionsJpa.database>
<keycloak.connectionsJpa.user > keycloak</keycloak.connectionsJpa.user>
<keycloak.connectionsJpa.password > keycloak</keycloak.connectionsJpa.password>
2019-11-07 10:16:10 +00:00
<keycloak.connectionsJpa.url > jdbc:mysql://${auth.server.db.host}/${keycloak.connectionsJpa.database}?allowPublicKeyRetrieval=true</keycloak.connectionsJpa.url>
2022-08-08 15:32:36 +00:00
<!-- Map Store JPA -->
<keycloak.map.storage.connectionsJpa.url > ${keycloak.connectionsJpa.url}</keycloak.map.storage.connectionsJpa.url>
<keycloak.map.storage.connectionsJpa.user > ${keycloak.connectionsJpa.user}</keycloak.map.storage.connectionsJpa.user>
<keycloak.map.storage.connectionsJpa.password > ${keycloak.connectionsJpa.password}</keycloak.map.storage.connectionsJpa.password>
2019-05-24 10:59:57 +00:00
<!-- JDBC properties point to "default" JDBC driver for the particular DB -->
<!-- For EAP testing, it is recommended to override those with system properties pointing to GAV of more appropriate JDBC driver -->
<!-- for the particular EAP version -->
2019-01-29 17:17:58 +00:00
<jdbc.mvn.groupId > mysql</jdbc.mvn.groupId>
<jdbc.mvn.artifactId > mysql-connector-java</jdbc.mvn.artifactId>
2022-11-29 23:04:56 +00:00
<jdbc.mvn.version > ${mysql-jdbc.version}</jdbc.mvn.version>
2021-03-04 01:39:47 +00:00
<docker.database.image > mysql:${mysql.version}</docker.database.image>
2019-01-29 17:17:58 +00:00
<docker.database.port > 3306</docker.database.port>
<docker.database.skip > false</docker.database.skip>
2019-05-20 20:00:26 +00:00
<docker.database.cmd > mysqld</docker.database.cmd>
2019-01-31 15:42:27 +00:00
<docker.database.wait-for-log-regex > (?si)Ready for start up.*ready [^\n]{0,30}connections</docker.database.wait-for-log-regex>
2019-01-29 17:17:58 +00:00
</properties>
</profile>
2019-03-19 10:41:42 +00:00
<profile >
<id > db-allocator-db-mysql</id>
<properties >
2022-11-22 14:09:59 +00:00
<keycloak.storage.connections.vendor > mysql</keycloak.storage.connections.vendor>
2019-11-07 10:16:10 +00:00
<dballocator.type > mysql80</dballocator.type>
2019-03-19 10:41:42 +00:00
<dballocator.skip > false</dballocator.skip>
</properties>
</profile>
2019-01-29 17:17:58 +00:00
<profile >
<id > db-postgres</id>
<properties >
2022-08-08 15:32:36 +00:00
<keycloak.storage.connections.vendor > postgres</keycloak.storage.connections.vendor>
2019-01-29 17:17:58 +00:00
<keycloak.connectionsJpa.driver > org.postgresql.Driver</keycloak.connectionsJpa.driver>
<keycloak.connectionsJpa.database > keycloak</keycloak.connectionsJpa.database>
<keycloak.connectionsJpa.user > keycloak</keycloak.connectionsJpa.user>
<keycloak.connectionsJpa.password > keycloak</keycloak.connectionsJpa.password>
<keycloak.connectionsJpa.url > jdbc:postgresql://${auth.server.db.host}/${keycloak.connectionsJpa.database}</keycloak.connectionsJpa.url>
2022-08-08 15:32:36 +00:00
<!-- Map Store JPA -->
<keycloak.map.storage.connectionsJpa.url > ${keycloak.connectionsJpa.url}</keycloak.map.storage.connectionsJpa.url>
<keycloak.map.storage.connectionsJpa.user > ${keycloak.connectionsJpa.user}</keycloak.map.storage.connectionsJpa.user>
<keycloak.map.storage.connectionsJpa.password > ${keycloak.connectionsJpa.password}</keycloak.map.storage.connectionsJpa.password>
2019-05-24 10:59:57 +00:00
<!-- JDBC properties point to "default" JDBC driver for the particular DB -->
<!-- For EAP testing, it is recommended to override those with system properties pointing to GAV of more appropriate JDBC driver -->
<!-- for the particular EAP version -->
2019-01-29 17:17:58 +00:00
<jdbc.mvn.groupId > org.postgresql</jdbc.mvn.groupId>
<jdbc.mvn.artifactId > postgresql</jdbc.mvn.artifactId>
2022-11-29 23:04:56 +00:00
<jdbc.mvn.version > ${postgresql-jdbc.version}</jdbc.mvn.version>
2021-03-04 01:39:47 +00:00
<docker.database.image > postgres:${postgresql.version}</docker.database.image>
2020-05-10 21:50:16 +00:00
<docker.database.port > 5432</docker.database.port>
<docker.database.skip > false</docker.database.skip>
<docker.database.cmd > postgres</docker.database.cmd>
<docker.database.wait-for-log-regex > (?si)Ready for start up.*ready [^\n]{0,30}connections</docker.database.wait-for-log-regex>
</properties>
</profile>
2019-03-19 10:41:42 +00:00
<profile >
<id > db-allocator-db-postgres</id>
<properties >
2022-11-22 14:09:59 +00:00
<keycloak.storage.connections.vendor > postgres</keycloak.storage.connections.vendor>
2021-03-04 01:39:47 +00:00
<dballocator.type > postgresql132</dballocator.type>
2019-03-19 10:41:42 +00:00
<dballocator.skip > false</dballocator.skip>
2019-07-01 20:31:50 +00:00
</properties>
</profile>
<profile >
<id > db-allocator-db-postgresplus</id>
<properties >
2022-11-22 14:09:59 +00:00
<keycloak.storage.connections.vendor > postgres</keycloak.storage.connections.vendor>
2021-03-04 01:39:47 +00:00
<dballocator.type > postgresplus131</dballocator.type>
2019-07-01 20:31:50 +00:00
<dballocator.skip > false</dballocator.skip>
2019-03-19 10:41:42 +00:00
</properties>
</profile>
2019-01-29 17:17:58 +00:00
<profile >
<id > db-mariadb</id>
<properties >
2022-08-08 15:32:36 +00:00
<keycloak.storage.connections.vendor > mariadb</keycloak.storage.connections.vendor>
2019-01-29 17:17:58 +00:00
<keycloak.connectionsJpa.driver > org.mariadb.jdbc.Driver</keycloak.connectionsJpa.driver>
<keycloak.connectionsJpa.database > keycloak</keycloak.connectionsJpa.database>
<keycloak.connectionsJpa.user > keycloak</keycloak.connectionsJpa.user>
<keycloak.connectionsJpa.password > keycloak</keycloak.connectionsJpa.password>
<keycloak.connectionsJpa.url > jdbc:mariadb://${auth.server.db.host}/${keycloak.connectionsJpa.database}</keycloak.connectionsJpa.url>
2022-08-08 15:32:36 +00:00
<!-- Map Store JPA -->
<keycloak.map.storage.connectionsJpa.url > ${keycloak.connectionsJpa.url}</keycloak.map.storage.connectionsJpa.url>
<keycloak.map.storage.connectionsJpa.user > ${keycloak.connectionsJpa.user}</keycloak.map.storage.connectionsJpa.user>
<keycloak.map.storage.connectionsJpa.password > ${keycloak.connectionsJpa.password}</keycloak.map.storage.connectionsJpa.password>
2019-05-24 10:59:57 +00:00
<!-- JDBC properties point to "default" JDBC driver for the particular DB -->
<!-- For EAP testing, it is recommended to override those with system properties pointing to GAV of more appropriate JDBC driver -->
<!-- for the particular EAP version -->
2019-01-29 17:17:58 +00:00
<jdbc.mvn.groupId > org.mariadb.jdbc</jdbc.mvn.groupId>
<jdbc.mvn.artifactId > mariadb-java-client</jdbc.mvn.artifactId>
2022-11-29 23:04:56 +00:00
<jdbc.mvn.version > ${mariadb-jdbc.version}</jdbc.mvn.version>
2023-01-10 16:37:27 +00:00
<docker.database.image > docker.io/mariadb:${mariadb.version}</docker.database.image>
2019-01-29 17:17:58 +00:00
<docker.database.port > 3306</docker.database.port>
<docker.database.skip > false</docker.database.skip>
2019-05-20 20:00:26 +00:00
<!-- Need to explicitly enable utf8 as it is not the default settings in the mariadb docker image -->
<docker.database.cmd > --character-set-server=utf8 --collation-server=utf8_unicode_ci</docker.database.cmd>
2019-01-31 15:42:27 +00:00
<docker.database.wait-for-log-regex > (?si)Ready for start up.*ready [^\n]{0,30}connections</docker.database.wait-for-log-regex>
</properties>
</profile>
2019-03-19 10:41:42 +00:00
<profile >
<id > db-allocator-db-mariadb</id>
<properties >
2022-11-22 14:09:59 +00:00
<keycloak.storage.connections.vendor > mariadb</keycloak.storage.connections.vendor>
2021-03-04 01:39:47 +00:00
<dballocator.type > mariadb_galera_103</dballocator.type>
2019-03-19 10:41:42 +00:00
<dballocator.skip > false</dballocator.skip>
</properties>
</profile>
2019-01-31 15:42:27 +00:00
<profile >
2021-03-04 01:39:47 +00:00
<id > db-mssql</id>
2019-01-31 15:42:27 +00:00
<properties >
2021-03-04 01:39:47 +00:00
<docker.database.image > mcr.microsoft.com/mssql/server:${mssql.version}</docker.database.image>
2019-01-31 15:42:27 +00:00
<docker.database.port > 1433</docker.database.port>
<docker.database.skip > false</docker.database.skip>
<docker.database.postStart > /opt/mssql-tools/bin/sqlcmd -e -U sa -P vEry5tron9Pwd -d master -Q CREATE\ DATABASE\ ${keycloak.connectionsJpa.database}</docker.database.postStart>
2019-05-20 20:00:26 +00:00
<docker.database.cmd > /bin/sh -c /opt/mssql/bin/sqlservr</docker.database.cmd>
2019-01-31 15:42:27 +00:00
<docker.database.wait-for-log-regex > (?si)SQL Server is now ready for client connections.*Service Broker manager has started</docker.database.wait-for-log-regex>
2022-08-08 15:32:36 +00:00
<keycloak.storage.connections.vendor > mssql</keycloak.storage.connections.vendor>
2019-01-31 15:42:27 +00:00
<keycloak.connectionsJpa.driver > com.microsoft.sqlserver.jdbc.SQLServerDriver</keycloak.connectionsJpa.driver>
<keycloak.connectionsJpa.database > keycloak</keycloak.connectionsJpa.database>
<keycloak.connectionsJpa.user > sa</keycloak.connectionsJpa.user>
<keycloak.connectionsJpa.password > vEry5tron9Pwd</keycloak.connectionsJpa.password>
2023-01-06 07:55:09 +00:00
<keycloak.connectionsJpa.url > jdbc:sqlserver://${auth.server.db.host}:${docker.database.port};databaseName=${keycloak.connectionsJpa.database};integratedSecurity=false;encrypt=false;trustServerCertificate=true;sendStringParametersAsUnicode=false;</keycloak.connectionsJpa.url>
2022-08-08 15:32:36 +00:00
<!-- Map Store JPA -->
<keycloak.map.storage.connectionsJpa.url > ${keycloak.connectionsJpa.url}</keycloak.map.storage.connectionsJpa.url>
<keycloak.map.storage.connectionsJpa.user > ${keycloak.connectionsJpa.user}</keycloak.map.storage.connectionsJpa.user>
<keycloak.map.storage.connectionsJpa.password > ${keycloak.connectionsJpa.password}</keycloak.map.storage.connectionsJpa.password>
2019-05-24 10:59:57 +00:00
<!-- JDBC properties point to "default" JDBC driver for the particular DB -->
<!-- For EAP testing, it is recommended to override those with system properties pointing to GAV of more appropriate JDBC driver -->
<!-- for the particular EAP version -->
2019-01-31 15:42:27 +00:00
<jdbc.mvn.groupId > com.microsoft.sqlserver</jdbc.mvn.groupId>
<jdbc.mvn.artifactId > mssql-jdbc</jdbc.mvn.artifactId>
2022-11-29 23:04:56 +00:00
<jdbc.mvn.version > ${mssql-jdbc.version}</jdbc.mvn.version>
2019-01-31 15:42:27 +00:00
</properties>
</profile>
2019-03-19 10:41:42 +00:00
<profile >
2021-03-04 01:39:47 +00:00
<id > db-allocator-db-mssql2019</id>
2019-03-19 10:41:42 +00:00
<properties >
2022-11-22 14:09:59 +00:00
<keycloak.storage.connections.vendor > mssql</keycloak.storage.connections.vendor>
2021-03-04 01:39:47 +00:00
<dballocator.type > mssql2019</dballocator.type>
2019-03-19 10:41:42 +00:00
<dballocator.skip > false</dballocator.skip>
</properties>
</profile>
2019-01-31 15:42:27 +00:00
<profile >
2022-12-21 07:15:38 +00:00
<id > db-oracle</id>
2019-01-31 15:42:27 +00:00
<properties >
2022-12-21 07:15:38 +00:00
<docker.database.image > docker.io/gvenzl/oracle-xe:21-slim-faststart</docker.database.image>
2019-01-31 15:42:27 +00:00
<docker.database.port > 1521</docker.database.port>
<docker.database.shmsize > 1073741824</docker.database.shmsize>
<docker.database.skip > false</docker.database.skip>
2019-05-20 20:00:26 +00:00
<docker.database.cmd > /bin/sh -c exec\ $ORACLE_BASE/$RUN_FILE</docker.database.cmd>
2019-01-31 15:42:27 +00:00
<docker.database.wait-for-log-regex > (?si)DATABASE IS READY TO USE</docker.database.wait-for-log-regex>
2022-08-08 15:32:36 +00:00
<keycloak.storage.connections.vendor > oracle</keycloak.storage.connections.vendor>
2019-01-31 15:42:27 +00:00
<keycloak.connectionsJpa.driver > oracle.jdbc.OracleDriver</keycloak.connectionsJpa.driver>
<keycloak.connectionsJpa.database > XE</keycloak.connectionsJpa.database>
<keycloak.connectionsJpa.user > keycloak</keycloak.connectionsJpa.user>
<keycloak.connectionsJpa.password > keycloak</keycloak.connectionsJpa.password>
<keycloak.connectionsJpa.url > jdbc:oracle:thin:@${auth.server.db.host}:${docker.database.port}:${keycloak.connectionsJpa.database}</keycloak.connectionsJpa.url>
2022-08-08 15:32:36 +00:00
<!-- Map Store JPA -->
<keycloak.map.storage.connectionsJpa.url > ${keycloak.connectionsJpa.url}</keycloak.map.storage.connectionsJpa.url>
<keycloak.map.storage.connectionsJpa.user > ${keycloak.connectionsJpa.user}</keycloak.map.storage.connectionsJpa.user>
<keycloak.map.storage.connectionsJpa.password > ${keycloak.connectionsJpa.password}</keycloak.map.storage.connectionsJpa.password>
2022-12-21 07:15:38 +00:00
<docker.database.postStart > bash -c while\ !\ sqlplus\ -L\ SYS/sa@localhost/XE\ AS\ SYSDBA\ < < < \ $'alter\ session\ set\ \"_ORACLE_SCRIPT\"=true;\n\ CREATE\ USER\ ${keycloak.connectionsJpa.user}\ IDENTIFIED\ BY\ ${keycloak.connectionsJpa.password};\n\ GRANT\ CONNECT,\ RESOURCE,\ DBA,\ GRANT\ ANY\ PRIVILEGE,\ UNLIMITED\ TABLESPACE\ TO\ ${keycloak.connectionsJpa.user};\n';\ do\ sleep\ 5;\ done</docker.database.postStart>
2019-05-24 10:59:57 +00:00
<!-- JDBC properties point to "default" JDBC driver for the particular DB -->
<!-- For EAP testing, it is recommended to override those with system properties pointing to GAV of more appropriate JDBC driver -->
<!-- for the particular EAP version -->
2022-11-18 16:50:21 +00:00
<jdbc.mvn.groupId > com.oracle.database.jdbc</jdbc.mvn.groupId>
<jdbc.mvn.artifactId > ojdbc11</jdbc.mvn.artifactId>
2022-11-29 23:04:56 +00:00
<jdbc.mvn.version > ${oracle-jdbc.version}</jdbc.mvn.version>
2019-01-29 17:17:58 +00:00
</properties>
</profile>
2019-03-19 10:41:42 +00:00
<profile >
2020-01-20 17:55:44 +00:00
<id > db-allocator-db-oracleRAC</id>
2019-03-19 10:41:42 +00:00
<properties >
2022-11-22 14:09:59 +00:00
<keycloak.storage.connections.vendor > oracle</keycloak.storage.connections.vendor>
2020-01-20 17:55:44 +00:00
<dballocator.type > oracle19cRAC</dballocator.type>
2019-03-19 10:41:42 +00:00
<dballocator.skip > false</dballocator.skip>
</properties>
</profile>
2023-02-03 09:09:26 +00:00
<!-- Workaround for issues related to PhantomJS in some newer linux environment. See for example here for more details https://github.com/nodejs/node/issues/43132 -->
<profile >
<id > phantomjs-openssl-workaround</id>
<activation >
<os >
<family > unix</family>
</os>
</activation>
<build >
<pluginManagement >
<plugins >
<plugin >
<artifactId > maven-surefire-plugin</artifactId>
<configuration >
<environmentVariables >
<OPENSSL_CONF > /dev/null</OPENSSL_CONF>
</environmentVariables>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
2016-10-13 12:01:29 +00:00
</profiles>
2016-03-14 11:08:36 +00:00
2022-08-01 18:49:11 +00:00
<repositories >
<repository >
<id > sonatype-snapshots</id>
<name > Sonatype Snapshots</name>
<url > https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
<snapshots >
<enabled > true</enabled>
<updatePolicy > daily</updatePolicy>
</snapshots>
<releases >
<enabled > false</enabled>
</releases>
</repository>
</repositories>
2015-05-26 13:53:54 +00:00
</project>