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>
|
2017-04-27 12:23:03 +00:00
|
|
|
<version>3.2.0.CR1-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-03-31 16:16:03 +00:00
|
|
|
|
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>
|
2016-09-01 08:17:08 +00:00
|
|
|
|
2015-09-18 12:27:28 +00:00
|
|
|
<properties>
|
2016-03-24 10:24:21 +00:00
|
|
|
<auth.server>undertow</auth.server>
|
|
|
|
<auth.server.undertow>true</auth.server.undertow>
|
2015-09-18 12:27:28 +00:00
|
|
|
|
2016-03-24 10:24:21 +00:00
|
|
|
<auth.server.container>auth-server-${auth.server}</auth.server.container>
|
|
|
|
<auth.server.home>${containers.home}/${auth.server.container}</auth.server.home>
|
|
|
|
<auth.server.config.dir>${auth.server.home}</auth.server.config.dir>
|
2016-03-31 16:16:03 +00:00
|
|
|
|
2016-04-06 07:11:06 +00:00
|
|
|
<auth.server.host>localhost</auth.server.host>
|
2015-09-18 12:27:28 +00:00
|
|
|
<auth.server.port.offset>100</auth.server.port.offset>
|
|
|
|
<auth.server.http.port>8180</auth.server.http.port>
|
2016-03-24 15:08:36 +00:00
|
|
|
<auth.server.events.http.port>8089</auth.server.events.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-03-24 10:24:21 +00:00
|
|
|
<auth.server.memory.settings>-Xms64m -Xmx512m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m</auth.server.memory.settings>
|
2016-05-23 11:17:20 +00:00
|
|
|
<auth.server.config.property.name>serverConfig</auth.server.config.property.name>
|
|
|
|
<auth.server.adapter.impl.class>org.jboss.as.arquillian.container.managed.ManagedDeployableContainer</auth.server.adapter.impl.class>
|
|
|
|
|
2016-03-24 10:24:21 +00:00
|
|
|
<auth.server.jboss.artifactId>integration-arquillian-servers-auth-server-${auth.server}</auth.server.jboss.artifactId>
|
|
|
|
<auth.server.jboss.skip.unpack>${auth.server.undertow}</auth.server.jboss.skip.unpack>
|
|
|
|
<auth.server.jboss.startup.timeout>300</auth.server.jboss.startup.timeout>
|
2016-11-02 14:51:06 +00:00
|
|
|
|
2016-04-06 07:11:06 +00:00
|
|
|
<auth.server.remote>false</auth.server.remote>
|
2016-11-02 14:51:06 +00:00
|
|
|
<auth.server.profile/>
|
2017-01-05 10:03:36 +00:00
|
|
|
<auth.server.feature/>
|
2016-04-06 07:11:06 +00:00
|
|
|
|
2016-03-24 10:24:21 +00:00
|
|
|
<adapter.test.props/>
|
2016-10-12 10:26:00 +00:00
|
|
|
<migration.import.properties/>
|
2016-03-24 10:24:21 +00:00
|
|
|
<examples.home>${project.build.directory}/examples</examples.home>
|
2016-03-31 16:16:03 +00:00
|
|
|
|
2017-01-31 13:49:54 +00:00
|
|
|
<browser>htmlUnit</browser>
|
|
|
|
<htmlUnitBrowserVersion>chrome</htmlUnitBrowserVersion>
|
2015-12-17 09:27:42 +00:00
|
|
|
<firefox_binary>/usr/bin/firefox</firefox_binary>
|
2017-01-31 13:49:54 +00:00
|
|
|
<phantomjs.cli.args>--ignore-ssl-errors=true --web-security=false</phantomjs.cli.args>
|
2015-09-18 12:27:28 +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-31 16:16:03 +00:00
|
|
|
|
2016-08-19 09:40:01 +00:00
|
|
|
<testsuite.constants>${project.build.directory}/dependency/test-constants.properties</testsuite.constants>
|
2016-03-31 16:16:03 +00:00
|
|
|
|
2016-09-02 11:55:49 +00:00
|
|
|
<skip.add.user.json>false</skip.add.user.json>
|
2016-07-26 15:47:28 +00:00
|
|
|
<client.certificate.keystore>${auth.server.config.dir}/client.jks</client.certificate.keystore>
|
|
|
|
<client.certificate.keystore.passphrase>secret</client.certificate.keystore.passphrase>
|
|
|
|
<client.truststore>${auth.server.config.dir}/keycloak.truststore</client.truststore>
|
|
|
|
<client.truststore.passphrase>secret</client.truststore.passphrase>
|
|
|
|
<client.certificate.ca.path>${auth.server.config.dir}/ca.crt</client.certificate.ca.path>
|
|
|
|
<client.certificate.file>${auth.server.config.dir}/client.crt</client.certificate.file>
|
|
|
|
<client.key.file>${auth.server.config.dir}/client.key</client.key.file>
|
|
|
|
<client.key.passphrase>secret</client.key.passphrase>
|
|
|
|
|
|
|
|
<auth.server.ocsp.responder.enabled>false</auth.server.ocsp.responder.enabled>
|
2015-09-18 12:27:28 +00:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
2016-03-24 10:24:21 +00:00
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>unpack-auth-server-jboss</id>
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>unpack</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<artifactItems>
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
|
|
<artifactId>${auth.server.jboss.artifactId}</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<type>zip</type>
|
|
|
|
</artifactItem>
|
|
|
|
</artifactItems>
|
|
|
|
<outputDirectory>${containers.home}</outputDirectory>
|
|
|
|
<overWriteIfNewer>true</overWriteIfNewer>
|
|
|
|
<skip>${auth.server.jboss.skip.unpack}</skip>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2015-09-18 12:27:28 +00:00
|
|
|
</plugin>
|
2015-12-22 12:04:39 +00:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>copy-admin-user-json-file</id>
|
2016-03-24 10:24:21 +00:00
|
|
|
<phase>generate-resources</phase>
|
2015-12-22 12:04:39 +00:00
|
|
|
<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>
|
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>
|
2017-03-09 10:11:44 +00:00
|
|
|
<execution>
|
|
|
|
<id>copy-truststore</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>keystore/keycloak.truststore</include>
|
|
|
|
</includes>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2015-12-22 12:04:39 +00:00
|
|
|
</executions>
|
|
|
|
</plugin>
|
2016-03-24 10:24:21 +00:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<systemPropertyVariables>
|
|
|
|
<project.build.directory>${project.build.directory}</project.build.directory>
|
|
|
|
<arquillian.xml>${project.build.directory}/dependency/arquillian.xml</arquillian.xml>
|
2016-03-31 16:16:03 +00:00
|
|
|
|
2016-03-24 10:24:21 +00:00
|
|
|
<auth.server>${auth.server}</auth.server>
|
|
|
|
<auth.server.container>${auth.server.container}</auth.server.container>
|
2016-03-31 16:16:03 +00:00
|
|
|
|
2016-03-24 10:24:21 +00:00
|
|
|
<auth.server.undertow>${auth.server.undertow}</auth.server.undertow>
|
|
|
|
<auth.server.jboss>${auth.server.jboss}</auth.server.jboss>
|
|
|
|
<auth.server.memory.settings>${auth.server.memory.settings}</auth.server.memory.settings>
|
2016-03-31 16:16:03 +00:00
|
|
|
|
2016-03-24 10:24:21 +00:00
|
|
|
<auth.server.home>${auth.server.home}</auth.server.home>
|
|
|
|
<auth.server.java.home>${auth.server.java.home}</auth.server.java.home>
|
|
|
|
|
2016-04-06 07:11:06 +00:00
|
|
|
<auth.server.host>${auth.server.host}</auth.server.host>
|
2016-03-24 10:24:21 +00:00
|
|
|
<auth.server.port.offset>${auth.server.port.offset}</auth.server.port.offset>
|
|
|
|
<auth.server.http.port>${auth.server.http.port}</auth.server.http.port>
|
2016-03-24 15:08:36 +00:00
|
|
|
<auth.server.events.http.port>${auth.server.events.http.port}</auth.server.events.http.port>
|
2016-03-24 10:24:21 +00:00
|
|
|
<auth.server.https.port>${auth.server.https.port}</auth.server.https.port>
|
|
|
|
<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>
|
|
|
|
<auth.server.ssl.required>${auth.server.ssl.required}</auth.server.ssl.required>
|
|
|
|
<auth.server.jboss.startup.timeout>${auth.server.jboss.startup.timeout}</auth.server.jboss.startup.timeout>
|
|
|
|
<auth.server.config.dir>${auth.server.config.dir}</auth.server.config.dir>
|
2016-05-23 11:17:20 +00:00
|
|
|
<auth.server.config.property.name>${auth.server.config.property.name}</auth.server.config.property.name>
|
|
|
|
<auth.server.config.property.value>${auth.server.config.property.value}</auth.server.config.property.value>
|
|
|
|
<auth.server.adapter.impl.class>${auth.server.adapter.impl.class}</auth.server.adapter.impl.class>
|
|
|
|
|
2016-11-02 14:51:06 +00:00
|
|
|
<auth.server.profile>${auth.server.profile}</auth.server.profile>
|
2017-01-05 10:03:36 +00:00
|
|
|
<auth.server.feature>${auth.server.feature}</auth.server.feature>
|
2016-11-02 14:51:06 +00:00
|
|
|
|
2016-03-24 10:24:21 +00:00
|
|
|
<frontend.console.output>${frontend.console.output}</frontend.console.output>
|
|
|
|
<backends.console.output>${backend.console.output}</backends.console.output>
|
2016-03-31 16:16:03 +00:00
|
|
|
|
2016-04-06 07:11:06 +00:00
|
|
|
<auth.server.remote>${auth.server.remote}</auth.server.remote>
|
|
|
|
|
2016-03-24 10:24:21 +00:00
|
|
|
<adapter.test.props>${adapter.test.props}</adapter.test.props>
|
2016-10-12 10:26:00 +00:00
|
|
|
<migration.import.properties>${migration.import.properties}</migration.import.properties>
|
2016-03-24 10:24:21 +00:00
|
|
|
|
2016-03-31 16:16:03 +00:00
|
|
|
<testsuite.constants>${testsuite.constants}</testsuite.constants>
|
2016-07-12 13:30:33 +00:00
|
|
|
<cli.log.output>${cli.log.output}</cli.log.output>
|
|
|
|
<test.intermittent>${test.intermittent}</test.intermittent>
|
2016-03-31 16:16:03 +00:00
|
|
|
|
2016-03-24 10:24:21 +00:00
|
|
|
<browser>${browser}</browser>
|
2017-01-31 13:49:54 +00:00
|
|
|
<htmlUnitBrowserVersion>${htmlUnitBrowserVersion}</htmlUnitBrowserVersion>
|
2016-03-24 10:24:21 +00:00
|
|
|
<firefox_binary>${firefox_binary}</firefox_binary>
|
2017-01-31 13:49:54 +00:00
|
|
|
<phantomjs.cli.args>${phantomjs.cli.args}</phantomjs.cli.args>
|
2016-03-24 10:24:21 +00:00
|
|
|
|
2016-07-18 12:01:26 +00:00
|
|
|
<project.version>${project.version}</project.version>
|
2016-11-15 12:09:33 +00:00
|
|
|
<migration.project.version>${migration.project.version}</migration.project.version>
|
|
|
|
<migration.product.version>${migration.product.version}</migration.product.version>
|
2016-07-26 15:47:28 +00:00
|
|
|
|
|
|
|
<client.certificate.ca.path>${client.certificate.ca.path}</client.certificate.ca.path>
|
|
|
|
<client.certificate.keystore>${client.certificate.keystore}</client.certificate.keystore>
|
|
|
|
<client.certificate.keystore.passphrase>${client.certificate.keystore.passphrase}</client.certificate.keystore.passphrase>
|
|
|
|
<client.truststore>${client.truststore}</client.truststore>
|
|
|
|
<client.truststore.passphrase>${client.truststore.passphrase}</client.truststore.passphrase>
|
|
|
|
<client.certificate.file>${client.certificate.file}</client.certificate.file>
|
|
|
|
<client.key.file>${client.key.file}</client.key.file>
|
|
|
|
<client.key.passphrase>${client.key.passphrase}</client.key.passphrase>
|
|
|
|
|
|
|
|
<auth.server.ocsp.responder.enabled>${auth.server.ocsp.responder.enabled}</auth.server.ocsp.responder.enabled>
|
2016-03-24 10:24:21 +00:00
|
|
|
</systemPropertyVariables>
|
|
|
|
<properties>
|
|
|
|
<property>
|
|
|
|
<name>listener</name>
|
2017-04-04 07:44:12 +00:00
|
|
|
<value>org.keycloak.testsuite.util.TestEventsLogger,org.keycloak.testsuite.util.junit.AggregateResultsReporter,org.keycloak.testsuite.util.NonIDERunListener</value>
|
2016-03-24 10:24:21 +00:00
|
|
|
</property>
|
|
|
|
</properties>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2015-09-18 12:27:28 +00:00
|
|
|
</plugins>
|
2016-03-31 16:16:03 +00:00
|
|
|
</pluginManagement>
|
2015-09-18 12:27:28 +00:00
|
|
|
</build>
|
|
|
|
|
2017-01-16 09:59:02 +00:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.arquillian.container</groupId>
|
|
|
|
<artifactId>arquillian-container-karaf-managed</artifactId>
|
|
|
|
<version>2.1.0.CR18</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.arquillian.container</groupId>
|
|
|
|
<artifactId>arquillian-container-osgi</artifactId>
|
|
|
|
<version>2.1.0.CR18</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.osgi</groupId>
|
|
|
|
<artifactId>org.osgi.core</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.osgi</groupId>
|
|
|
|
<artifactId>org.osgi.enterprise</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
2015-09-18 12:27:28 +00:00
|
|
|
<profiles>
|
2016-02-09 04:21:11 +00:00
|
|
|
|
2016-04-06 07:11:06 +00:00
|
|
|
<profile>
|
|
|
|
<id>auth-server-remote</id>
|
|
|
|
<properties>
|
|
|
|
<auth.server>remote</auth.server>
|
|
|
|
<auth.server.remote>true</auth.server.remote>
|
|
|
|
<auth.server.undertow>false</auth.server.undertow>
|
|
|
|
<auth.server.jboss.skip.unpack>true</auth.server.jboss.skip.unpack>
|
|
|
|
</properties>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
2016-11-09 02:58:02 +00:00
|
|
|
<groupId>org.wildfly.arquillian</groupId>
|
2016-04-06 07:11:06 +00:00
|
|
|
<artifactId>wildfly-arquillian-container-remote</artifactId>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</profile>
|
|
|
|
|
2016-02-09 04:21:11 +00:00
|
|
|
<profile>
|
2016-03-24 10:24:21 +00:00
|
|
|
<id>auth-server-wildfly</id>
|
2016-02-09 04:21:11 +00:00
|
|
|
<properties>
|
2016-03-24 10:24:21 +00:00
|
|
|
<auth.server>wildfly</auth.server>
|
|
|
|
<auth.server.jboss>true</auth.server.jboss>
|
|
|
|
<auth.server.undertow>false</auth.server.undertow>
|
2016-05-23 11:17:20 +00:00
|
|
|
<auth.server.config.property.value>standalone.xml</auth.server.config.property.value>
|
2016-03-24 10:24:21 +00:00
|
|
|
<auth.server.config.dir>${auth.server.home}/standalone/configuration</auth.server.config.dir>
|
|
|
|
<h2.version>1.3.173</h2.version>
|
2016-02-09 04:21:11 +00:00
|
|
|
</properties>
|
2016-03-24 10:24:21 +00:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
2016-05-23 11:17:20 +00:00
|
|
|
<groupId>org.wildfly.arquillian</groupId>
|
2016-03-24 10:24:21 +00:00
|
|
|
<artifactId>wildfly-arquillian-container-managed</artifactId>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2016-02-09 04:21:11 +00:00
|
|
|
</profile>
|
2016-03-31 16:16:03 +00:00
|
|
|
|
2016-02-09 04:21:11 +00:00
|
|
|
<profile>
|
2016-03-24 10:24:21 +00:00
|
|
|
<id>auth-server-eap</id>
|
2016-02-09 04:21:11 +00:00
|
|
|
<properties>
|
2016-03-24 10:24:21 +00:00
|
|
|
<auth.server>eap</auth.server>
|
|
|
|
<auth.server.jboss>true</auth.server.jboss>
|
|
|
|
<auth.server.undertow>false</auth.server.undertow>
|
2016-05-23 11:17:20 +00:00
|
|
|
<auth.server.config.property.value>standalone.xml</auth.server.config.property.value>
|
2016-03-24 10:24:21 +00:00
|
|
|
<auth.server.config.dir>${auth.server.home}/standalone/configuration</auth.server.config.dir>
|
|
|
|
<h2.version>1.3.173</h2.version>
|
2016-02-09 04:21:11 +00:00
|
|
|
</properties>
|
2016-03-24 10:24:21 +00:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
2016-05-23 11:17:20 +00:00
|
|
|
<groupId>org.wildfly.arquillian</groupId>
|
2016-03-24 10:24:21 +00:00
|
|
|
<artifactId>wildfly-arquillian-container-managed</artifactId>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2016-02-09 04:21:11 +00:00
|
|
|
</profile>
|
2016-03-31 16:16:03 +00:00
|
|
|
|
2016-11-02 14:51:06 +00:00
|
|
|
<profile>
|
|
|
|
<id>auth-server-profile</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>keycloak.profile</name>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<auth.server.profile>-Dkeycloak.profile=${keycloak.profile}</auth.server.profile>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
|
2017-01-05 10:03:36 +00:00
|
|
|
<!--
|
|
|
|
profile that enables/disables specified feature, for more details see
|
|
|
|
https://keycloak.gitbooks.io/server-installation-and-configuration/content/topics/profiles.html
|
|
|
|
-->
|
|
|
|
<profile>
|
|
|
|
<id>auth-server-enable-disable-feature</id>
|
|
|
|
<properties>
|
|
|
|
<auth.server.feature>-Dkeycloak.profile.feature.${feature.name}=${feature.value}</auth.server.feature>
|
|
|
|
</properties>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>enforce</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<rules>
|
|
|
|
<requireProperty>
|
|
|
|
<property>feature.name</property>
|
|
|
|
</requireProperty>
|
|
|
|
<requireProperty>
|
|
|
|
<property>feature.value</property>
|
|
|
|
</requireProperty>
|
|
|
|
</rules>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
|
2016-02-09 04:21:11 +00:00
|
|
|
<profile>
|
2016-03-24 10:24:21 +00:00
|
|
|
<id>auth-server-cluster</id>
|
2016-02-09 04:21:11 +00:00
|
|
|
<properties>
|
2016-03-24 10:24:21 +00:00
|
|
|
<!--disable exclusion pattern for cluster test which is enabled by default in base/pom.xml-->
|
|
|
|
<exclude.cluster>-</exclude.cluster>
|
2016-03-31 16:16:03 +00:00
|
|
|
|
2016-03-24 10:24:21 +00:00
|
|
|
<auth.server.balancer.home>${containers.home}/auth-server-balancer-wildfly</auth.server.balancer.home>
|
|
|
|
<auth.server.backend1.home>${containers.home}/auth-server-${auth.server}-backend1</auth.server.backend1.home>
|
|
|
|
<auth.server.backend2.home>${containers.home}/auth-server-${auth.server}-backend2</auth.server.backend2.home>
|
|
|
|
|
|
|
|
<auth.server.config.dir>${auth.server.backend1.home}/standalone/configuration</auth.server.config.dir>
|
2016-02-09 04:21:11 +00:00
|
|
|
</properties>
|
2016-03-24 10:24:21 +00:00
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>enforce</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<rules>
|
|
|
|
<!--requireActiveProfile 'auth-server-wildfly/eap' doesn't work unless the profiles are defined in all submodule poms
|
|
|
|
using requireProperty instead-->
|
|
|
|
<requireProperty>
|
|
|
|
<property>auth.server</property>
|
|
|
|
<regex>(wildfly)|(eap)</regex>
|
|
|
|
<regexMessage>Profile "auth-server-cluster" requires activation of profile "auth-server-wildfly" or "auth-server-eap".</regexMessage>
|
|
|
|
</requireProperty>
|
|
|
|
</rules>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>unpack-auth-server-load-balancer</id>
|
|
|
|
<phase>generate-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>${auth.server.balancer.home}</outputDirectory>
|
|
|
|
</artifactItem>
|
|
|
|
</artifactItems>
|
|
|
|
<overWriteIfNewer>true</overWriteIfNewer>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>copy-auth-server-backend-nodes</id>
|
|
|
|
<phase>process-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<target>
|
|
|
|
<move todir="${auth.server.balancer.home}">
|
|
|
|
<fileset dir="${auth.server.balancer.home}/balancer-wildfly"/>
|
|
|
|
</move>
|
|
|
|
<move todir="${auth.server.backend1.home}">
|
|
|
|
<fileset dir="${auth.server.home}"/>
|
|
|
|
</move>
|
|
|
|
<copy todir="${auth.server.backend2.home}">
|
|
|
|
<fileset dir="${auth.server.backend1.home}"/>
|
|
|
|
</copy>
|
|
|
|
</target>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<systemPropertyVariables>
|
|
|
|
<run.h2>true</run.h2>
|
|
|
|
|
|
|
|
<auth.server.jboss>false</auth.server.jboss>
|
|
|
|
<auth.server.cluster>true</auth.server.cluster>
|
2016-03-31 16:16:03 +00:00
|
|
|
|
2016-03-24 10:24:21 +00:00
|
|
|
<auth.server.balancer.home>${auth.server.balancer.home}</auth.server.balancer.home>
|
|
|
|
<auth.server.backend1.home>${auth.server.backend1.home}</auth.server.backend1.home>
|
|
|
|
<auth.server.backend2.home>${auth.server.backend2.home}</auth.server.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>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
</build>
|
2016-02-09 04:21:11 +00:00
|
|
|
</profile>
|
2016-03-24 10:24:21 +00:00
|
|
|
|
|
|
|
|
2015-09-18 12:27:28 +00:00
|
|
|
<profile>
|
2016-03-24 10:24:21 +00:00
|
|
|
<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>
|
2016-03-31 16:16:03 +00:00
|
|
|
</profile>
|
2017-02-27 13:49:16 +00:00
|
|
|
|
|
|
|
<profile>
|
|
|
|
<id>jdbc-driver-dependency</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>jdbc.mvn.artifactId</name>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>${jdbc.mvn.groupId}</groupId>
|
|
|
|
<artifactId>${jdbc.mvn.artifactId}</artifactId>
|
|
|
|
<version>${jdbc.mvn.version}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>enforce</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<rules>
|
|
|
|
<requireProperty>
|
|
|
|
<property>jdbc.mvn.groupId</property>
|
|
|
|
</requireProperty>
|
|
|
|
<requireProperty>
|
|
|
|
<property>jdbc.mvn.version</property>
|
|
|
|
</requireProperty>
|
|
|
|
</rules>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2016-03-24 10:24:21 +00:00
|
|
|
|
2016-10-13 12:01:29 +00:00
|
|
|
<!-- Profiles for migration tests-->
|
2016-03-24 10:24:21 +00:00
|
|
|
|
|
|
|
<profile>
|
2016-10-13 12:01:29 +00:00
|
|
|
<id>auth-server-migration</id>
|
2016-10-12 10:26:00 +00:00
|
|
|
<properties>
|
2017-01-18 14:44:30 +00:00
|
|
|
<migration.import.file>target/test-classes/migration-test/migration-realm-${migrated.auth.server.version}.json</migration.import.file>
|
2016-10-12 10:26:00 +00:00
|
|
|
<migration.import.props.previous>
|
|
|
|
-Dkeycloak.migration.action=import
|
|
|
|
-Dkeycloak.migration.provider=singleFile
|
2016-10-31 08:21:57 +00:00
|
|
|
-Dkeycloak.migration.file=${migration.import.file}
|
2016-10-12 10:26:00 +00:00
|
|
|
-Dkeycloak.migration.strategy=OVERWRITE_EXISTING
|
|
|
|
</migration.import.props.previous>
|
|
|
|
<skip.add.user.json>true</skip.add.user.json>
|
|
|
|
</properties>
|
2016-03-24 10:24:21 +00:00
|
|
|
<build>
|
2016-10-31 08:21:57 +00:00
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>enforce</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<rules>
|
|
|
|
<requireProperty>
|
|
|
|
<property>migrated.auth.server.version</property>
|
|
|
|
</requireProperty>
|
|
|
|
<requireProperty>
|
|
|
|
<property>migration.mode</property>
|
|
|
|
</requireProperty>
|
|
|
|
</rules>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
2016-11-07 13:02:20 +00:00
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>unpack-migrated-auth-server-jboss</id>
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>unpack</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<artifactItems>
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
|
|
<artifactId>integration-arquillian-migration-server</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<type>zip</type>
|
|
|
|
</artifactItem>
|
|
|
|
</artifactItems>
|
|
|
|
<outputDirectory>${containers.home}</outputDirectory>
|
|
|
|
<overWriteIfNewer>true</overWriteIfNewer>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<systemPropertyVariables>
|
|
|
|
<migrated.auth.server.version>${migrated.auth.server.version}</migrated.auth.server.version>
|
|
|
|
<auth.server.jboss.migration>true</auth.server.jboss.migration>
|
|
|
|
<keycloak.migration.home>${containers.home}/keycloak-${migrated.auth.server.version}</keycloak.migration.home>
|
|
|
|
<migration.import.props.previous>${migration.import.props.previous}</migration.import.props.previous>
|
|
|
|
</systemPropertyVariables>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
2016-10-12 10:26:00 +00:00
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
|
|
|
|
<profile>
|
|
|
|
<id>migration-import</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>migration.mode</name>
|
|
|
|
<value>import</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
2017-01-18 14:44:30 +00:00
|
|
|
<migration.import.file>target/test-classes/migration-test/migration-realm-${migrated.auth.server.version}.json</migration.import.file>
|
2016-10-12 10:26:00 +00:00
|
|
|
<migration.import.properties>
|
|
|
|
-Dkeycloak.migration.action=import
|
|
|
|
-Dkeycloak.migration.provider=singleFile
|
2016-10-31 08:21:57 +00:00
|
|
|
-Dkeycloak.migration.file=${migration.import.file}
|
2016-10-12 10:26:00 +00:00
|
|
|
-Dkeycloak.migration.strategy=OVERWRITE_EXISTING
|
|
|
|
</migration.import.properties>
|
|
|
|
<skip.add.user.json>true</skip.add.user.json>
|
|
|
|
</properties>
|
|
|
|
<build>
|
2016-10-31 08:21:57 +00:00
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>enforce</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<rules>
|
|
|
|
<requireProperty>
|
|
|
|
<property>migrated.auth.server.version</property>
|
|
|
|
</requireProperty>
|
|
|
|
</rules>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<systemPropertyVariables>
|
|
|
|
<migrated.auth.server.version>${migrated.auth.server.version}</migrated.auth.server.version>
|
|
|
|
<migration.import.properties>${migration.import.properties}</migration.import.properties>
|
|
|
|
</systemPropertyVariables>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
2016-03-24 10:24:21 +00:00
|
|
|
</build>
|
2016-10-12 10:26:00 +00:00
|
|
|
</profile>
|
2016-10-31 08:21:57 +00:00
|
|
|
|
|
|
|
<profile>
|
|
|
|
<id>migration-productized</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>migrated.version.import.file.suffix</name>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
2017-01-18 14:44:30 +00:00
|
|
|
<migration.import.file>target/test-classes/migration-test/migration-realm-${migrated.version.import.file.suffix}.json</migration.import.file>
|
2016-10-31 08:21:57 +00:00
|
|
|
</properties>
|
|
|
|
</profile>
|
2016-09-02 11:55:49 +00:00
|
|
|
|
2016-03-24 10:24:21 +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>
|
2016-03-31 16:16:03 +00:00
|
|
|
|
2016-03-24 10:24:21 +00:00
|
|
|
<profile>
|
|
|
|
<id>common-test-dependencies</id>
|
|
|
|
<activation>
|
|
|
|
<file>
|
|
|
|
<exists>src/test</exists>
|
|
|
|
<!-- ^ only activate this profile in submodules that have actual tests -->
|
|
|
|
</file>
|
|
|
|
</activation>
|
|
|
|
<dependencies>
|
2016-09-01 08:17:08 +00:00
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
|
|
<artifactId>integration-arquillian-test-utils</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
2016-03-24 10:24:21 +00:00
|
|
|
<!-- 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>
|
2016-04-13 07:45:28 +00:00
|
|
|
<version>1.2.1.Final</version>
|
2015-09-18 12:27:28 +00:00
|
|
|
</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>
|
2016-03-08 16:01:48 +00:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-io</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2015-09-18 12:27:28 +00:00
|
|
|
</dependency>
|
2016-03-31 16:16:03 +00:00
|
|
|
|
2016-02-26 01:24:20 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>jfree</groupId>
|
|
|
|
<artifactId>jfreechart</artifactId>
|
|
|
|
<version>1.0.13</version>
|
|
|
|
</dependency>
|
2016-03-31 16:16:03 +00:00
|
|
|
|
2016-09-21 08:40:36 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
|
|
<artifactId>integration-arquillian-test-apps-servlets</artifactId>
|
|
|
|
<version>${project.version}</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>-->
|
2016-03-31 16:16:03 +00:00
|
|
|
|
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>org.apache.ant</groupId>
|
|
|
|
<artifactId>ant</artifactId>
|
|
|
|
<version>1.9.2</version>
|
|
|
|
<type>jar</type>
|
|
|
|
</dependency>
|
2016-03-31 16:16:03 +00:00
|
|
|
|
2016-03-24 10:24:21 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.h2database</groupId>
|
|
|
|
<artifactId>h2</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2016-03-31 16:16:03 +00:00
|
|
|
|
2017-01-10 18:09:53 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.sshd</groupId>
|
|
|
|
<artifactId>sshd-core</artifactId>
|
|
|
|
<version>1.2.0</version>
|
|
|
|
</dependency>
|
|
|
|
|
2015-09-18 12:27:28 +00:00
|
|
|
<!-- Email Test Server -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.icegreen</groupId>
|
|
|
|
<artifactId>greenmail</artifactId>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
2016-05-16 20:31:23 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.subethamail</groupId>
|
|
|
|
<artifactId>subethasmtp</artifactId>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
2016-03-31 16:16:03 +00:00
|
|
|
|
2015-09-18 12:27:28 +00:00
|
|
|
<!-- 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-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>
|
2016-09-01 00:04:36 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-authz-client</artifactId>
|
|
|
|
</dependency>
|
2015-09-18 12:27:28 +00:00
|
|
|
|
2016-03-24 10:24:21 +00:00
|
|
|
<!--UNDERTOW-->
|
2015-09-18 12:27:28 +00:00
|
|
|
|
2016-03-24 10:24:21 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
|
|
<artifactId>integration-arquillian-servers-auth-server-undertow</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2016-03-31 16:16:03 +00:00
|
|
|
|
2015-09-18 12:27:28 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.arquillian.container</groupId>
|
|
|
|
<artifactId>undertow-embedded</artifactId>
|
2016-04-12 07:40:57 +00:00
|
|
|
<version>${undertow-embedded.version}</version>
|
2015-09-18 12:27:28 +00:00
|
|
|
</dependency>
|
2016-03-31 16:16:03 +00:00
|
|
|
|
2015-09-18 12:27:28 +00:00
|
|
|
<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>
|
2016-03-31 16:16:03 +00:00
|
|
|
|
2015-09-18 12:27:28 +00:00
|
|
|
<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>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>
|
2016-03-08 12:49:19 +00:00
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>mysql</groupId>
|
|
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.postgresql</groupId>
|
|
|
|
<artifactId>postgresql</artifactId>
|
|
|
|
<version>${postgresql.version}</version>
|
|
|
|
</dependency>
|
2016-05-04 15:31:46 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.mariadb.jdbc</groupId>
|
|
|
|
<artifactId>mariadb-java-client</artifactId>
|
|
|
|
<version>${mariadb.version}</version>
|
|
|
|
</dependency>
|
2016-03-24 10:24:21 +00:00
|
|
|
|
2016-07-12 13:30:33 +00:00
|
|
|
<!-- CLI -->
|
|
|
|
<!--
|
2017-02-27 13:49:16 +00:00
|
|
|
- This dependency must come after org.bouncycastle dependencies since it contains BC classes,
|
|
|
|
- and MAC signature check on classes would fail otherwise with:
|
|
|
|
- 'java.lang.SecurityException: JCE cannot authenticate the provider BC'
|
|
|
|
-->
|
2016-07-12 13:30:33 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-client-cli-dist</artifactId>
|
|
|
|
<type>zip</type>
|
|
|
|
</dependency>
|
|
|
|
|
2015-09-18 12:27:28 +00:00
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
2016-03-31 16:16:03 +00:00
|
|
|
<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>
|
2016-03-31 16:16:03 +00:00
|
|
|
</build>
|
2015-09-18 12:27:28 +00:00
|
|
|
</profile>
|
2016-03-31 16:16:03 +00:00
|
|
|
|
2016-04-06 07:11:06 +00:00
|
|
|
<profile>
|
|
|
|
<id>no-offset</id>
|
|
|
|
<properties>
|
|
|
|
<auth.server.port.offset>0</auth.server.port.offset>
|
|
|
|
<auth.server.http.port>8080</auth.server.http.port>
|
|
|
|
<auth.server.https.port>8443</auth.server.https.port>
|
|
|
|
<auth.server.management.port>9990</auth.server.management.port>
|
|
|
|
<auth.server.management.port.jmx>9999</auth.server.management.port.jmx>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
|
2015-09-18 12:27:28 +00:00
|
|
|
</profiles>
|
|
|
|
|
|
|
|
</project>
|