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>
|
2016-02-23 07:48:05 +00:00
|
|
|
<version>1.9.1.Final-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-01-20 06:16:53 +00:00
|
|
|
<description></description>
|
|
|
|
|
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>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<containers.home>${project.build.directory}/containers</containers.home>
|
|
|
|
<examples.home>${project.build.directory}/examples</examples.home>
|
2016-01-19 10:09:08 +00:00
|
|
|
<jboss.server.config.dir>${project.build.directory}/undertow-configuration</jboss.server.config.dir>
|
2015-09-18 12:27:28 +00:00
|
|
|
|
|
|
|
<auth.server.container>auth-server-undertow</auth.server.container>
|
|
|
|
<auth.server.port.offset>100</auth.server.port.offset>
|
|
|
|
<auth.server.http.port>8180</auth.server.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>
|
2015-12-10 06:21:23 +00:00
|
|
|
<auth.server.ssl.required>false</auth.server.ssl.required>
|
2015-09-18 12:27:28 +00:00
|
|
|
<startup.timeout.sec>60</startup.timeout.sec>
|
|
|
|
|
|
|
|
<browser>phantomjs</browser>
|
2015-12-17 09:27:42 +00:00
|
|
|
<firefox_binary>/usr/bin/firefox</firefox_binary>
|
2015-09-18 12:27:28 +00:00
|
|
|
|
2016-03-03 12:39:10 +00:00
|
|
|
<arquillian-core.version>1.1.11.Final</arquillian-core.version>
|
|
|
|
<selenium.version>2.52.0</selenium.version>
|
|
|
|
<arquillian-drone.version>2.0.0.Beta1</arquillian-drone.version>
|
2016-03-07 07:38:39 +00:00
|
|
|
<arquillian-graphene.version>2.1.0.Alpha2</arquillian-graphene.version>
|
2015-09-18 12:27:28 +00:00
|
|
|
<arquillian-wildfly-container.version>8.2.0.Final</arquillian-wildfly-container.version>
|
2016-03-03 12:39:10 +00:00
|
|
|
<version.shrinkwrap.resolvers>2.2.2</version.shrinkwrap.resolvers>
|
2016-01-19 10:09:08 +00:00
|
|
|
|
2016-02-15 22:56:44 +00:00
|
|
|
<frontend.console.output>true</frontend.console.output>
|
|
|
|
<backends.console.output>true</backends.console.output>
|
|
|
|
|
2016-03-01 07:46:17 +00:00
|
|
|
<auth.server.java.home>${java.home}</auth.server.java.home>
|
|
|
|
|
2015-09-18 12:27:28 +00:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.arquillian.selenium</groupId>
|
|
|
|
<artifactId>selenium-bom</artifactId>
|
|
|
|
<version>${selenium.version}</version>
|
|
|
|
<type>pom</type>
|
|
|
|
<scope>import</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.arquillian</groupId>
|
|
|
|
<artifactId>arquillian-bom</artifactId>
|
|
|
|
<version>${arquillian-core.version}</version>
|
|
|
|
<type>pom</type>
|
|
|
|
<scope>import</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.arquillian.extension</groupId>
|
|
|
|
<artifactId>arquillian-drone-bom</artifactId>
|
|
|
|
<version>${arquillian-drone.version}</version>
|
|
|
|
<type>pom</type>
|
|
|
|
<scope>import</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.wildfly</groupId>
|
|
|
|
<artifactId>wildfly-arquillian-container-managed</artifactId>
|
|
|
|
<version>${arquillian-wildfly-container.version}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<systemPropertyVariables>
|
2016-02-26 01:24:20 +00:00
|
|
|
<project.build.directory>${project.build.directory}</project.build.directory>
|
2015-09-18 12:27:28 +00:00
|
|
|
<browser>${browser}</browser>
|
2015-12-17 09:27:42 +00:00
|
|
|
<firefox_binary>${firefox_binary}</firefox_binary>
|
2015-09-18 12:27:28 +00:00
|
|
|
<shouldDeploy>false</shouldDeploy>
|
|
|
|
<auth.server.container>${auth.server.container}</auth.server.container>
|
|
|
|
<auth.server.undertow>true</auth.server.undertow>
|
|
|
|
<auth.server.port.offset>${auth.server.port.offset}</auth.server.port.offset>
|
|
|
|
<auth.server.http.port>${auth.server.http.port}</auth.server.http.port>
|
2015-12-10 06:21:23 +00:00
|
|
|
<auth.server.https.port>${auth.server.https.port}</auth.server.https.port>
|
2015-09-18 12:27:28 +00:00
|
|
|
<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>
|
2015-12-10 06:21:23 +00:00
|
|
|
<auth.server.ssl.required>${auth.server.ssl.required}</auth.server.ssl.required>
|
2016-03-01 07:46:17 +00:00
|
|
|
<auth.server.java.home>${auth.server.java.home}</auth.server.java.home>
|
2015-09-18 12:27:28 +00:00
|
|
|
<startup.timeout.sec>${startup.timeout.sec}</startup.timeout.sec>
|
2016-01-18 18:33:32 +00:00
|
|
|
<jboss.server.config.dir>${jboss.server.config.dir}</jboss.server.config.dir>
|
2016-02-15 22:56:44 +00:00
|
|
|
<frontend.console.output>${frontend.console.output}</frontend.console.output>
|
|
|
|
<backends.console.output>${backend.console.output}</backends.console.output>
|
2015-09-18 12:27:28 +00:00
|
|
|
</systemPropertyVariables>
|
|
|
|
<properties>
|
|
|
|
<property>
|
|
|
|
<name>listener</name>
|
|
|
|
<value>org.keycloak.testsuite.util.TestEventsLogger</value>
|
|
|
|
</property>
|
|
|
|
</properties>
|
|
|
|
<failIfNoTests>false</failIfNoTests>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2015-12-22 12:04:39 +00:00
|
|
|
<plugin>
|
2016-01-12 13:31:28 +00:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2015-12-22 12:04:39 +00:00
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>copy-admin-user-json-file</id>
|
|
|
|
<phase>process-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2016-01-19 10:09:08 +00:00
|
|
|
<outputDirectory>${jboss.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>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2015-09-18 12:27:28 +00:00
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<profiles>
|
2016-02-09 04:21:11 +00:00
|
|
|
|
|
|
|
<profile>
|
|
|
|
<id>no-account</id>
|
|
|
|
<properties>
|
|
|
|
<exclude.account>**/account/**/*Test.java</exclude.account>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>no-client</id>
|
|
|
|
<properties>
|
|
|
|
<exclude.client>**/client/**/*Test.java</exclude.client>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>no-base</id>
|
|
|
|
<properties>
|
|
|
|
<exclude.account>**/account/**/*Test.java</exclude.account>
|
|
|
|
<exclude.client>**/client/**/*Test.java</exclude.client>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
|
2015-09-18 12:27:28 +00:00
|
|
|
<profile>
|
2016-01-20 06:16:53 +00:00
|
|
|
<id>common-test-dependencies</id>
|
2015-09-18 12:27:28 +00:00
|
|
|
<activation>
|
|
|
|
<file>
|
|
|
|
<exists>src</exists>
|
|
|
|
<!-- ^ only activate this profile in submodules that have actual tests -->
|
|
|
|
</file>
|
|
|
|
</activation>
|
|
|
|
<dependencies>
|
|
|
|
<!-- TEST DEPENDENCIES -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<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>
|
|
|
|
</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>
|
2015-09-18 12:27:28 +00:00
|
|
|
</dependency>
|
|
|
|
|
2016-02-26 01:24:20 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>jfree</groupId>
|
|
|
|
<artifactId>jfreechart</artifactId>
|
|
|
|
<version>1.0.13</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>-->
|
|
|
|
|
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>javax.servlet</groupId>
|
|
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
|
|
<version>3.1.0</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.ant</groupId>
|
|
|
|
<artifactId>ant</artifactId>
|
|
|
|
<version>1.9.2</version>
|
|
|
|
<type>jar</type>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- Email Test Server -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.icegreen</groupId>
|
|
|
|
<artifactId>greenmail</artifactId>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- Keycloak deps for tests -->
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-dependencies-server-all</artifactId>
|
|
|
|
<type>pom</type>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-core</artifactId>
|
|
|
|
</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>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-adapter-core</artifactId>
|
|
|
|
</dependency>
|
2015-09-24 19:57:02 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-adapter-spi</artifactId>
|
|
|
|
</dependency>
|
2015-09-18 12:27:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- Keycloak Server on Undertow -->
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.arquillian.container</groupId>
|
|
|
|
<artifactId>undertow-embedded</artifactId>
|
|
|
|
<version>1.0.0.Alpha1-SNAPSHOT</version>
|
|
|
|
</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-09-18 12:27:28 +00:00
|
|
|
</dependency>
|
|
|
|
<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>
|
|
|
|
<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.hibernate.javax.persistence</groupId>
|
2016-02-09 19:15:23 +00:00
|
|
|
<artifactId>hibernate-jpa-2.1-api</artifactId>
|
2015-09-18 12:27:28 +00:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.h2database</groupId>
|
|
|
|
<artifactId>h2</artifactId>
|
2016-02-07 18:39:30 +00:00
|
|
|
<scope>compile</scope>
|
2015-09-18 12:27:28 +00:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.hibernate</groupId>
|
|
|
|
<artifactId>hibernate-entitymanager</artifactId>
|
|
|
|
</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>
|
|
|
|
<artifactId>hamcrest-all</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.infinispan</groupId>
|
|
|
|
<artifactId>infinispan-core</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-dependency-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>
|
2015-09-18 12:27:28 +00:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
|
2016-02-26 01:24:20 +00:00
|
|
|
<!-- MySQL -->
|
|
|
|
<profile>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>keycloak.connectionsJpa.driver</name>
|
|
|
|
<value>com.mysql.jdbc.Driver</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<id>mysql</id>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>mysql</groupId>
|
|
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</profile>
|
|
|
|
|
|
|
|
<!-- PostgreSQL -->
|
|
|
|
<profile>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>keycloak.connectionsJpa.driver</name>
|
|
|
|
<value>org.postgresql.Driver</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<id>postgresql</id>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.postgresql</groupId>
|
|
|
|
<artifactId>postgresql</artifactId>
|
|
|
|
<version>${postgresql.version}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</profile>
|
|
|
|
|
|
|
|
<profile>
|
|
|
|
<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>
|
|
|
|
</profile>
|
|
|
|
|
2015-09-18 12:27:28 +00:00
|
|
|
<profile>
|
|
|
|
<id>auth-server-wildfly</id>
|
|
|
|
<properties>
|
|
|
|
<auth.server.container>auth-server-wildfly</auth.server.container>
|
2015-10-29 12:41:38 +00:00
|
|
|
<startup.timeout.sec>300</startup.timeout.sec>
|
2015-09-18 12:27:28 +00:00
|
|
|
<adapter.test.props/>
|
2016-01-08 15:13:15 +00:00
|
|
|
<keycloak.home>${containers.home}/keycloak-${project.version}</keycloak.home>
|
2016-01-12 13:31:28 +00:00
|
|
|
<jboss.server.config.dir>${keycloak.home}/standalone/configuration</jboss.server.config.dir>
|
2016-02-07 18:39:30 +00:00
|
|
|
<h2.version>1.3.173</h2.version>
|
2015-09-18 12:27:28 +00:00
|
|
|
</properties>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.wildfly</groupId>
|
|
|
|
<artifactId>wildfly-arquillian-container-managed</artifactId>
|
2015-12-15 12:14:30 +00:00
|
|
|
</dependency>
|
2015-09-18 12:27:28 +00:00
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<systemPropertyVariables>
|
|
|
|
<auth.server.wildfly>true</auth.server.wildfly>
|
|
|
|
<auth.server.undertow>false</auth.server.undertow>
|
2016-01-08 15:13:15 +00:00
|
|
|
<keycloak.home>${keycloak.home}</keycloak.home>
|
2015-09-18 12:27:28 +00:00
|
|
|
<adapter.test.props>${adapter.test.props}</adapter.test.props>
|
|
|
|
</systemPropertyVariables>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2016-02-07 20:30:54 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>unpack-auth-server-wildfly</id>
|
|
|
|
<phase>generate-test-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>unpack</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<artifactItems>
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
|
|
<artifactId>integration-arquillian-server-wildfly</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<type>zip</type>
|
|
|
|
</artifactItem>
|
|
|
|
</artifactItems>
|
|
|
|
<outputDirectory>${containers.home}</outputDirectory>
|
|
|
|
<overWriteIfNewer>true</overWriteIfNewer>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2015-09-18 12:27:28 +00:00
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2016-02-08 15:12:47 +00:00
|
|
|
|
|
|
|
|
|
|
|
<profile>
|
|
|
|
<id>auth-server-wildfly-cluster</id>
|
|
|
|
<properties>
|
2016-02-09 04:21:11 +00:00
|
|
|
<!--disable exclusion pattern for cluster test which is enabled by default in base/pom.xml-->
|
|
|
|
<exclude.cluster>-</exclude.cluster>
|
|
|
|
|
2016-02-08 15:12:47 +00:00
|
|
|
<auth.server.container>auth-server-wildfly-cluster</auth.server.container>
|
|
|
|
<startup.timeout.sec>300</startup.timeout.sec>
|
|
|
|
<adapter.test.props/>
|
|
|
|
<h2.version>1.3.173</h2.version>
|
|
|
|
|
2016-02-09 04:21:11 +00:00
|
|
|
<keycloak.balancer.home>${containers.home}/balancer/wildfly-balancer-${project.version}</keycloak.balancer.home>
|
2016-02-08 15:12:47 +00:00
|
|
|
<keycloak.backend1.home>${containers.home}/node1/keycloak-${project.version}</keycloak.backend1.home>
|
|
|
|
<keycloak.backend2.home>${containers.home}/node2/keycloak-${project.version}</keycloak.backend2.home>
|
|
|
|
|
|
|
|
<keycloak.home>${keycloak.backend1.home}</keycloak.home>
|
|
|
|
<jboss.server.config.dir>${keycloak.home}/standalone/configuration</jboss.server.config.dir>
|
|
|
|
</properties>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.wildfly</groupId>
|
|
|
|
<artifactId>wildfly-arquillian-container-managed</artifactId>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<systemPropertyVariables>
|
2016-02-09 04:21:11 +00:00
|
|
|
<run.h2>true</run.h2>
|
|
|
|
|
2016-02-08 15:12:47 +00:00
|
|
|
<auth.server.wildfly.cluster>true</auth.server.wildfly.cluster>
|
|
|
|
<auth.server.undertow>false</auth.server.undertow>
|
|
|
|
<adapter.test.props>${adapter.test.props}</adapter.test.props>
|
|
|
|
|
|
|
|
<keycloak.balancer.home>${keycloak.balancer.home}</keycloak.balancer.home>
|
|
|
|
<keycloak.backend1.home>${keycloak.backend1.home}</keycloak.backend1.home>
|
|
|
|
<keycloak.backend2.home>${keycloak.backend2.home}</keycloak.backend2.home>
|
|
|
|
|
|
|
|
<!--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>
|
2016-02-09 04:21:11 +00:00
|
|
|
<auth.server.backend2.http.port>8182</auth.server.backend2.http.port>
|
2016-02-08 15:12:47 +00:00
|
|
|
<!--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>
|
|
|
|
</systemPropertyVariables>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>unpack-auth-server-wildfly</id>
|
|
|
|
<phase>generate-test-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>unpack</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<artifactItems>
|
2016-02-09 04:21:11 +00:00
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
|
|
<artifactId>integration-arquillian-server-wildfly-balancer</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<type>zip</type>
|
|
|
|
<outputDirectory>${containers.home}/balancer</outputDirectory>
|
|
|
|
</artifactItem>
|
2016-02-08 15:12:47 +00:00
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
|
|
<artifactId>integration-arquillian-server-wildfly</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<type>zip</type>
|
2016-02-09 04:21:11 +00:00
|
|
|
<outputDirectory>${containers.home}/node1</outputDirectory>
|
2016-02-08 15:12:47 +00:00
|
|
|
</artifactItem>
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
|
|
<artifactId>integration-arquillian-server-wildfly</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<type>zip</type>
|
2016-02-09 04:21:11 +00:00
|
|
|
<outputDirectory>${containers.home}/node2</outputDirectory>
|
2016-02-08 15:12:47 +00:00
|
|
|
</artifactItem>
|
|
|
|
</artifactItems>
|
|
|
|
<overWriteIfNewer>true</overWriteIfNewer>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2016-02-07 18:39:30 +00:00
|
|
|
|
2016-02-23 14:13:48 +00:00
|
|
|
|
2015-12-15 12:14:30 +00:00
|
|
|
<profile>
|
|
|
|
<id>auth-server-eap7</id>
|
|
|
|
<properties>
|
|
|
|
<auth.server.container>auth-server-eap7</auth.server.container>
|
|
|
|
<startup.timeout.sec>300</startup.timeout.sec>
|
|
|
|
<adapter.test.props/>
|
2016-01-13 14:37:30 +00:00
|
|
|
<keycloak.home>${containers.home}/keycloak-${version.server.dist}</keycloak.home>
|
2016-01-12 13:31:28 +00:00
|
|
|
<jboss.server.config.dir>${keycloak.home}/standalone/configuration</jboss.server.config.dir>
|
2015-12-15 12:14:30 +00:00
|
|
|
</properties>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.wildfly</groupId>
|
|
|
|
<artifactId>wildfly-arquillian-container-managed</artifactId>
|
|
|
|
</dependency>
|
2016-01-13 14:37:30 +00:00
|
|
|
</dependencies>
|
2015-12-15 12:14:30 +00:00
|
|
|
<build>
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
2016-01-08 10:13:59 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>enforce-properties</id>
|
|
|
|
<goals>
|
|
|
|
<goal>enforce</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<rules>
|
|
|
|
<requireProperty>
|
2016-01-13 14:37:30 +00:00
|
|
|
<property>version.server.dist</property>
|
2016-01-08 10:13:59 +00:00
|
|
|
</requireProperty>
|
|
|
|
</rules>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2015-09-18 12:27:28 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<systemPropertyVariables>
|
2015-12-15 12:14:30 +00:00
|
|
|
<auth.server.eap7>true</auth.server.eap7>
|
2015-09-18 12:27:28 +00:00
|
|
|
<auth.server.undertow>false</auth.server.undertow>
|
2016-01-08 15:13:15 +00:00
|
|
|
<keycloak.home>${keycloak.home}</keycloak.home>
|
2015-09-18 12:27:28 +00:00
|
|
|
<adapter.test.props>${adapter.test.props}</adapter.test.props>
|
|
|
|
</systemPropertyVariables>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2016-02-07 20:30:54 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>unpack-auth-server-eap</id>
|
|
|
|
<phase>generate-test-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>unpack</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<artifactItems>
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
|
|
<artifactId>integration-arquillian-server-eap7</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<type>zip</type>
|
|
|
|
</artifactItem>
|
|
|
|
</artifactItems>
|
|
|
|
<outputDirectory>${containers.home}</outputDirectory>
|
|
|
|
<overWriteIfNewer>true</overWriteIfNewer>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2015-09-18 12:27:28 +00:00
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
|
2016-02-23 14:13:48 +00:00
|
|
|
<profile>
|
|
|
|
<id>auth-server-eap7-cluster</id>
|
|
|
|
<properties>
|
|
|
|
<!--disable exclusion pattern for cluster test which is enabled by default in base/pom.xml-->
|
|
|
|
<exclude.cluster>-</exclude.cluster>
|
|
|
|
|
|
|
|
<auth.server.container>auth-server-eap7-cluster</auth.server.container>
|
|
|
|
<startup.timeout.sec>300</startup.timeout.sec>
|
|
|
|
<adapter.test.props/>
|
|
|
|
<h2.version>1.3.173</h2.version>
|
|
|
|
|
|
|
|
<keycloak.balancer.home>${containers.home}/balancer/wildfly-balancer-${project.version}</keycloak.balancer.home>
|
|
|
|
<keycloak.backend1.home>${containers.home}/node1/keycloak-${version.server.dist}</keycloak.backend1.home>
|
|
|
|
<keycloak.backend2.home>${containers.home}/node2/keycloak-${version.server.dist}</keycloak.backend2.home>
|
|
|
|
|
|
|
|
<keycloak.home>${keycloak.backend1.home}</keycloak.home>
|
|
|
|
<jboss.server.config.dir>${keycloak.home}/standalone/configuration</jboss.server.config.dir>
|
|
|
|
</properties>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.wildfly</groupId>
|
|
|
|
<artifactId>wildfly-arquillian-container-managed</artifactId>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>enforce-properties</id>
|
|
|
|
<goals>
|
|
|
|
<goal>enforce</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<rules>
|
|
|
|
<requireProperty>
|
|
|
|
<property>version.server.dist</property>
|
|
|
|
</requireProperty>
|
|
|
|
</rules>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<systemPropertyVariables>
|
|
|
|
<run.h2>true</run.h2>
|
|
|
|
|
|
|
|
<auth.server.eap7.cluster>true</auth.server.eap7.cluster>
|
|
|
|
<auth.server.undertow>false</auth.server.undertow>
|
|
|
|
<adapter.test.props>${adapter.test.props}</adapter.test.props>
|
|
|
|
|
|
|
|
<keycloak.balancer.home>${keycloak.balancer.home}</keycloak.balancer.home>
|
|
|
|
<keycloak.backend1.home>${keycloak.backend1.home}</keycloak.backend1.home>
|
|
|
|
<keycloak.backend2.home>${keycloak.backend2.home}</keycloak.backend2.home>
|
|
|
|
|
|
|
|
<!--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>
|
|
|
|
</systemPropertyVariables>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>unpack-auth-server-wildfly</id>
|
|
|
|
<phase>generate-test-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>unpack</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<artifactItems>
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
|
|
<artifactId>integration-arquillian-server-wildfly-balancer</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<type>zip</type>
|
|
|
|
<outputDirectory>${containers.home}/balancer</outputDirectory>
|
|
|
|
</artifactItem>
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
|
|
<artifactId>integration-arquillian-server-eap7</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<type>zip</type>
|
|
|
|
<outputDirectory>${containers.home}/node1</outputDirectory>
|
|
|
|
</artifactItem>
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
|
|
<artifactId>integration-arquillian-server-eap7</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<type>zip</type>
|
|
|
|
<outputDirectory>${containers.home}/node2</outputDirectory>
|
|
|
|
</artifactItem>
|
|
|
|
</artifactItems>
|
|
|
|
<overWriteIfNewer>true</overWriteIfNewer>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
|
2015-09-18 12:27:28 +00:00
|
|
|
<!-- Profiles for migration tests-->
|
|
|
|
|
2016-02-07 20:30:54 +00:00
|
|
|
<profile>
|
|
|
|
<id>migration</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>migrated.auth.server.version</name>
|
|
|
|
</property>
|
|
|
|
</activation>
|
2016-02-09 04:21:11 +00:00
|
|
|
<properties>
|
|
|
|
<!--diable exclusion pattern for migration tests, which is enabled by default in the base/pom.xml-->
|
|
|
|
<exclude.migration>-</exclude.migration>
|
|
|
|
</properties>
|
2016-02-07 20:30:54 +00:00
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>enforce-properties</id>
|
|
|
|
<goals>
|
|
|
|
<goal>enforce</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<rules>
|
|
|
|
<requireProperty>
|
|
|
|
<property>migrated.auth.server.version</property>
|
|
|
|
</requireProperty>
|
|
|
|
</rules>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>unpack-migrated-auth-server-wildfly</id>
|
|
|
|
<phase>generate-test-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>unpack</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<artifactItems>
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
|
|
<artifactId>${migrated.auth.server.artifactId}</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<type>zip</type>
|
|
|
|
</artifactItem>
|
|
|
|
</artifactItems>
|
|
|
|
<outputDirectory>${containers.home}</outputDirectory>
|
|
|
|
<overWriteIfNewer>true</overWriteIfNewer>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<systemPropertyVariables>
|
|
|
|
<migrated.auth.server.version>${migrated.auth.server.version}</migrated.auth.server.version>
|
|
|
|
</systemPropertyVariables>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
|
2015-10-20 14:59:32 +00:00
|
|
|
<profile>
|
|
|
|
<id>migration-kc16</id>
|
2016-02-07 20:30:54 +00:00
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>migrated.auth.server.version</name>
|
|
|
|
<value>1.6.1.Final</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
2015-10-20 14:59:32 +00:00
|
|
|
<properties>
|
2016-02-07 20:30:54 +00:00
|
|
|
<migrated.auth.server.artifactId>integration-arquillian-server-wildfly-kc16</migrated.auth.server.artifactId>
|
2015-10-20 14:59:32 +00:00
|
|
|
</properties>
|
|
|
|
<build>
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<systemPropertyVariables>
|
2016-02-07 20:30:54 +00:00
|
|
|
<auth.server.wildfly.kc16>true</auth.server.wildfly.kc16>
|
|
|
|
<keycloak.migration.home>${containers.home}/keycloak-${migrated.auth.server.version}</keycloak.migration.home>
|
2015-10-22 12:04:50 +00:00
|
|
|
<keycloak.migration.file>src/test/resources/migration-test/migration-realm-16.json</keycloak.migration.file>
|
2015-10-20 14:59:32 +00:00
|
|
|
</systemPropertyVariables>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
|
2015-10-18 14:01:26 +00:00
|
|
|
<profile>
|
|
|
|
<id>migration-kc15</id>
|
2016-02-07 20:30:54 +00:00
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>migrated.auth.server.version</name>
|
|
|
|
<value>1.5.1.Final</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
2015-10-18 14:01:26 +00:00
|
|
|
<properties>
|
2016-02-07 20:30:54 +00:00
|
|
|
<migrated.auth.server.artifactId>integration-arquillian-server-wildfly-kc15</migrated.auth.server.artifactId>
|
2015-10-18 14:01:26 +00:00
|
|
|
</properties>
|
|
|
|
<build>
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<systemPropertyVariables>
|
2016-02-07 20:30:54 +00:00
|
|
|
<auth.server.wildfly.kc15>true</auth.server.wildfly.kc15>
|
|
|
|
<keycloak.migration.home>${containers.home}/keycloak-${migrated.auth.server.version}</keycloak.migration.home>
|
2015-10-29 13:48:05 +00:00
|
|
|
<keycloak.migration.file>src/test/resources/migration-test/migration-realm-15.json</keycloak.migration.file>
|
2015-10-18 14:01:26 +00:00
|
|
|
</systemPropertyVariables>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
|
2015-09-18 12:27:28 +00:00
|
|
|
<profile>
|
|
|
|
<id>migration-kc14</id>
|
2016-02-07 20:30:54 +00:00
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>migrated.auth.server.version</name>
|
|
|
|
<value>1.4.0.Final</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
2015-09-18 12:27:28 +00:00
|
|
|
<properties>
|
2016-02-07 20:30:54 +00:00
|
|
|
<migrated.auth.server.artifactId>integration-arquillian-server-wildfly-kc14</migrated.auth.server.artifactId>
|
2015-09-18 12:27:28 +00:00
|
|
|
</properties>
|
|
|
|
<build>
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<systemPropertyVariables>
|
2016-02-07 20:30:54 +00:00
|
|
|
<auth.server.wildfly.kc14>true</auth.server.wildfly.kc14>
|
|
|
|
<keycloak.migration.home>${containers.home}/keycloak-${migrated.auth.server.version}</keycloak.migration.home>
|
2015-09-18 12:27:28 +00:00
|
|
|
</systemPropertyVariables>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
|
|
|
|
<profile>
|
|
|
|
<id>migration-kc13</id>
|
2016-02-07 20:30:54 +00:00
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>migrated.auth.server.version</name>
|
|
|
|
<value>1.3.1.Final</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
2015-09-18 12:27:28 +00:00
|
|
|
<properties>
|
2016-02-07 20:30:54 +00:00
|
|
|
<migrated.auth.server.artifactId>integration-arquillian-server-wildfly-kc13</migrated.auth.server.artifactId>
|
2015-09-18 12:27:28 +00:00
|
|
|
</properties>
|
|
|
|
<build>
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<systemPropertyVariables>
|
2016-02-07 20:30:54 +00:00
|
|
|
<auth.server.wildfly.kc13>true</auth.server.wildfly.kc13>
|
|
|
|
<keycloak.migration.home>${containers.home}/keycloak-${migrated.auth.server.version}</keycloak.migration.home>
|
2015-09-18 12:27:28 +00:00
|
|
|
</systemPropertyVariables>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
|
|
|
|
<profile>
|
|
|
|
<id>migration-kc12</id>
|
2016-02-07 20:30:54 +00:00
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>migrated.auth.server.version</name>
|
|
|
|
<value>1.2.0.Final</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
2015-09-18 12:27:28 +00:00
|
|
|
<properties>
|
2016-02-07 20:30:54 +00:00
|
|
|
<migrated.auth.server.artifactId>integration-arquillian-server-wildfly-kc12</migrated.auth.server.artifactId>
|
2015-09-18 12:27:28 +00:00
|
|
|
</properties>
|
|
|
|
<build>
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<systemPropertyVariables>
|
2016-02-07 20:30:54 +00:00
|
|
|
<auth.server.wildfly.kc12>true</auth.server.wildfly.kc12>
|
|
|
|
<keycloak.migration.home>${containers.home}/keycloak-${migrated.auth.server.version}</keycloak.migration.home>
|
2015-09-18 12:27:28 +00:00
|
|
|
</systemPropertyVariables>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2016-02-09 04:21:11 +00:00
|
|
|
|
2015-09-18 12:27:28 +00:00
|
|
|
</profiles>
|
|
|
|
|
|
|
|
</project>
|