pom.xml

89 lines | 3.08 kB Blame History Raw Download
<?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>
        <version>4.8.3.Final-SNAPSHOT</version>
    </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>
        <app.server.type>managed</app.server.type>
        <auth.server.actual.protocol>http</auth.server.actual.protocol>
        <auth.server.actual.http.port>${auth.server.http.port}</auth.server.actual.http.port>
    </properties>

    <profiles>
        <profile>
            <id>ssl</id>
            <activation>
                <property>
                    <name>auth.server.ssl.required</name>
                    <value>true</value>
                </property>
            </activation>
            <properties>
                <!-- one realm definition for each secure-deployment -->
                <auth.server.actual.protocol>https</auth.server.actual.protocol>
                <auth.server.actual.http.port>${auth.server.https.port}</auth.server.actual.http.port>
            </properties>
        </profile>
        <profile>
            <id>adapter-test-jboss-submodules</id>
            <activation>
                <file>
                    <exists>src</exists>
                </file>
            </activation>
            <dependencies>
                <dependency>
                    <groupId>org.wildfly.arquillian</groupId>
                    <artifactId>wildfly-arquillian-container-${app.server.type}</artifactId>
                    <version>${arquillian-wildfly-container.version}</version>
                </dependency>
            </dependencies>            
        </profile>

        <profile>
            <id>app-server-relative</id>
            <modules>
                <module>relative</module>
            </modules>
        </profile>
        <profile>
            <id>app-server-remote</id>
            <modules>
                <module>remote</module>
            </modules>
        </profile>
    </profiles>
    
</project>