960 lines
42 KiB
XML
960 lines
42 KiB
XML
<?xml version="1.0"?>
|
|
<!--
|
|
~ Copyright 2016 Red Hat, Inc. and/or its affiliates
|
|
~ and other contributors as indicated by the @author tags.
|
|
~
|
|
~ Licensed under the Apache License, Version 2.0 (the "License");
|
|
~ you may not use this file except in compliance with the License.
|
|
~ You may obtain a copy of the License at
|
|
~
|
|
~ http://www.apache.org/licenses/LICENSE-2.0
|
|
~
|
|
~ Unless required by applicable law or agreed to in writing, software
|
|
~ distributed under the License is distributed on an "AS IS" BASIS,
|
|
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
~ See the License for the specific language governing permissions and
|
|
~ limitations under the License.
|
|
-->
|
|
|
|
<project 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>
|
|
<version>7.0.0-SNAPSHOT</version>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>integration-arquillian-tests-base</artifactId>
|
|
|
|
<name>Base TestSuite</name>
|
|
|
|
<description></description>
|
|
|
|
<properties>
|
|
<cli.log.output>false</cli.log.output>
|
|
<test.intermittent>false</test.intermittent>
|
|
<exclude.test>-</exclude.test>
|
|
<exclude.console>-</exclude.console>
|
|
<exclude.account>-</exclude.account>
|
|
<exclude.client>-</exclude.client>
|
|
<!--exclude cluster tests by default, enabled by 'auth-server-*-cluster' profiles in tests/pom.xml-->
|
|
<exclude.cluster>**/cluster/**/*Test.java</exclude.cluster>
|
|
<exclude.crossdc>**/crossdc/**/*Test.java</exclude.crossdc>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.keycloak</groupId>
|
|
<artifactId>keycloak-util-embedded-ldap</artifactId>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>bouncycastle</groupId>
|
|
<artifactId>bcprov-jdk15</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-configuration</groupId>
|
|
<artifactId>commons-configuration</artifactId>
|
|
<version>1.10</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-io</groupId>
|
|
<artifactId>commons-io</artifactId>
|
|
<version>2.5</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
<artifactId>integration-arquillian-testsuite-providers</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.hamcrest</groupId>
|
|
<artifactId>hamcrest-all</artifactId>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.assertj</groupId>
|
|
<artifactId>assertj-core</artifactId>
|
|
<version>3.11.1</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.subethamail</groupId>
|
|
<artifactId>subethasmtp</artifactId>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.icegreen</groupId>
|
|
<artifactId>greenmail</artifactId>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<!--<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>
|
|
<version>${testcontainers.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.guava</groupId>
|
|
<artifactId>guava</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
<artifactId>integration-arquillian-servers-app-server-spi</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
<artifactId>integration-arquillian-servers-app-server-undertow</artifactId>
|
|
<version>${project.version}</version>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.wildfly.arquillian</groupId>
|
|
<artifactId>wildfly-arquillian-container-managed</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
<artifactId>photoz-restful-api</artifactId>
|
|
<version>${project.version}</version>
|
|
<classifier>classes</classifier>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<testResources>
|
|
<testResource>
|
|
<directory>src/test/resources</directory>
|
|
<filtering>true</filtering>
|
|
<includes>
|
|
<include>migration-test/*</include>
|
|
<include>authorization-test/*</include>
|
|
</includes>
|
|
</testResource>
|
|
<testResource>
|
|
<directory>src/test/resources</directory>
|
|
</testResource>
|
|
</testResources>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>2.2</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>test-jar</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<configuration>
|
|
<excludes>
|
|
<exclude>${exclude.test}</exclude>
|
|
<exclude>${exclude.console}</exclude>
|
|
<exclude>${exclude.account}</exclude>
|
|
<exclude>${exclude.client}</exclude>
|
|
<exclude>${exclude.cluster}</exclude>
|
|
<exclude>${exclude.crossdc}</exclude>
|
|
</excludes>
|
|
<systemPropertyVariables>
|
|
<com.mchange.v2.c3p0.VMID>testsuiteVmId</com.mchange.v2.c3p0.VMID>
|
|
<auth.server.db.host>${docker.container.testdb.ip}</auth.server.db.host>
|
|
</systemPropertyVariables>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>copy-common-dependencies</id>
|
|
<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>
|
|
<include>password-blacklists/**</include>
|
|
<include>log4j.properties</include>
|
|
</includes>
|
|
<!--<filtering>true</filtering>-->
|
|
</resource>
|
|
</resources>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>copy-admin-user-json-file</id>
|
|
<phase>process-resources</phase>
|
|
<goals>
|
|
<goal>copy-resources</goal>
|
|
</goals>
|
|
<configuration>
|
|
<skip>${skip.add.user.json}</skip>
|
|
<outputDirectory>${auth.server.config.dir}</outputDirectory>
|
|
<resources>
|
|
<resource>
|
|
<directory>src/test/resources</directory>
|
|
<includes>
|
|
<include>keycloak-add-user.json</include>
|
|
</includes>
|
|
<filtering>true</filtering>
|
|
</resource>
|
|
</resources>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<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>
|
|
</artifactItems>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>unpack-undertow-server</id>
|
|
<phase>generate-test-resources</phase>
|
|
<goals>
|
|
<goal>unpack</goal>
|
|
</goals>
|
|
<configuration>
|
|
<artifactItems>
|
|
<artifactItem>
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
<artifactId>integration-arquillian-servers-auth-server-undertow</artifactId>
|
|
<version>${project.version}</version>
|
|
<type>jar</type>
|
|
<outputDirectory>${containers.home}/auth-server-undertow</outputDirectory>
|
|
</artifactItem>
|
|
</artifactItems>
|
|
<includes>*.jks,*.crt,*.truststore,*.crl,*.key,certs/clients/*</includes>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>com.igormaznitsa</groupId>
|
|
<artifactId>mvn-golang-wrapper</artifactId>
|
|
<version>2.1.6</version>
|
|
<extensions>true</extensions>
|
|
<configuration>
|
|
<goVersion>1.9.2</goVersion>
|
|
<useMavenProxy>true</useMavenProxy>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>get-mousetrap</id>
|
|
<goals>
|
|
<goal>get</goal>
|
|
</goals>
|
|
<configuration>
|
|
<packages>
|
|
<package>github.com/inconshreveable/mousetrap</package>
|
|
</packages>
|
|
<goPath>${project.build.directory}/gopath</goPath>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>get-kcinit</id>
|
|
<goals>
|
|
<goal>get</goal>
|
|
</goals>
|
|
<configuration>
|
|
<packages>
|
|
<package>github.com/keycloak/kcinit</package>
|
|
</packages>
|
|
<goPath>${project.build.directory}/gopath</goPath>
|
|
<tag>0.5</tag>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>io.fabric8</groupId>
|
|
<artifactId>docker-maven-plugin</artifactId>
|
|
<version>${docker.maven.plugin.version}</version>
|
|
<configuration>
|
|
<skip>${docker.database.skip}</skip>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>start-db-container</id>
|
|
<phase>process-test-classes</phase>
|
|
<goals>
|
|
<goal>start</goal>
|
|
</goals>
|
|
<configuration>
|
|
<showLogs>true</showLogs>
|
|
<images>
|
|
<image>
|
|
<alias>testdb</alias>
|
|
<name>${docker.database.image}</name>
|
|
<run>
|
|
<shmSize>${docker.database.shmsize}</shmSize>
|
|
<ports>
|
|
<port>${docker.database.port}</port>
|
|
</ports>
|
|
<env>
|
|
<!-- MYSQL and MariaDB -->
|
|
<MYSQL_DATABASE>${keycloak.connectionsJpa.database}</MYSQL_DATABASE>
|
|
<MYSQL_USER>${keycloak.connectionsJpa.user}</MYSQL_USER>
|
|
<MYSQL_PASSWORD>${keycloak.connectionsJpa.password}</MYSQL_PASSWORD>
|
|
<MYSQL_RANDOM_ROOT_PASSWORD>true</MYSQL_RANDOM_ROOT_PASSWORD>
|
|
|
|
<!-- PostgreSQL -->
|
|
<POSTGRES_DB>${keycloak.connectionsJpa.database}</POSTGRES_DB>
|
|
<POSTGRES_USER>${keycloak.connectionsJpa.user}</POSTGRES_USER>
|
|
<POSTGRES_PASSWORD>${keycloak.connectionsJpa.password}</POSTGRES_PASSWORD>
|
|
|
|
<!-- MSSQL -->
|
|
<ACCEPT_EULA>Y</ACCEPT_EULA>
|
|
<SA_PASSWORD>${keycloak.connectionsJpa.password}</SA_PASSWORD>
|
|
|
|
<!-- Oracle -->
|
|
<ORACLE_SID>${keycloak.connectionsJpa.database}</ORACLE_SID>
|
|
<ORACLE_PWD>sa</ORACLE_PWD>
|
|
</env>
|
|
<wait>
|
|
<!-- Do not use waiting for port since that is unreliable, sometimes port is listening before DB is ready to serve -->
|
|
<log>${docker.database.wait-for-log-regex}</log>
|
|
<time>300000</time>
|
|
<exec>
|
|
<postStart>${docker.database.postStart}</postStart>
|
|
</exec>
|
|
</wait>
|
|
</run>
|
|
</image>
|
|
</images>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>stop-db-container</id>
|
|
<phase>test</phase>
|
|
<goals>
|
|
<goal>stop</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
<profiles>
|
|
<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>
|
|
|
|
<profile>
|
|
<id>app-server-jetty94</id>
|
|
<activation>
|
|
<property>
|
|
<name>app.server</name>
|
|
<value>jetty94</value>
|
|
</property>
|
|
</activation>
|
|
<properties>
|
|
<app.server>jetty94</app.server> <!--in case the profile is called directly-->
|
|
<app.server.skip.unpack>true</app.server.skip.unpack>
|
|
</properties>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
<artifactId>integration-arquillian-servers-app-server-jetty-94</artifactId>
|
|
<version>${project.version}</version>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.commonjava.maven.plugins</groupId>
|
|
<artifactId>directory-maven-plugin</artifactId>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
<profile>
|
|
<id>app-server-jetty93</id>
|
|
<activation>
|
|
<property>
|
|
<name>app.server</name>
|
|
<value>jetty93</value>
|
|
</property>
|
|
</activation>
|
|
<properties>
|
|
<app.server>jetty93</app.server> <!--in case the profile is called directly-->
|
|
<app.server.skip.unpack>true</app.server.skip.unpack>
|
|
</properties>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
<artifactId>integration-arquillian-servers-app-server-jetty-93</artifactId>
|
|
<version>${project.version}</version>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.commonjava.maven.plugins</groupId>
|
|
<artifactId>directory-maven-plugin</artifactId>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
<profile>
|
|
<id>app-server-jetty92</id>
|
|
<activation>
|
|
<property>
|
|
<name>app.server</name>
|
|
<value>jetty92</value>
|
|
</property>
|
|
</activation>
|
|
<properties>
|
|
<app.server>jetty92</app.server> <!--in case the profile is called directly-->
|
|
<app.server.skip.unpack>true</app.server.skip.unpack>
|
|
</properties>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
<artifactId>integration-arquillian-servers-app-server-jetty-92</artifactId>
|
|
<version>${project.version}</version>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.commonjava.maven.plugins</groupId>
|
|
<artifactId>directory-maven-plugin</artifactId>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
<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>
|
|
<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-wildfly-deprecated</id>
|
|
<activation>
|
|
<property>
|
|
<name>app.server</name>
|
|
<value>wildfly-deprecated</value>
|
|
</property>
|
|
</activation>
|
|
<properties>
|
|
<app.server>wildfly-deprecated</app.server> <!--in case the profile is called directly-->
|
|
<app.server.skip.unpack>false</app.server.skip.unpack>
|
|
|
|
<arquillian-wildfly-container.version>${wildfly.deprecated.arquillian.wildfly.container}</arquillian-wildfly-container.version>
|
|
</properties>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
<artifactId>integration-arquillian-servers-app-server-wildfly-deprecated</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>${wildfly.deprecated.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-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>
|
|
<!--required by creaper-core-->
|
|
<dependency>
|
|
<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-eap71</id>
|
|
<activation>
|
|
<property>
|
|
<name>app.server</name>
|
|
<value>eap71</value>
|
|
</property>
|
|
</activation>
|
|
<properties>
|
|
<app.server>eap71</app.server> <!--in case the profile is called directly-->
|
|
<app.server.skip.unpack>false</app.server.skip.unpack>
|
|
<app.server.artifactId>integration-arquillian-servers-app-server-eap</app.server.artifactId><!-- Need to override -->
|
|
</properties>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
<artifactId>integration-arquillian-servers-app-server-eap</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>3.0.10.Final</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>
|
|
<!--TODO: check it when KEYCLOAK-8529 is resolved-->
|
|
<!--<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>
|
|
</dependency>
|
|
<!--required by creaper-core-->
|
|
<dependency>
|
|
<groupId>org.wildfly.core</groupId>
|
|
<artifactId>wildfly-cli</artifactId>
|
|
<scope>test</scope>
|
|
<version>2.0.10.Final</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-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>password</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.keycloak.testsuite</groupId>
|
|
<artifactId>integration-arquillian-test-apps-fuse-parent</artifactId>
|
|
<version>${project.version}</version>
|
|
<scope>runtime</scope>
|
|
<type>pom</type>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jboss.arquillian.container</groupId>
|
|
<artifactId>arquillian-container-karaf-managed</artifactId>
|
|
</dependency>
|
|
</dependencies>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
<goals>
|
|
<goal>enforce</goal>
|
|
</goals>
|
|
<configuration>
|
|
<rules>
|
|
<requireProperty>
|
|
<message>When running fuse tests 'additional.fuse.repos' is expected to be set.</message>
|
|
<property>additional.fuse.repos</property>
|
|
</requireProperty>
|
|
</rules>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<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-fuse7x</id>
|
|
<activation>
|
|
<property>
|
|
<name>app.server</name>
|
|
<value>fuse7x</value>
|
|
</property>
|
|
</activation>
|
|
<properties>
|
|
<app.server>fuse7x</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>password</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-fuse7x</artifactId>
|
|
<version>${project.version}</version>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
<artifactId>integration-arquillian-test-apps-fuse-parent</artifactId>
|
|
<version>${project.version}</version>
|
|
<scope>runtime</scope>
|
|
<type>pom</type>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jboss.arquillian.container</groupId>
|
|
<artifactId>arquillian-container-karaf-managed</artifactId>
|
|
</dependency>
|
|
</dependencies>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
<goals>
|
|
<goal>enforce</goal>
|
|
</goals>
|
|
<configuration>
|
|
<rules>
|
|
<requireProperty>
|
|
<message>When running fuse tests 'additional.fuse.repos' is expected to be set.</message>
|
|
<property>additional.fuse.repos</property>
|
|
</requireProperty>
|
|
</rules>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<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-tomcat7</id>
|
|
<activation>
|
|
<property>
|
|
<name>app.server</name>
|
|
<value>tomcat7</value>
|
|
</property>
|
|
</activation>
|
|
<properties>
|
|
<app.server>tomcat7</app.server> <!--in case the profile is called directly-->
|
|
<app.server.skip.unpack>false</app.server.skip.unpack>
|
|
<app.server.artifactId>integration-arquillian-servers-app-server-tomcat7</app.server.artifactId><!-- Need to override -->
|
|
<app.server.port.offset>0</app.server.port.offset>
|
|
<app.server.http.port>8080</app.server.http.port>
|
|
<app.server.management.port>9990</app.server.management.port>
|
|
</properties>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
<artifactId>integration-arquillian-servers-app-server-tomcat7</artifactId>
|
|
<version>${project.version}</version>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.commonjava.maven.plugins</groupId>
|
|
<artifactId>directory-maven-plugin</artifactId>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
<profile>
|
|
<id>app-server-tomcat8</id>
|
|
<activation>
|
|
<property>
|
|
<name>app.server</name>
|
|
<value>tomcat8</value>
|
|
</property>
|
|
</activation>
|
|
<properties>
|
|
<app.server>tomcat8</app.server> <!--in case the profile is called directly-->
|
|
<app.server.skip.unpack>false</app.server.skip.unpack>
|
|
<app.server.artifactId>integration-arquillian-servers-app-server-tomcat8</app.server.artifactId><!-- Need to override -->
|
|
<app.server.port.offset>0</app.server.port.offset>
|
|
<app.server.http.port>8080</app.server.http.port>
|
|
<app.server.management.port>9990</app.server.management.port>
|
|
</properties>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
<artifactId>integration-arquillian-servers-app-server-tomcat8</artifactId>
|
|
<version>${project.version}</version>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.commonjava.maven.plugins</groupId>
|
|
<artifactId>directory-maven-plugin</artifactId>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
<profile>
|
|
<id>app-server-tomcat9</id>
|
|
<activation>
|
|
<property>
|
|
<name>app.server</name>
|
|
<value>tomcat9</value>
|
|
</property>
|
|
</activation>
|
|
<properties>
|
|
<app.server>tomcat9</app.server> <!--in case the profile is called directly-->
|
|
<app.server.skip.unpack>false</app.server.skip.unpack>
|
|
<app.server.artifactId>integration-arquillian-servers-app-server-tomcat9</app.server.artifactId><!-- Need to override -->
|
|
<app.server.port.offset>0</app.server.port.offset>
|
|
<app.server.http.port>8080</app.server.http.port>
|
|
<app.server.management.port>9990</app.server.management.port>
|
|
</properties>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
<artifactId>integration-arquillian-servers-app-server-tomcat9</artifactId>
|
|
<version>${project.version}</version>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.commonjava.maven.plugins</groupId>
|
|
<artifactId>directory-maven-plugin</artifactId>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
<profile>
|
|
<id>auth-servers-crossdc-undertow</id>
|
|
<properties>
|
|
<skip.clean.second.cache>false</skip.clean.second.cache>
|
|
<exclude.crossdc>-</exclude.crossdc>
|
|
<surefire.memory.settings>-Xms512m -Xmx1024m -XX:MetaspaceSize=96m -XX:MaxMetaspaceSize=256m</surefire.memory.settings>
|
|
</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>
|
|
<exclude.crossdc>-</exclude.crossdc>
|
|
<surefire.memory.settings>-Xms512m -Xmx1024m -XX:MetaspaceSize=96m -XX:MaxMetaspaceSize=256m</surefire.memory.settings>
|
|
</properties>
|
|
</profile>
|
|
</profiles>
|
|
|
|
</project>
|