2015-09-18 12:27:28 +00:00
|
|
|
<?xml version="1.0"?>
|
2016-02-03 10:20:22 +00:00
|
|
|
<!--
|
2017-01-26 14:46:45 +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</artifactId>
|
2017-03-16 13:21:40 +00:00
|
|
|
<version>3.1.0.CR1-SNAPSHOT</version>
|
2015-09-18 12:27:28 +00:00
|
|
|
</parent>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<artifactId>integration-arquillian-tests-base</artifactId>
|
2016-01-20 06:16:53 +00:00
|
|
|
|
|
|
|
<name>Base TestSuite</name>
|
|
|
|
|
|
|
|
<description></description>
|
2015-09-18 12:27:28 +00:00
|
|
|
|
|
|
|
<properties>
|
2016-07-12 13:30:33 +00:00
|
|
|
<cli.log.output>false</cli.log.output>
|
|
|
|
<test.intermittent>false</test.intermittent>
|
2016-08-01 11:14:33 +00:00
|
|
|
<exclude.test>-</exclude.test>
|
2015-09-18 12:27:28 +00:00
|
|
|
<exclude.console>-</exclude.console>
|
|
|
|
<exclude.account>-</exclude.account>
|
2015-12-17 23:23:19 +00:00
|
|
|
<exclude.client>-</exclude.client>
|
2016-02-09 04:21:11 +00:00
|
|
|
<!--exclude cluster tests by default, enabled by 'auth-server-*-cluster' profiles in tests/pom.xml-->
|
|
|
|
<exclude.cluster>**/cluster/**/*Test.java</exclude.cluster>
|
2016-07-26 15:47:28 +00:00
|
|
|
<!-- exclude x509 tests by default, enabled by 'ssl' profile -->
|
|
|
|
<exclude.x509>**/x509/*Test.java</exclude.x509>
|
2016-11-29 16:26:11 +00:00
|
|
|
<!-- exclude undertow adapter tests. They can be added by -Dtest=org.keycloak.testsuite.adapter.undertow.**.*Test -->
|
|
|
|
<exclude.undertow.adapter>**/adapter/undertow/**/*Test.java</exclude.undertow.adapter>
|
2015-09-18 12:27:28 +00:00
|
|
|
</properties>
|
2016-01-20 06:16:53 +00:00
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
2015-11-12 09:33:03 +00:00
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-util-embedded-ldap</artifactId>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>bouncycastle</groupId>
|
|
|
|
<artifactId>bcprov-jdk15</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
2016-02-25 16:51:38 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>commons-configuration</groupId>
|
|
|
|
<artifactId>commons-configuration</artifactId>
|
|
|
|
<version>1.10</version>
|
|
|
|
</dependency>
|
2017-02-26 15:32:20 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>commons-io</groupId>
|
|
|
|
<artifactId>commons-io</artifactId>
|
|
|
|
<version>2.5</version>
|
|
|
|
</dependency>
|
2016-03-24 15:08:36 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak.testsuite</groupId>
|
2016-04-20 03:10:40 +00:00
|
|
|
<artifactId>integration-arquillian-testsuite-providers</artifactId>
|
2016-03-24 15:08:36 +00:00
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2016-04-19 18:13:06 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2016-05-16 20:31:23 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.subethamail</groupId>
|
|
|
|
<artifactId>subethasmtp</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2016-04-19 18:13:06 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.icegreen</groupId>
|
|
|
|
<artifactId>greenmail</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2016-01-20 06:16:53 +00:00
|
|
|
</dependencies>
|
|
|
|
|
2015-09-18 12:27:28 +00:00
|
|
|
<build>
|
2017-01-18 14:44:30 +00:00
|
|
|
<testResources>
|
|
|
|
<testResource>
|
|
|
|
<directory>src/test/resources</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
<includes>
|
|
|
|
<include>migration-test/*</include>
|
|
|
|
</includes>
|
|
|
|
</testResource>
|
|
|
|
<testResource>
|
|
|
|
<directory>src/test/resources</directory>
|
|
|
|
</testResource>
|
|
|
|
</testResources>
|
2015-09-18 12:27:28 +00:00
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<version>2.2</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>test-jar</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2016-01-20 06:16:53 +00:00
|
|
|
|
2015-09-18 12:27:28 +00:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<excludes>
|
2016-08-01 11:14:33 +00:00
|
|
|
<exclude>${exclude.test}</exclude>
|
2015-09-18 12:27:28 +00:00
|
|
|
<exclude>${exclude.console}</exclude>
|
|
|
|
<exclude>${exclude.account}</exclude>
|
2015-12-17 23:23:19 +00:00
|
|
|
<exclude>${exclude.client}</exclude>
|
2016-02-09 04:29:20 +00:00
|
|
|
<exclude>${exclude.cluster}</exclude>
|
2016-11-29 16:26:11 +00:00
|
|
|
<exclude>${exclude.undertow.adapter}</exclude>
|
2016-07-26 15:47:28 +00:00
|
|
|
<exclude>${exclude.x509}</exclude>
|
2015-09-18 12:27:28 +00:00
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2016-01-20 06:16:53 +00:00
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
<executions>
|
2016-03-24 10:24:21 +00:00
|
|
|
<execution>
|
|
|
|
<id>copy-arquillian-xml</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>arquillian.xml</include>
|
|
|
|
</includes>
|
|
|
|
<!--<filtering>true</filtering>-->
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2016-01-20 06:16:53 +00:00
|
|
|
<execution>
|
|
|
|
<id>copy-admin-user-json-file</id>
|
|
|
|
<phase>process-resources</phase>
|
|
|
|
<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>
|
2016-01-20 06:16:53 +00:00
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/test/resources</directory>
|
|
|
|
<includes>
|
|
|
|
<include>keycloak-add-user.json</include>
|
|
|
|
</includes>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2016-07-12 13:30:33 +00:00
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>unpack-client-cli-dist</id>
|
|
|
|
<phase>generate-test-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>unpack</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<artifactItems>
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-client-cli-dist</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<type>zip</type>
|
|
|
|
<outputDirectory>${containers.home}</outputDirectory>
|
|
|
|
</artifactItem>
|
|
|
|
</artifactItems>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2015-09-18 12:27:28 +00:00
|
|
|
</plugins>
|
2016-01-20 06:16:53 +00:00
|
|
|
|
2015-09-18 12:27:28 +00:00
|
|
|
</build>
|
|
|
|
|
|
|
|
</project>
|