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-04 14:55:11 +00:00
|
|
|
<version>1.9.0.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>
|
2016-01-26 09:05:12 +00:00
|
|
|
<apache.mod_auth_mellon.url>http://localhost:8380</apache.mod_auth_mellon.url>
|
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
|
|
|
|
|
|
|
<arquillian-core.version>1.1.8.Final</arquillian-core.version>
|
|
|
|
<selenium.version>2.45.0</selenium.version>
|
|
|
|
<arquillian-drone.version>2.0.0.Alpha4</arquillian-drone.version>
|
|
|
|
<arquillian-graphene.version>2.1.0.Alpha2</arquillian-graphene.version>
|
|
|
|
<arquillian-wildfly-container.version>8.2.0.Final</arquillian-wildfly-container.version>
|
|
|
|
<version.shrinkwrap.resolvers>2.1.1</version.shrinkwrap.resolvers>
|
2016-01-19 10:09:08 +00:00
|
|
|
|
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>
|
|
|
|
<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>
|
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>
|
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>
|
|
|
|
|
|
|
|
<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>
|
2015-12-11 11:15:27 +00:00
|
|
|
<version>2.1.0.Alpha3</version><!-- TODO upgrade <arquillian-graphene.version> and use ${arquillian-graphene.version} -->
|
2015-09-18 12:27:28 +00:00
|
|
|
</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>
|
2015-09-23 13:36:40 +00:00
|
|
|
<artifactId>${hibernate.javax.persistence.artifactId}</artifactId>
|
2015-09-18 12:27:28 +00:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.h2database</groupId>
|
|
|
|
<artifactId>h2</artifactId>
|
|
|
|
</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>
|
2015-09-18 12:27:28 +00:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
|
|
|
|
<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>
|
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>
|
|
|
|
|
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>
|
|
|
|
|
|
|
|
<!-- 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>
|
|
|
|
<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>
|
2015-11-30 15:43:18 +00:00
|
|
|
|
2015-09-18 12:27:28 +00:00
|
|
|
</profiles>
|
|
|
|
|
|
|
|
</project>
|