2015-07-17 11:45:43 +00:00
|
|
|
<?xml version="1.0"?>
|
2016-02-03 10:20:22 +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.
|
|
|
|
-->
|
|
|
|
|
2015-07-17 11:45:43 +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/maven-v4_0_0.xsd">
|
|
|
|
<parent>
|
|
|
|
<artifactId>keycloak-testsuite-pom</artifactId>
|
|
|
|
<groupId>org.keycloak</groupId>
|
2016-08-10 06:57:18 +00:00
|
|
|
<version>2.2.0-SNAPSHOT</version>
|
2015-07-17 11:45:43 +00:00
|
|
|
</parent>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<artifactId>keycloak-testsuite-integration</artifactId>
|
|
|
|
<name>Keycloak Integration TestSuite</name>
|
|
|
|
<description />
|
|
|
|
|
2016-06-17 05:07:34 +00:00
|
|
|
<properties>
|
|
|
|
<maven.compiler.target>1.8</maven.compiler.target>
|
|
|
|
<maven.compiler.source>1.8</maven.compiler.source>
|
|
|
|
</properties>
|
|
|
|
|
2015-07-17 11:45:43 +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>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-admin-client</artifactId>
|
|
|
|
</dependency>
|
2015-11-23 13:45:25 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-wildfly-adduser</artifactId>
|
|
|
|
</dependency>
|
2015-07-17 11:45:43 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
<artifactId>log4j</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.spec.javax.servlet</groupId>
|
2016-02-11 08:09:39 +00:00
|
|
|
<artifactId>jboss-servlet-api_3.0_spec</artifactId>
|
2015-07-17 11:45:43 +00:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2016-01-13 20:03:32 +00:00
|
|
|
<groupId>org.jboss.spec.javax.ws.rs</groupId>
|
|
|
|
<artifactId>jboss-jaxrs-api_2.0_spec</artifactId>
|
2015-07-17 11:45:43 +00:00
|
|
|
</dependency>
|
2016-08-07 15:41:52 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.spec.javax.transaction</groupId>
|
|
|
|
<artifactId>jboss-transaction-api_1.2_spec</artifactId>
|
|
|
|
</dependency>
|
2015-07-17 11:45:43 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.resteasy</groupId>
|
|
|
|
<artifactId>async-http-servlet-3.0</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.resteasy</groupId>
|
|
|
|
<artifactId>resteasy-jaxrs</artifactId>
|
|
|
|
<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>
|
2016-01-13 20:03:32 +00:00
|
|
|
<artifactId>resteasy-jackson2-provider</artifactId>
|
2015-07-17 11:45:43 +00:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.zxing</groupId>
|
|
|
|
<artifactId>javase</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
<artifactId>httpclient</artifactId>
|
|
|
|
</dependency>
|
2016-01-25 22:38:29 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-server-spi</artifactId>
|
|
|
|
</dependency>
|
2015-07-17 11:45:43 +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>
|
2016-04-12 19:19:46 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-saml-adapter-api-public</artifactId>
|
|
|
|
</dependency>
|
2015-09-23 00:27:08 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-saml-adapter-core</artifactId>
|
|
|
|
</dependency>
|
2016-06-20 16:05:55 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-authz-client</artifactId>
|
|
|
|
</dependency>
|
2015-10-08 20:19:43 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
2015-10-09 22:07:50 +00:00
|
|
|
<artifactId>keycloak-saml-servlet-filter-adapter</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-servlet-filter-adapter</artifactId>
|
2015-10-08 20:19:43 +00:00
|
|
|
</dependency>
|
2015-09-23 00:27:08 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
2015-09-30 00:24:59 +00:00
|
|
|
<artifactId>keycloak-saml-undertow-adapter</artifactId>
|
2015-09-23 00:27:08 +00:00
|
|
|
</dependency>
|
2015-07-17 11:45:43 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-jaxrs-oauth-client</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>federation-properties-example</artifactId>
|
|
|
|
</dependency>
|
2016-09-07 13:34:31 +00:00
|
|
|
|
|
|
|
<!-- Dependency on services from integration-arquillian -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
|
|
<artifactId>integration-arquillian-testsuite-providers</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
2015-07-17 11:45:43 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.logging</groupId>
|
|
|
|
<artifactId>jboss-logging</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.undertow</groupId>
|
|
|
|
<artifactId>undertow-servlet</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.undertow</groupId>
|
|
|
|
<artifactId>undertow-core</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2016-01-13 20:03:32 +00:00
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-core</artifactId>
|
2015-07-17 11:45:43 +00:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2016-01-13 20:03:32 +00:00
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-databind</artifactId>
|
2015-07-17 11:45:43 +00:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2016-01-13 20:03:32 +00:00
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-annotations</artifactId>
|
2015-07-17 11:45:43 +00:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.hamcrest</groupId>
|
|
|
|
<artifactId>hamcrest-all</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.hibernate.javax.persistence</groupId>
|
2016-02-09 19:15:23 +00:00
|
|
|
<artifactId>hibernate-jpa-2.1-api</artifactId>
|
2015-07-17 11:45:43 +00:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.h2database</groupId>
|
|
|
|
<artifactId>h2</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.hibernate</groupId>
|
|
|
|
<artifactId>hibernate-entitymanager</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.icegreen</groupId>
|
|
|
|
<artifactId>greenmail</artifactId>
|
|
|
|
<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.seleniumhq.selenium</groupId>
|
|
|
|
<artifactId>selenium-java</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>xml-apis</groupId>
|
|
|
|
<artifactId>xml-apis</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.seleniumhq.selenium</groupId>
|
|
|
|
<artifactId>selenium-chrome-driver</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- Apache DS -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-util-embedded-ldap</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.picketlink</groupId>
|
|
|
|
<artifactId>picketlink-wildfly-common</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.wildfly</groupId>
|
|
|
|
<artifactId>wildfly-undertow</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2016-03-02 11:04:10 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>mysql</groupId>
|
|
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.postgresql</groupId>
|
|
|
|
<artifactId>postgresql</artifactId>
|
|
|
|
<version>${postgresql.version}</version>
|
|
|
|
</dependency>
|
2016-05-04 15:31:46 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.mariadb.jdbc</groupId>
|
|
|
|
<artifactId>mariadb-java-client</artifactId>
|
|
|
|
<version>${mariadb.version}</version>
|
|
|
|
</dependency>
|
2016-03-02 11:04:10 +00:00
|
|
|
|
2015-07-17 11:45:43 +00:00
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<version>2.2</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>test-jar</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<skip>true</skip>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<source>${maven.compiler.source}</source>
|
|
|
|
<target>${maven.compiler.target}</target>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<workingDirectory>${project.basedir}</workingDirectory>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.felix</groupId>
|
|
|
|
<artifactId>maven-bundle-plugin</artifactId>
|
|
|
|
<inherited>true</inherited>
|
|
|
|
<extensions>true</extensions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<skip>true</skip>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<profiles>
|
|
|
|
<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>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
<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>
|
|
|
|
<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>
|
|
|
|
<mainClass>org.keycloak.util.ldap.KerberosEmbeddedServer</mainClass>
|
|
|
|
<classpathScope>test</classpathScope>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
|
|
|
|
<profile>
|
|
|
|
<id>jpa</id>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<systemPropertyVariables>
|
|
|
|
<keycloak.realm.provider>jpa</keycloak.realm.provider>
|
|
|
|
<keycloak.user.provider>jpa</keycloak.user.provider>
|
2016-01-11 12:00:47 +00:00
|
|
|
<keycloak.userSessionPersister.provider>jpa</keycloak.userSessionPersister.provider>
|
2015-07-17 11:45:43 +00:00
|
|
|
<keycloak.eventsStore.provider>jpa</keycloak.eventsStore.provider>
|
2016-06-17 05:07:34 +00:00
|
|
|
<keycloak.authorization.provider>jpa</keycloak.authorization.provider>
|
2015-07-17 11:45:43 +00:00
|
|
|
|
|
|
|
<keycloak.liquibase.logging.level>debug</keycloak.liquibase.logging.level>
|
|
|
|
</systemPropertyVariables>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
|
|
|
|
<profile>
|
|
|
|
<id>mongo</id>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<keycloak.connectionsMongo.host>localhost</keycloak.connectionsMongo.host>
|
|
|
|
<keycloak.connectionsMongo.port>27018</keycloak.connectionsMongo.port>
|
|
|
|
<keycloak.connectionsMongo.db>keycloak</keycloak.connectionsMongo.db>
|
|
|
|
<keycloak.connectionsMongo.bindIp>127.0.0.1</keycloak.connectionsMongo.bindIp>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
|
|
|
|
<!-- Postpone tests to "integration-test" phase, so that we can bootstrap embedded mongo on 27018 before running tests -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>test</id>
|
|
|
|
<phase>integration-test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>test</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<systemPropertyVariables>
|
|
|
|
<keycloak.realm.provider>mongo</keycloak.realm.provider>
|
|
|
|
<keycloak.user.provider>mongo</keycloak.user.provider>
|
2016-01-11 12:00:47 +00:00
|
|
|
<keycloak.userSessionPersister.provider>mongo</keycloak.userSessionPersister.provider>
|
2015-07-17 11:45:43 +00:00
|
|
|
<keycloak.eventsStore.provider>mongo</keycloak.eventsStore.provider>
|
2016-06-17 05:07:34 +00:00
|
|
|
<keycloak.authorization.provider>mongo</keycloak.authorization.provider>
|
2015-07-17 11:45:43 +00:00
|
|
|
<keycloak.connectionsMongo.host>${keycloak.connectionsMongo.host}</keycloak.connectionsMongo.host>
|
|
|
|
<keycloak.connectionsMongo.port>${keycloak.connectionsMongo.port}</keycloak.connectionsMongo.port>
|
|
|
|
<keycloak.connectionsMongo.db>${keycloak.connectionsMongo.db}</keycloak.connectionsMongo.db>
|
|
|
|
<keycloak.connectionsMongo.bindIp>${keycloak.connectionsMongo.bindIp}</keycloak.connectionsMongo.bindIp>
|
|
|
|
</systemPropertyVariables>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>default-test</id>
|
|
|
|
<configuration>
|
|
|
|
<skip>true</skip>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<!-- Embedded mongo -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>com.github.joelittlejohn.embedmongo</groupId>
|
|
|
|
<artifactId>embedmongo-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>start-mongodb</id>
|
|
|
|
<phase>pre-integration-test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>start</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<port>${keycloak.connectionsMongo.port}</port>
|
|
|
|
<logging>file</logging>
|
|
|
|
<logFile>${project.build.directory}/mongodb.log</logFile>
|
|
|
|
<bindIp>${keycloak.connectionsMongo.bindIp}</bindIp>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>stop-mongodb</id>
|
|
|
|
<phase>post-integration-test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>stop</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
</profile>
|
|
|
|
|
|
|
|
<profile>
|
|
|
|
<id>clean-jpa</id>
|
|
|
|
<build>
|
|
|
|
<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>
|
2016-01-27 21:01:35 +00:00
|
|
|
<databaseClass>${keycloak.connectionsJpa.liquibaseDatabaseClass}</databaseClass>
|
2015-07-17 11:45:43 +00:00
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>clean-jpa</id>
|
|
|
|
<phase>clean</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>dropAll</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2016-01-05 15:45:14 +00:00
|
|
|
|
|
|
|
<!-- Ldap profiles -->
|
|
|
|
<profile>
|
2016-01-05 19:40:40 +00:00
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>ldap.vendor</name>
|
|
|
|
<value>msad</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
2016-01-05 15:45:14 +00:00
|
|
|
<id>msad</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<includes>
|
|
|
|
<include>org/keycloak/testsuite/federation/ldap/base/**</include>
|
|
|
|
</includes>
|
|
|
|
<excludes>
|
|
|
|
<exclude>**/LDAPMultipleAttributesTest.java</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
|
2015-07-17 11:45:43 +00:00
|
|
|
</profiles>
|
|
|
|
</project>
|