2017-07-14 05:01:54 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<!--
|
|
|
|
~ 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.
|
|
|
|
-->
|
|
|
|
|
|
|
|
<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/maven-v4_0_0.xsd">
|
|
|
|
<parent>
|
|
|
|
<artifactId>keycloak-testsuite-pom</artifactId>
|
|
|
|
<groupId>org.keycloak</groupId>
|
2022-03-22 08:22:48 +00:00
|
|
|
<version>999-SNAPSHOT</version>
|
2017-07-14 05:01:54 +00:00
|
|
|
</parent>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<artifactId>keycloak-testsuite-utils</artifactId>
|
|
|
|
<name>Keycloak TestSuite Utils</name>
|
|
|
|
<description />
|
|
|
|
|
|
|
|
<properties>
|
2018-07-31 08:17:07 +00:00
|
|
|
<keycloak.additionalClasspathElement>NON_EXISTENT_PATH_OVERRIDE_ON_COMMAND_LINE</keycloak.additionalClasspathElement>
|
2017-07-14 05:01:54 +00:00
|
|
|
</properties>
|
2017-08-30 05:59:47 +00:00
|
|
|
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.bouncycastle</groupId>
|
|
|
|
<artifactId>bcprov-jdk15on</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.bouncycastle</groupId>
|
|
|
|
<artifactId>bcpkix-jdk15on</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-dependencies-server-all</artifactId>
|
|
|
|
<type>pom</type>
|
|
|
|
</dependency>
|
2022-07-27 08:13:49 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-dependencies-admin-ui-wrapper</artifactId>
|
|
|
|
<type>pom</type>
|
|
|
|
<scope>import</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-admin-ui</artifactId>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>*</groupId>
|
|
|
|
<artifactId>*</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
2017-08-30 05:59:47 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-admin-client</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-wildfly-adduser</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
<artifactId>log4j</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2019-02-15 20:00:46 +00:00
|
|
|
<groupId>org.dom4j</groupId>
|
2017-08-30 05:59:47 +00:00
|
|
|
<artifactId>dom4j</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.spec.javax.ws.rs</groupId>
|
2018-08-09 13:01:54 +00:00
|
|
|
<artifactId>jboss-jaxrs-api_2.1_spec</artifactId>
|
2017-08-30 05:59:47 +00:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.spec.javax.transaction</groupId>
|
2019-09-25 06:02:17 +00:00
|
|
|
<artifactId>jboss-transaction-api_1.3_spec</artifactId>
|
2017-08-30 05:59:47 +00:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.resteasy</groupId>
|
2022-03-24 13:21:36 +00:00
|
|
|
<artifactId>resteasy-core</artifactId>
|
2017-08-30 05:59:47 +00:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
<artifactId>log4j</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-simple</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.resteasy</groupId>
|
|
|
|
<artifactId>resteasy-client</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.resteasy</groupId>
|
|
|
|
<artifactId>resteasy-undertow</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.resteasy</groupId>
|
|
|
|
<artifactId>resteasy-multipart-provider</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.resteasy</groupId>
|
|
|
|
<artifactId>resteasy-jackson2-provider</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.zxing</groupId>
|
|
|
|
<artifactId>javase</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
<artifactId>httpclient</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-server-spi-private</artifactId>
|
|
|
|
</dependency>
|
2022-06-29 05:17:09 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>${keycloak.crypto.artifactId}</artifactId>
|
|
|
|
</dependency>
|
2017-08-30 05:59:47 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-ldap-federation</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-kerberos-federation</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-undertow-adapter</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-saml-adapter-api-public</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-saml-adapter-core</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-authz-client</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-saml-servlet-filter-adapter</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-servlet-filter-adapter</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-saml-undertow-adapter</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-jaxrs-oauth-client</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<!-- Dependency on services from integration-arquillian -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
|
|
<artifactId>integration-arquillian-testsuite-providers</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.logging</groupId>
|
|
|
|
<artifactId>jboss-logging</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-core</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-databind</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-annotations</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.h2database</groupId>
|
|
|
|
<artifactId>h2</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.icegreen</groupId>
|
|
|
|
<artifactId>greenmail</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.infinispan</groupId>
|
|
|
|
<artifactId>infinispan-core</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.infinispan</groupId>
|
|
|
|
<artifactId>infinispan-cachestore-remote</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>xml-apis</groupId>
|
|
|
|
<artifactId>xml-apis</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- Apache DS -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-util-embedded-ldap</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.wildfly</groupId>
|
|
|
|
<artifactId>wildfly-undertow</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>mysql</groupId>
|
|
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.postgresql</groupId>
|
|
|
|
<artifactId>postgresql</artifactId>
|
2021-03-04 01:39:47 +00:00
|
|
|
<version>${postgresql.driver.version}</version>
|
2017-08-30 05:59:47 +00:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.mariadb.jdbc</groupId>
|
|
|
|
<artifactId>mariadb-java-client</artifactId>
|
2021-03-04 01:39:47 +00:00
|
|
|
<version>${mariadb.driver.version}</version>
|
2017-08-30 05:59:47 +00:00
|
|
|
</dependency>
|
2021-08-30 07:32:41 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.microsoft.sqlserver</groupId>
|
|
|
|
<artifactId>mssql-jdbc</artifactId>
|
|
|
|
<version>${mssql.driver.version}</version>
|
|
|
|
</dependency>
|
2022-05-27 10:28:50 +00:00
|
|
|
|
2017-08-30 05:59:47 +00:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
|
|
<profiles>
|
2022-06-06 19:04:31 +00:00
|
|
|
|
|
|
|
<!-- Nashorn script engine needs to be manually added for the new Java versions as it is not part of the JDK anymore -->
|
|
|
|
<profile>
|
|
|
|
<id>jdk15</id>
|
|
|
|
<activation>
|
|
|
|
<jdk>[15,)</jdk>
|
|
|
|
</activation>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.openjdk.nashorn</groupId>
|
|
|
|
<artifactId>nashorn-core</artifactId>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</profile>
|
|
|
|
|
2017-08-30 05:59:47 +00:00
|
|
|
<profile>
|
|
|
|
<id>keycloak-server</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<mainClass>org.keycloak.testsuite.KeycloakServer</mainClass>
|
|
|
|
<classpathScope>test</classpathScope>
|
2018-07-31 08:17:07 +00:00
|
|
|
<additionalClasspathElements>
|
|
|
|
<additionalClasspathElement>${keycloak.additionalClasspathElement}</additionalClasspathElement>
|
|
|
|
</additionalClasspathElements>
|
2017-08-30 05:59:47 +00:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2021-06-29 11:20:29 +00:00
|
|
|
<profile>
|
|
|
|
<id>map-storage</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<systemProperties>
|
|
|
|
<systemProperty><key>keycloak.profile.feature.map_storage</key><value>enabled</value></systemProperty>
|
2022-07-18 07:52:42 +00:00
|
|
|
<systemProperty><key>keycloak.dblock.provider</key><value>none</value></systemProperty>
|
2021-06-29 11:20:29 +00:00
|
|
|
<systemProperty><key>keycloak.realm.provider</key><value>map</value></systemProperty>
|
|
|
|
<systemProperty><key>keycloak.client.provider</key><value>map</value></systemProperty>
|
|
|
|
<systemProperty><key>keycloak.clientScope.provider</key><value>map</value></systemProperty>
|
|
|
|
<systemProperty><key>keycloak.group.provider</key><value>map</value></systemProperty>
|
|
|
|
<systemProperty><key>keycloak.role.provider</key><value>map</value></systemProperty>
|
|
|
|
<systemProperty><key>keycloak.user.provider</key><value>map</value></systemProperty>
|
2021-07-17 17:57:52 +00:00
|
|
|
<systemProperty><key>keycloak.deploymentState.provider</key><value>map</value></systemProperty>
|
2021-06-29 11:20:29 +00:00
|
|
|
<systemProperty><key>keycloak.authSession.provider</key><value>map</value></systemProperty>
|
|
|
|
<systemProperty><key>keycloak.userSession.provider</key><value>map</value></systemProperty>
|
|
|
|
<systemProperty><key>keycloak.loginFailure.provider</key><value>map</value></systemProperty>
|
|
|
|
<systemProperty><key>keycloak.authorization.provider</key><value>map</value></systemProperty>
|
2022-04-14 14:22:29 +00:00
|
|
|
<systemProperty><key>keycloak.actionToken.provider</key><value>map</value></systemProperty>
|
|
|
|
<systemProperty><key>keycloak.singleUseObject.provider</key><value>map</value></systemProperty>
|
2022-05-18 13:21:41 +00:00
|
|
|
<systemProperty><key>keycloak.eventsStore.provider</key><value>map</value></systemProperty>
|
2022-07-05 12:57:51 +00:00
|
|
|
<systemProperty><key>keycloak.publicKeyStorage.provider</key><value>map</value></systemProperty>
|
2022-04-28 14:44:16 +00:00
|
|
|
<systemProperty><key>keycloak.authorizationCache.enabled</key><value>false</value></systemProperty>
|
|
|
|
<systemProperty><key>keycloak.realmCache.enabled</key><value>false</value></systemProperty>
|
|
|
|
<systemProperty><key>keycloak.userCache.enabled</key><value>false</value></systemProperty>
|
2022-07-05 12:57:51 +00:00
|
|
|
<systemProperty><key>keycloak.publicKeyCache.enabled</key><value>false</value></systemProperty>
|
2021-06-29 11:20:29 +00:00
|
|
|
</systemProperties>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2017-08-30 05:59:47 +00:00
|
|
|
<profile>
|
|
|
|
<id>mail-server</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<mainClass>org.keycloak.testsuite.MailServer</mainClass>
|
|
|
|
<classpathScope>test</classpathScope>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>totp</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<mainClass>org.keycloak.testsuite.TotpGenerator</mainClass>
|
|
|
|
<classpathScope>test</classpathScope>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2018-07-26 09:28:42 +00:00
|
|
|
<profile>
|
|
|
|
<id>ldap</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<mainClass>org.keycloak.util.ldap.LDAPEmbeddedServer</mainClass>
|
|
|
|
<classpathScope>test</classpathScope>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>kerberos</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
2020-07-02 14:12:28 +00:00
|
|
|
<mainClass>org.keycloak.testsuite.KerberosEmbeddedServer</mainClass>
|
2018-07-26 09:28:42 +00:00
|
|
|
<classpathScope>test</classpathScope>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2017-08-30 05:59:47 +00:00
|
|
|
</profiles>
|
2017-07-14 05:01:54 +00:00
|
|
|
</project>
|