182 lines
7.4 KiB
XML
182 lines
7.4 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">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
<artifactId>integration-arquillian-tests-adapters-jboss</artifactId>
|
|
<version>3.2.0.CR1-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<artifactId>integration-arquillian-tests-adapters-remote</artifactId>
|
|
|
|
<name>Adapter Tests - JBoss - Remote</name>
|
|
|
|
<properties>
|
|
<app.server>remote</app.server>
|
|
<app.server.type>remote</app.server.type>
|
|
<app.server.skip.unpack>true</app.server.skip.unpack>
|
|
<app.server.arquillian.xsl>src/test/resources/xslt/arquillian.xsl</app.server.arquillian.xsl>
|
|
|
|
<exclude.htmlunit>**/performance/htmlunit/**/*Test.java</exclude.htmlunit>
|
|
<exclude.httpclient>**/performance/httpclient/**/*Test.java</exclude.httpclient>
|
|
|
|
<logging.loginlogout>INFO</logging.loginlogout>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>commons-io</groupId>
|
|
<artifactId>commons-io</artifactId>
|
|
<version>2.4</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-csv</artifactId>
|
|
<version>1.2</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>copy-app-profile-jee-quickstart</id>
|
|
<phase>generate-test-resources</phase>
|
|
<goals>
|
|
<goal>copy</goal>
|
|
</goals>
|
|
<configuration>
|
|
<artifactItems>
|
|
<artifactItem>
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
<artifactId>keycloak-test-app-profile-jee</artifactId>
|
|
<version>${project.version}</version>
|
|
<type>war</type>
|
|
</artifactItem>
|
|
</artifactItems>
|
|
<outputDirectory>${examples.home}</outputDirectory>
|
|
<overWriteIfNewer>true</overWriteIfNewer>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>enforce</goal>
|
|
</goals>
|
|
<configuration>
|
|
<rules>
|
|
<requireActiveProfile>
|
|
<profiles>auth-server-remote</profiles>
|
|
<!--
|
|
NOTE: Running adapter test against remote app-server
|
|
also requires remote mode for the auth-server.
|
|
|
|
There are problems when `wildfly-arquillian-container-remote` is on classpath
|
|
together with `wildfly-arquillian-container-managed`.
|
|
-->
|
|
</requireActiveProfile>
|
|
</rules>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<configuration>
|
|
<excludes>
|
|
<exclude>${exclude.htmlunit}</exclude>
|
|
<exclude>${exclude.httpclient}</exclude>
|
|
</excludes>
|
|
<systemPropertyVariables>
|
|
<logging.loginlogout>${logging.loginlogout}</logging.loginlogout>
|
|
</systemPropertyVariables>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>auth-server-remote</id>
|
|
<!--dummy profile for enforcer-->
|
|
</profile>
|
|
<profile>
|
|
<id>app-server-remote-as7-eap6</id>
|
|
<!--this profile is required if remote app server is AS7 or EAP6-->
|
|
<properties>
|
|
<app.server.management.protocol>remote</app.server.management.protocol>
|
|
<app.server.management.port>${app.server.management.port.jmx}</app.server.management.port>
|
|
</properties>
|
|
</profile>
|
|
<profile>
|
|
<id>no-offset</id>
|
|
<properties>
|
|
<app.server.port.offset>0</app.server.port.offset>
|
|
<app.server.http.port>8080</app.server.http.port>
|
|
<app.server.https.port>8443</app.server.https.port>
|
|
<app.server.management.port>9990</app.server.management.port>
|
|
<app.server.management.port.jmx>9999</app.server.management.port.jmx>
|
|
</properties>
|
|
</profile>
|
|
<profile>
|
|
<id>htmlunit</id>
|
|
<properties>
|
|
<exclude.htmlunit>-</exclude.htmlunit>
|
|
</properties>
|
|
</profile>
|
|
<profile>
|
|
<id>httpclient</id>
|
|
<properties>
|
|
<exclude.httpclient>-</exclude.httpclient>
|
|
</properties>
|
|
</profile>
|
|
<profile>
|
|
<id>debug</id>
|
|
<properties>
|
|
<logging.loginlogout>TRACE</logging.loginlogout>
|
|
</properties>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<configuration>
|
|
<systemPropertyVariables>
|
|
<warmup.load>1</warmup.load>
|
|
<warmup.duration>10</warmup.duration>
|
|
<max.iterations>0</max.iterations>
|
|
<sleep.between.loops>30</sleep.between.loops>
|
|
</systemPropertyVariables>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
|
|
</project>
|