2015-09-18 12:27:28 +00:00
|
|
|
<?xml version="1.0"?>
|
2016-02-03 10:20:22 +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.
|
|
|
|
-->
|
|
|
|
|
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>
|
2016-01-13 08:19:04 +00:00
|
|
|
<version>1.9.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>
|
|
|
|
<exclude.console>-</exclude.console>
|
|
|
|
<exclude.account>-</exclude.account>
|
2015-12-17 23:23:19 +00:00
|
|
|
<exclude.client>-</exclude.client>
|
2016-01-07 17:58:32 +00:00
|
|
|
<exclude.migration>-</exclude.migration>
|
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-01-20 06:16:53 +00:00
|
|
|
</dependencies>
|
|
|
|
|
2015-09-18 12:27:28 +00:00
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<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>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<excludes>
|
|
|
|
<exclude>${exclude.console}</exclude>
|
|
|
|
<exclude>${exclude.account}</exclude>
|
2015-12-17 23:23:19 +00:00
|
|
|
<exclude>${exclude.client}</exclude>
|
2016-01-07 17:58:32 +00:00
|
|
|
<exclude>${exclude.migration}</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>
|
|
|
|
<execution>
|
|
|
|
<id>copy-admin-user-json-file</id>
|
|
|
|
<phase>process-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${jboss.server.config.dir}</outputDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/test/resources</directory>
|
|
|
|
<includes>
|
|
|
|
<include>keycloak-add-user.json</include>
|
|
|
|
</includes>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</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>
|
|
|
|
|
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>no-account</id>
|
|
|
|
<properties>
|
|
|
|
<!-- Exclude all account management tests. -->
|
|
|
|
<exclude.account>**/account/**/*Test.java</exclude.account>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
2016-01-12 13:31:28 +00:00
|
|
|
<profile>
|
|
|
|
<id>no-client</id>
|
|
|
|
<properties>
|
2016-01-20 06:16:53 +00:00
|
|
|
<!-- Exclude all client tests. -->
|
|
|
|
<exclude.client>**/client/**/*Test.java</exclude.client>
|
2016-01-12 13:31:28 +00:00
|
|
|
</properties>
|
|
|
|
</profile>
|
2015-09-18 12:27:28 +00:00
|
|
|
<profile>
|
|
|
|
<id>adapters-only</id>
|
|
|
|
<properties>
|
|
|
|
<exclude.account>**/account/**/*Test.java</exclude.account>
|
2015-12-17 23:23:19 +00:00
|
|
|
<exclude.client>**/client/**/*Test.java</exclude.client>
|
2016-01-07 17:58:32 +00:00
|
|
|
<exclude.migration>**/migration/**/*Test.java</exclude.migration>
|
2015-09-18 12:27:28 +00:00
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
|
|
|
|
</project>
|