2015-09-18 12:27:28 +00:00
|
|
|
<?xml version="1.0"?>
|
2016-02-03 10:20:22 +00:00
|
|
|
<!--
|
2017-01-26 14:46:45 +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">
|
|
|
|
<parent>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
|
|
<artifactId>integration-arquillian-tests</artifactId>
|
2018-07-04 20:14:15 +00:00
|
|
|
<version>4.2.0.Final-SNAPSHOT</version>
|
2015-09-18 12:27:28 +00:00
|
|
|
</parent>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<artifactId>integration-arquillian-tests-base</artifactId>
|
2016-01-20 06:16:53 +00:00
|
|
|
|
|
|
|
<name>Base TestSuite</name>
|
|
|
|
|
|
|
|
<description></description>
|
2015-09-18 12:27:28 +00:00
|
|
|
|
|
|
|
<properties>
|
2016-07-12 13:30:33 +00:00
|
|
|
<cli.log.output>false</cli.log.output>
|
|
|
|
<test.intermittent>false</test.intermittent>
|
2016-08-01 11:14:33 +00:00
|
|
|
<exclude.test>-</exclude.test>
|
2015-09-18 12:27:28 +00:00
|
|
|
<exclude.console>-</exclude.console>
|
|
|
|
<exclude.account>-</exclude.account>
|
2015-12-17 23:23:19 +00:00
|
|
|
<exclude.client>-</exclude.client>
|
2016-02-09 04:21:11 +00:00
|
|
|
<!--exclude cluster tests by default, enabled by 'auth-server-*-cluster' profiles in tests/pom.xml-->
|
|
|
|
<exclude.cluster>**/cluster/**/*Test.java</exclude.cluster>
|
2017-05-29 07:02:57 +00:00
|
|
|
<exclude.crossdc>**/crossdc/**/*Test.java</exclude.crossdc>
|
2016-07-26 15:47:28 +00:00
|
|
|
<!-- exclude x509 tests by default, enabled by 'ssl' profile -->
|
|
|
|
<exclude.x509>**/x509/*Test.java</exclude.x509>
|
2018-06-05 00:30:09 +00:00
|
|
|
<!-- KEYCLOAK-6771 exclude Mutual TLS Holder of Key Token x509 tests by default, enabled by 'ssl' profile -->
|
|
|
|
<exclude.HoK>**/hok/**/*Test.java</exclude.HoK>
|
2018-04-18 11:31:04 +00:00
|
|
|
<!-- see include-CORS-tests profile -->
|
|
|
|
<exclude.cors.tests>**/cors/*Test.java</exclude.cors.tests>
|
2015-09-18 12:27:28 +00:00
|
|
|
</properties>
|
2016-01-20 06:16:53 +00:00
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
2015-11-12 09:33:03 +00:00
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-util-embedded-ldap</artifactId>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>bouncycastle</groupId>
|
|
|
|
<artifactId>bcprov-jdk15</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
2016-02-25 16:51:38 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>commons-configuration</groupId>
|
|
|
|
<artifactId>commons-configuration</artifactId>
|
|
|
|
<version>1.10</version>
|
|
|
|
</dependency>
|
2017-02-26 15:32:20 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>commons-io</groupId>
|
|
|
|
<artifactId>commons-io</artifactId>
|
|
|
|
<version>2.5</version>
|
|
|
|
</dependency>
|
2016-03-24 15:08:36 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
2016-04-20 03:10:40 +00:00
|
|
|
<artifactId>integration-arquillian-testsuite-providers</artifactId>
|
2016-03-24 15:08:36 +00:00
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2016-04-19 18:13:06 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2017-07-25 07:44:36 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.hamcrest</groupId>
|
|
|
|
<artifactId>hamcrest-all</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2016-05-16 20:31:23 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.subethamail</groupId>
|
|
|
|
<artifactId>subethasmtp</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2016-04-19 18:13:06 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.icegreen</groupId>
|
|
|
|
<artifactId>greenmail</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2016-09-21 17:02:22 +00:00
|
|
|
<!--<dependency>-->
|
|
|
|
<!--<groupId>com.spotify</groupId>-->
|
|
|
|
<!--<artifactId>docker-client</artifactId>-->
|
|
|
|
<!--<version>8.3.2</version>-->
|
|
|
|
<!--<scope>test</scope>-->
|
|
|
|
<!--<exclusions>-->
|
|
|
|
<!--<exclusion>-->
|
|
|
|
<!--<groupId>javax.ws.rs</groupId>-->
|
|
|
|
<!--<artifactId>javax.ws.rs-api</artifactId>-->
|
|
|
|
<!--</exclusion>-->
|
|
|
|
<!--<exclusion>-->
|
|
|
|
<!--<groupId>com.github.jnr</groupId>-->
|
|
|
|
<!--<artifactId>jnr-unixsocket</artifactId>-->
|
|
|
|
<!--</exclusion>-->
|
|
|
|
<!--</exclusions>-->
|
|
|
|
<!--</dependency>-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.testcontainers</groupId>
|
|
|
|
<artifactId>testcontainers</artifactId>
|
2018-04-26 17:00:49 +00:00
|
|
|
<version>${testcontainers.version}</version>
|
2016-09-21 17:02:22 +00:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2018-02-02 00:32:27 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
<artifactId>guava</artifactId>
|
|
|
|
</dependency>
|
2018-04-18 11:31:04 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
|
|
<artifactId>integration-arquillian-servers-app-server-spi</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2018-04-18 13:45:12 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
|
|
<artifactId>integration-arquillian-servers-app-server-undertow</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
2018-06-06 12:45:50 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.wildfly.arquillian</groupId>
|
|
|
|
<artifactId>wildfly-arquillian-container-managed</artifactId>
|
|
|
|
</dependency>
|
2016-01-20 06:16:53 +00:00
|
|
|
</dependencies>
|
|
|
|
|
2015-09-18 12:27:28 +00:00
|
|
|
<build>
|
2017-01-18 14:44:30 +00:00
|
|
|
<testResources>
|
|
|
|
<testResource>
|
|
|
|
<directory>src/test/resources</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
<includes>
|
|
|
|
<include>migration-test/*</include>
|
2017-04-12 17:34:27 +00:00
|
|
|
<include>authorization-test/*</include>
|
2017-01-18 14:44:30 +00:00
|
|
|
</includes>
|
|
|
|
</testResource>
|
|
|
|
<testResource>
|
|
|
|
<directory>src/test/resources</directory>
|
|
|
|
</testResource>
|
|
|
|
</testResources>
|
2015-09-18 12:27:28 +00:00
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<version>2.2</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>test-jar</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2016-01-20 06:16:53 +00:00
|
|
|
|
2015-09-18 12:27:28 +00:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<excludes>
|
2016-08-01 11:14:33 +00:00
|
|
|
<exclude>${exclude.test}</exclude>
|
2015-09-18 12:27:28 +00:00
|
|
|
<exclude>${exclude.console}</exclude>
|
|
|
|
<exclude>${exclude.account}</exclude>
|
2015-12-17 23:23:19 +00:00
|
|
|
<exclude>${exclude.client}</exclude>
|
2016-02-09 04:29:20 +00:00
|
|
|
<exclude>${exclude.cluster}</exclude>
|
2017-06-16 09:32:02 +00:00
|
|
|
<exclude>${exclude.crossdc}</exclude>
|
2016-07-26 15:47:28 +00:00
|
|
|
<exclude>${exclude.x509}</exclude>
|
2018-04-18 11:31:04 +00:00
|
|
|
<exclude>${exclude.cors.tests}</exclude>
|
2018-06-05 00:30:09 +00:00
|
|
|
<exclude>${exclude.HoK}</exclude>
|
2015-09-18 12:27:28 +00:00
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2016-01-20 06:16:53 +00:00
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
<executions>
|
2016-03-24 10:24:21 +00:00
|
|
|
<execution>
|
2017-11-08 07:03:10 +00:00
|
|
|
<id>copy-arquillian-xml-and-password-blacklists</id>
|
2016-03-24 10:24:21 +00:00
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${project.build.directory}/dependency</outputDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/test/resources</directory>
|
|
|
|
<includes>
|
|
|
|
<include>arquillian.xml</include>
|
2017-11-08 07:03:10 +00:00
|
|
|
<include>password-blacklists/**</include>
|
2016-03-24 10:24:21 +00:00
|
|
|
</includes>
|
|
|
|
<!--<filtering>true</filtering>-->
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2016-01-20 06:16:53 +00:00
|
|
|
<execution>
|
|
|
|
<id>copy-admin-user-json-file</id>
|
|
|
|
<phase>process-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2016-09-02 11:55:49 +00:00
|
|
|
<skip>${skip.add.user.json}</skip>
|
2016-03-24 10:24:21 +00:00
|
|
|
<outputDirectory>${auth.server.config.dir}</outputDirectory>
|
2016-01-20 06:16:53 +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>
|
2016-07-12 13:30:33 +00:00
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>unpack-client-cli-dist</id>
|
|
|
|
<phase>generate-test-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>unpack</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<artifactItems>
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-client-cli-dist</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<type>zip</type>
|
|
|
|
<outputDirectory>${containers.home}</outputDirectory>
|
|
|
|
</artifactItem>
|
2018-03-20 20:42:35 +00:00
|
|
|
</artifactItems>
|
2016-07-12 13:30:33 +00:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2018-03-20 20:42:35 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>com.igormaznitsa</groupId>
|
|
|
|
<artifactId>mvn-golang-wrapper</artifactId>
|
|
|
|
<version>2.1.6</version>
|
|
|
|
<extensions>true</extensions>
|
|
|
|
<configuration>
|
|
|
|
<goVersion>1.9.2</goVersion>
|
2018-05-04 19:31:49 +00:00
|
|
|
<useMavenProxy>true</useMavenProxy>
|
2018-03-20 20:42:35 +00:00
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
2018-03-21 17:38:40 +00:00
|
|
|
<id>get-mousetrap</id>
|
2018-03-20 20:42:35 +00:00
|
|
|
<goals>
|
|
|
|
<goal>get</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<packages>
|
|
|
|
<package>github.com/inconshreveable/mousetrap</package>
|
2018-03-21 17:38:40 +00:00
|
|
|
</packages>
|
2018-03-28 20:45:52 +00:00
|
|
|
<goPath>${project.build.directory}/gopath</goPath>
|
2018-03-21 17:38:40 +00:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>get-kcinit</id>
|
|
|
|
<goals>
|
|
|
|
<goal>get</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<packages>
|
2018-03-20 20:42:35 +00:00
|
|
|
<package>github.com/keycloak/kcinit</package>
|
|
|
|
</packages>
|
2018-03-28 20:45:52 +00:00
|
|
|
<goPath>${project.build.directory}/gopath</goPath>
|
2018-04-04 01:29:31 +00:00
|
|
|
<tag>0.5</tag>
|
2018-03-20 20:42:35 +00:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
2018-04-19 07:08:36 +00:00
|
|
|
</executions>
|
2018-03-20 20:42:35 +00:00
|
|
|
</plugin>
|
2017-10-04 08:35:42 +00:00
|
|
|
|
2015-09-18 12:27:28 +00:00
|
|
|
</plugins>
|
2016-01-20 06:16:53 +00:00
|
|
|
|
2015-09-18 12:27:28 +00:00
|
|
|
</build>
|
2017-10-11 10:20:06 +00:00
|
|
|
|
|
|
|
<profiles>
|
2018-05-16 22:53:39 +00:00
|
|
|
<profile>
|
|
|
|
<id>product</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>product</name>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>com.igormaznitsa</groupId>
|
|
|
|
<artifactId>mvn-golang-wrapper</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<skip>true</skip>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2018-04-19 07:08:36 +00:00
|
|
|
<profile>
|
|
|
|
<id>app-server-wildfly</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>app.server</name>
|
|
|
|
<value>wildfly</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<app.server>wildfly</app.server> <!--in case the profile is called directly-->
|
|
|
|
<app.server.skip.unpack>false</app.server.skip.unpack>
|
|
|
|
</properties>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
|
|
<artifactId>integration-arquillian-servers-app-server-wildfly</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<!--required by creaper-core-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.wildfly.core</groupId>
|
2018-06-20 10:47:36 +00:00
|
|
|
<artifactId>wildfly-cli</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
<version>${wildfly.core.version}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.commonjava.maven.plugins</groupId>
|
|
|
|
<artifactId>directory-maven-plugin</artifactId>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>app-server-wildfly10</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>app.server</name>
|
|
|
|
<value>wildfly10</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<app.server>wildfly10</app.server> <!--in case the profile is called directly-->
|
|
|
|
<app.server.skip.unpack>false</app.server.skip.unpack>
|
|
|
|
|
|
|
|
<arquillian-wildfly-container.version>2.0.0.Final</arquillian-wildfly-container.version>
|
|
|
|
<infinispan.version>8.2.5.Final</infinispan.version> <!-- KEYCLOAK-5302 -->
|
|
|
|
</properties>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
|
|
<artifactId>integration-arquillian-servers-app-server-wildfly10</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<!--required by creaper-core-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.wildfly.core</groupId>
|
|
|
|
<artifactId>wildfly-cli</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
<version>${wildfly10.core.version}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.commonjava.maven.plugins</groupId>
|
|
|
|
<artifactId>directory-maven-plugin</artifactId>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>app-server-wildfly9</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>app.server</name>
|
|
|
|
<value>wildfly9</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<app.server>wildfly9</app.server> <!--in case the profile is called directly-->
|
|
|
|
<app.server.skip.unpack>false</app.server.skip.unpack>
|
|
|
|
</properties>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
|
|
<artifactId>integration-arquillian-servers-app-server-wildfly9</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<!--required by creaper-core-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.wildfly.core</groupId>
|
2018-04-19 07:08:36 +00:00
|
|
|
<artifactId>wildfly-cli</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
<version>${wildfly.core.version}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2018-04-23 11:42:31 +00:00
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.commonjava.maven.plugins</groupId>
|
|
|
|
<artifactId>directory-maven-plugin</artifactId>
|
|
|
|
</plugin>
|
2018-05-31 08:44:40 +00:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>app-server-eap</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>app.server</name>
|
|
|
|
<value>eap</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<app.server>eap</app.server> <!--in case the profile is called directly-->
|
|
|
|
<app.server.skip.unpack>false</app.server.skip.unpack>
|
|
|
|
</properties>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
|
|
<artifactId>integration-arquillian-servers-app-server-eap</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
2018-06-06 12:45:50 +00:00
|
|
|
<!--required by creaper-core-->
|
2018-05-31 08:44:40 +00:00
|
|
|
<dependency>
|
2018-06-06 12:45:50 +00:00
|
|
|
<groupId>org.wildfly.core</groupId>
|
|
|
|
<artifactId>wildfly-cli</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
<version>${wildfly.core.version}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.commonjava.maven.plugins</groupId>
|
|
|
|
<artifactId>directory-maven-plugin</artifactId>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>app-server-eap6</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>app.server</name>
|
|
|
|
<value>eap6</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<app.server>eap6</app.server> <!--in case the profile is called directly-->
|
|
|
|
<app.server.skip.unpack>false</app.server.skip.unpack>
|
|
|
|
|
|
|
|
<arquillian-wildfly-container.version>2.0.0.Final</arquillian-wildfly-container.version>
|
|
|
|
<infinispan.version>8.2.5.Final</infinispan.version> <!-- KEYCLOAK-5302 -->
|
|
|
|
|
|
|
|
<app.server.management.protocol>remote</app.server.management.protocol>
|
|
|
|
<app.server.management.port>10199</app.server.management.port>
|
|
|
|
<app.server.1.management.port>10299</app.server.1.management.port>
|
|
|
|
<app.server.2.management.port>10399</app.server.2.management.port>
|
|
|
|
</properties>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
|
|
<artifactId>integration-arquillian-servers-app-server-eap6</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>runtime</scope>
|
2018-05-31 08:44:40 +00:00
|
|
|
</dependency>
|
|
|
|
<!--required by creaper-core-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.wildfly.core</groupId>
|
|
|
|
<artifactId>wildfly-cli</artifactId>
|
|
|
|
<scope>test</scope>
|
2018-06-06 12:45:50 +00:00
|
|
|
<version>${wildfly10.core.version}</version>
|
2018-05-31 08:44:40 +00:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
2018-04-23 11:42:31 +00:00
|
|
|
<plugin>
|
2018-05-31 08:44:40 +00:00
|
|
|
<groupId>org.commonjava.maven.plugins</groupId>
|
|
|
|
<artifactId>directory-maven-plugin</artifactId>
|
2018-04-23 11:42:31 +00:00
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2018-04-19 07:08:36 +00:00
|
|
|
</profile>
|
2018-06-26 09:27:17 +00:00
|
|
|
<profile>
|
|
|
|
<id>app-server-fuse63</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>app.server</name>
|
|
|
|
<value>fuse63</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<app.server>fuse63</app.server> <!--in case the profile is called directly-->
|
|
|
|
<app.server.skip.unpack>false</app.server.skip.unpack>
|
|
|
|
|
|
|
|
<!--fuse examples expect auth server on 8080-->
|
|
|
|
<auth.server.port.offset>0</auth.server.port.offset>
|
|
|
|
<auth.server.http.port>8080</auth.server.http.port>
|
|
|
|
<auth.server.management.port>9990</auth.server.management.port>
|
|
|
|
<!--fuse examples expect default karaf http port 8181-->
|
|
|
|
<app.server.http.port>8181</app.server.http.port>
|
|
|
|
|
|
|
|
<app.server.management.user>admin</app.server.management.user>
|
|
|
|
<app.server.management.password>admin</app.server.management.password>
|
|
|
|
<app.server.karaf.jvm.debug.args>-agentlib:jdwp=transport=dt_socket,server=y,suspend=${app.server.debug.suspend},address=localhost:${app.server.debug.port}</app.server.karaf.jvm.debug.args>
|
|
|
|
</properties>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
|
|
<artifactId>integration-arquillian-servers-app-server-fuse63</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.arquillian.container</groupId>
|
|
|
|
<artifactId>arquillian-container-karaf-managed</artifactId>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
2018-06-26 11:24:38 +00:00
|
|
|
<groupId>org.commonjava.maven.plugins</groupId>
|
|
|
|
<artifactId>directory-maven-plugin</artifactId>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<systemPropertyVariables>
|
|
|
|
<app.server.management.user>${app.server.management.user}</app.server.management.user>
|
|
|
|
<app.server.management.password>${app.server.management.password}</app.server.management.password>
|
|
|
|
<app.server.karaf.jvm.debug.args>${app.server.karaf.jvm.debug.args}</app.server.karaf.jvm.debug.args>
|
|
|
|
</systemPropertyVariables>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>app-server-fuse70</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>app.server</name>
|
|
|
|
<value>fuse70</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<app.server>fuse70</app.server> <!--in case the profile is called directly-->
|
|
|
|
<app.server.skip.unpack>false</app.server.skip.unpack>
|
|
|
|
|
|
|
|
<!--fuse examples expect auth server on 8080-->
|
|
|
|
<auth.server.port.offset>0</auth.server.port.offset>
|
|
|
|
<auth.server.http.port>8080</auth.server.http.port>
|
|
|
|
<auth.server.management.port>9990</auth.server.management.port>
|
|
|
|
<!--fuse examples expect default karaf http port 8181-->
|
|
|
|
<app.server.http.port>8181</app.server.http.port>
|
|
|
|
|
|
|
|
<app.server.management.user>admin</app.server.management.user>
|
|
|
|
<app.server.management.password>admin</app.server.management.password>
|
|
|
|
<app.server.karaf.jvm.debug.args>-agentlib:jdwp=transport=dt_socket,server=y,suspend=${app.server.debug.suspend},address=localhost:${app.server.debug.port}</app.server.karaf.jvm.debug.args>
|
|
|
|
</properties>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
|
|
<artifactId>integration-arquillian-servers-app-server-fuse70</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.arquillian.container</groupId>
|
|
|
|
<artifactId>arquillian-container-karaf-managed</artifactId>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
2018-06-27 21:44:17 +00:00
|
|
|
<groupId>org.commonjava.maven.plugins</groupId>
|
|
|
|
<artifactId>directory-maven-plugin</artifactId>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<systemPropertyVariables>
|
|
|
|
<app.server.management.user>${app.server.management.user}</app.server.management.user>
|
|
|
|
<app.server.management.password>${app.server.management.password}</app.server.management.password>
|
|
|
|
<app.server.karaf.jvm.debug.args>${app.server.karaf.jvm.debug.args}</app.server.karaf.jvm.debug.args>
|
|
|
|
</systemPropertyVariables>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>app-server-fuse71</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>app.server</name>
|
|
|
|
<value>fuse71</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<app.server>fuse71</app.server> <!--in case the profile is called directly-->
|
|
|
|
<app.server.skip.unpack>false</app.server.skip.unpack>
|
|
|
|
|
|
|
|
<!--fuse examples expect auth server on 8080-->
|
|
|
|
<auth.server.port.offset>0</auth.server.port.offset>
|
|
|
|
<auth.server.http.port>8080</auth.server.http.port>
|
|
|
|
<auth.server.management.port>9990</auth.server.management.port>
|
|
|
|
<!--fuse examples expect default karaf http port 8181-->
|
|
|
|
<app.server.http.port>8181</app.server.http.port>
|
|
|
|
|
|
|
|
<app.server.management.user>admin</app.server.management.user>
|
|
|
|
<app.server.management.password>admin</app.server.management.password>
|
|
|
|
<app.server.karaf.jvm.debug.args>-agentlib:jdwp=transport=dt_socket,server=y,suspend=${app.server.debug.suspend},address=localhost:${app.server.debug.port}</app.server.karaf.jvm.debug.args>
|
|
|
|
</properties>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
|
|
<artifactId>integration-arquillian-servers-app-server-fuse71</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.arquillian.container</groupId>
|
|
|
|
<artifactId>arquillian-container-karaf-managed</artifactId>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
2018-06-26 09:27:17 +00:00
|
|
|
<groupId>org.commonjava.maven.plugins</groupId>
|
|
|
|
<artifactId>directory-maven-plugin</artifactId>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<systemPropertyVariables>
|
|
|
|
<app.server.management.user>${app.server.management.user}</app.server.management.user>
|
|
|
|
<app.server.management.password>${app.server.management.password}</app.server.management.password>
|
|
|
|
<app.server.karaf.jvm.debug.args>${app.server.karaf.jvm.debug.args}</app.server.karaf.jvm.debug.args>
|
|
|
|
</systemPropertyVariables>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2017-10-11 10:20:06 +00:00
|
|
|
<profile>
|
|
|
|
<id>auth-servers-crossdc-undertow</id>
|
|
|
|
<properties>
|
|
|
|
<skip.clean.second.cache>false</skip.clean.second.cache>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>auth-servers-crossdc-jboss</id>
|
|
|
|
<properties>
|
|
|
|
<skip.clean.second.cache>false</skip.clean.second.cache>
|
|
|
|
<skip.copy.auth.crossdc.nodes>false</skip.copy.auth.crossdc.nodes>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
2018-04-18 11:31:04 +00:00
|
|
|
<profile>
|
|
|
|
<id>include-CORS-tests</id>
|
|
|
|
<!--
|
|
|
|
If you want to run CORS tests it is necessary to put
|
|
|
|
|
|
|
|
127.0.0.1 localhost-auth
|
|
|
|
127.0.0.1 localhost-db
|
|
|
|
|
|
|
|
to your /etc/hosts file
|
|
|
|
-->
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>includeCorsTests</name>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<exclude.cors.tests>-</exclude.cors.tests>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
2017-10-11 10:20:06 +00:00
|
|
|
</profiles>
|
|
|
|
|
2015-09-18 12:27:28 +00:00
|
|
|
</project>
|