2015-09-18 12:27:28 +00:00
|
|
|
<?xml version="1.0"?>
|
2016-02-03 10:20:22 +00:00
|
|
|
<!--
|
2016-02-05 00:07:40 +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-adapters</artifactId>
|
2016-03-10 06:28:27 +00:00
|
|
|
<version>1.9.2.Final-SNAPSHOT</version>
|
2015-09-18 12:27:28 +00:00
|
|
|
</parent>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<artifactId>integration-arquillian-adapters-wildfly-relative</artifactId>
|
|
|
|
<name>Adapter Tests on Wildfly Relative</name>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
|
2015-11-27 13:36:49 +00:00
|
|
|
<adapter.libs.wildfly>${containers.home}/keycloak-wildfly-adapter-dist</adapter.libs.wildfly>
|
2015-09-18 12:27:28 +00:00
|
|
|
|
|
|
|
<!--this is needed for adapter tests that load system properties in adapter config-->
|
|
|
|
<app.server.http.port>${auth.server.http.port}</app.server.http.port>
|
|
|
|
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.wildfly</groupId>
|
|
|
|
<artifactId>wildfly-arquillian-container-managed</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
2015-11-27 13:36:49 +00:00
|
|
|
<artifactId>keycloak-wildfly-adapter-dist</artifactId>
|
2015-09-18 12:27:28 +00:00
|
|
|
<type>zip</type>
|
|
|
|
</dependency>
|
2015-12-09 09:36:42 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-saml-wildfly-adapter-dist</artifactId>
|
|
|
|
<type>zip</type>
|
|
|
|
</dependency>
|
2015-09-18 12:27:28 +00:00
|
|
|
</dependencies>
|
|
|
|
|
2016-02-05 00:07:40 +00:00
|
|
|
<build>
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>enforce-auth-server-wildfly-profile</id>
|
|
|
|
<goals>
|
|
|
|
<goal>enforce</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<rules>
|
|
|
|
<requireActiveProfile>
|
|
|
|
<profiles>auth-server-wildfly</profiles>
|
|
|
|
</requireActiveProfile>
|
|
|
|
</rules>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
</build>
|
|
|
|
|
2015-09-18 12:27:28 +00:00
|
|
|
<profiles>
|
2016-02-05 00:07:40 +00:00
|
|
|
|
|
|
|
<profile>
|
|
|
|
<id>auth-server-wildfly</id>
|
|
|
|
<!--dummy profile for the enforcer plugin to work-->
|
|
|
|
</profile>
|
|
|
|
|
2015-09-18 12:27:28 +00:00
|
|
|
<profile>
|
|
|
|
<id>adapter-libs-bundled</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>adapter.libs.bundled</name>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>unpack-adapter</id>
|
2015-12-09 09:36:42 +00:00
|
|
|
<phase>process-resources</phase>
|
2015-09-18 12:27:28 +00:00
|
|
|
<goals>
|
|
|
|
<goal>unpack</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<artifactItems>
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.keycloak</groupId>
|
2015-11-27 13:36:49 +00:00
|
|
|
<artifactId>keycloak-wildfly-adapter-dist</artifactId>
|
2015-09-18 12:27:28 +00:00
|
|
|
<version>${project.version}</version>
|
|
|
|
<type>zip</type>
|
|
|
|
<outputDirectory>${adapter.libs.wildfly}</outputDirectory>
|
|
|
|
</artifactItem>
|
2015-12-09 09:36:42 +00:00
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-saml-wildfly-adapter-dist</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<type>zip</type>
|
|
|
|
<outputDirectory>${adapter.libs.wildfly}</outputDirectory>
|
|
|
|
</artifactItem>
|
2015-09-18 12:27:28 +00:00
|
|
|
</artifactItems>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2015-12-09 09:36:42 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>xml-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>configure-adapter-subsystem</id>
|
|
|
|
<phase>process-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>transform</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<transformationSets>
|
|
|
|
<transformationSet>
|
|
|
|
<dir>${auth.server.container}/standalone/configuration</dir>
|
|
|
|
<includes>
|
|
|
|
<include>standalone.xml</include>
|
|
|
|
</includes>
|
|
|
|
<stylesheet>src/main/xslt/standalone.xsl</stylesheet>
|
|
|
|
<outputDir>${auth.server.container}/standalone/configuration</outputDir>
|
|
|
|
</transformationSet>
|
|
|
|
</transformationSets>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2015-09-18 12:27:28 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<systemPropertyVariables>
|
|
|
|
<adapter.libs.wildfly>${adapter.libs.wildfly}</adapter.libs.wildfly>
|
|
|
|
</systemPropertyVariables>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
</project>
|