2016-03-24 10:24:21 +00:00
|
|
|
<?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">
|
|
|
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
|
|
<artifactId>integration-arquillian-tests-adapters</artifactId>
|
2016-12-22 07:22:18 +00:00
|
|
|
<version>2.5.1.Final-SNAPSHOT</version>
|
2016-03-24 10:24:21 +00:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<artifactId>integration-arquillian-tests-adapters-jboss</artifactId>
|
|
|
|
|
|
|
|
<packaging>pom</packaging>
|
|
|
|
|
|
|
|
<name>Adapter Tests - JBoss</name>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<common.resources>${project.parent.basedir}/common</common.resources>
|
2016-04-06 07:11:06 +00:00
|
|
|
<app.server.type>managed</app.server.type>
|
2016-11-22 10:41:51 +00:00
|
|
|
<auth.server.actual.http.port>${auth.server.http.port}</auth.server.actual.http.port>
|
|
|
|
<keycloak.subsystem.xsl>keycloak-subsystem.xsl</keycloak.subsystem.xsl>
|
2016-03-24 10:24:21 +00:00
|
|
|
</properties>
|
2016-04-12 07:08:29 +00:00
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>xml-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
2016-06-24 11:32:03 +00:00
|
|
|
<id>configure-keycloak-subsystem</id>
|
2016-04-12 07:08:29 +00:00
|
|
|
<phase>process-test-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>transform</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<transformationSets>
|
|
|
|
<transformationSet>
|
|
|
|
<dir>${app.server.home}/standalone/configuration</dir>
|
|
|
|
<includes>
|
|
|
|
<include>standalone.xml</include>
|
|
|
|
</includes>
|
2016-11-22 10:41:51 +00:00
|
|
|
<stylesheet>${common.resources}/xslt/${keycloak.subsystem.xsl}</stylesheet>
|
2016-04-12 07:08:29 +00:00
|
|
|
<outputDir>${app.server.home}/standalone/configuration</outputDir>
|
|
|
|
<parameters>
|
|
|
|
<parameter>
|
2016-04-13 07:45:28 +00:00
|
|
|
<name>auth-server-host</name>
|
2016-11-22 10:41:51 +00:00
|
|
|
<value>http://localhost:${auth.server.actual.http.port}</value>
|
2016-04-12 07:08:29 +00:00
|
|
|
</parameter>
|
|
|
|
</parameters>
|
|
|
|
</transformationSet>
|
|
|
|
</transformationSets>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2016-03-24 10:24:21 +00:00
|
|
|
|
|
|
|
<profiles>
|
2016-04-13 07:45:28 +00:00
|
|
|
<profile>
|
|
|
|
<id>ssl</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>app.server.ssl.required</name>
|
|
|
|
<value>true</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
2016-11-22 10:41:51 +00:00
|
|
|
<properties>
|
|
|
|
<!-- one realm definition for each secure-deployment -->
|
|
|
|
<auth.server.actual.http.port>${auth.server.https.port}</auth.server.actual.http.port>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>keycloak-subsystem-separate-realm</id>
|
|
|
|
<properties>
|
|
|
|
<!-- single realm definition, multiple secure-deployments -->
|
|
|
|
<keycloak.subsystem.xsl>keycloak-subsystem_separate-realm-def.xsl</keycloak.subsystem.xsl>
|
|
|
|
</properties>
|
2016-04-13 07:45:28 +00:00
|
|
|
</profile>
|
2016-03-24 10:24:21 +00:00
|
|
|
<profile>
|
|
|
|
<id>adapter-test-jboss-submodules</id>
|
|
|
|
<activation>
|
|
|
|
<file>
|
|
|
|
<exists>src</exists>
|
|
|
|
</file>
|
|
|
|
</activation>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
2016-05-23 11:17:20 +00:00
|
|
|
<groupId>org.wildfly.arquillian</groupId>
|
2016-04-06 07:11:06 +00:00
|
|
|
<artifactId>wildfly-arquillian-container-${app.server.type}</artifactId>
|
2016-05-27 10:04:04 +00:00
|
|
|
<version>${arquillian-wildfly-container.version}</version>
|
|
|
|
</dependency>
|
2016-03-24 10:24:21 +00:00
|
|
|
</dependencies>
|
|
|
|
</profile>
|
2016-04-13 07:45:28 +00:00
|
|
|
|
2016-03-24 10:24:21 +00:00
|
|
|
<profile>
|
|
|
|
<id>app-server-as7</id>
|
|
|
|
<modules>
|
|
|
|
<module>as7</module>
|
|
|
|
</modules>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>app-server-eap</id>
|
|
|
|
<modules>
|
|
|
|
<module>eap</module>
|
|
|
|
</modules>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>app-server-eap6</id>
|
|
|
|
<modules>
|
|
|
|
<module>eap6</module>
|
|
|
|
</modules>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>app-server-wildfly</id>
|
|
|
|
<modules>
|
|
|
|
<module>wildfly</module>
|
|
|
|
</modules>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>app-server-wildfly8</id>
|
|
|
|
<modules>
|
|
|
|
<module>wildfly8</module>
|
|
|
|
</modules>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>app-server-wildfly9</id>
|
|
|
|
<modules>
|
|
|
|
<module>wildfly9</module>
|
|
|
|
</modules>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>app-server-relative</id>
|
|
|
|
<modules>
|
|
|
|
<module>relative</module>
|
|
|
|
</modules>
|
2016-10-19 08:48:21 +00:00
|
|
|
</profile>
|
2017-01-09 17:45:27 +00:00
|
|
|
<profile>
|
|
|
|
<id>app-server-remote</id>
|
|
|
|
<modules>
|
|
|
|
<module>remote</module>
|
|
|
|
</modules>
|
|
|
|
</profile>
|
2016-10-19 08:48:21 +00:00
|
|
|
<profile>
|
|
|
|
<id>app-server-eap6-fuse</id>
|
|
|
|
<modules>
|
|
|
|
<module>eap6-fuse</module>
|
|
|
|
</modules>
|
|
|
|
</profile>
|
2016-03-24 10:24:21 +00:00
|
|
|
</profiles>
|
|
|
|
|
2016-04-06 07:11:06 +00:00
|
|
|
</project>
|