2021-11-23 14:45:46 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<!--
|
|
|
|
~ Copyright 2021 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>
|
|
|
|
<artifactId>keycloak-quarkus-test-parent</artifactId>
|
|
|
|
<groupId>org.keycloak</groupId>
|
2022-03-22 08:22:48 +00:00
|
|
|
<version>999-SNAPSHOT</version>
|
2021-11-23 14:45:46 +00:00
|
|
|
<relativePath>../pom.xml</relativePath>
|
|
|
|
</parent>
|
2021-12-05 14:13:57 +00:00
|
|
|
|
2021-11-23 14:45:46 +00:00
|
|
|
<name>Keycloak Quarkus Server Integration tests</name>
|
|
|
|
<artifactId>keycloak-quarkus-integration-tests</artifactId>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
2021-12-05 14:13:57 +00:00
|
|
|
<properties>
|
|
|
|
<kc.quarkus.tests.dist>raw</kc.quarkus.tests.dist>
|
2022-03-08 10:04:43 +00:00
|
|
|
<approvaltests.version>14.0.0</approvaltests.version>
|
2021-12-05 14:13:57 +00:00
|
|
|
</properties>
|
|
|
|
|
2021-11-23 14:45:46 +00:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-quarkus-server</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- Minimal test dependencies to *-deployment artifacts for consistent build order -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-quarkus-server-deployment</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<type>pom</type>
|
|
|
|
<scope>test</scope>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>*</groupId>
|
|
|
|
<artifactId>*</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
2022-02-01 08:42:09 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.keycloak</groupId>
|
|
|
|
<artifactId>keycloak-quarkus-dist</artifactId>
|
|
|
|
<type>zip</type>
|
|
|
|
</dependency>
|
2021-11-23 14:45:46 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>io.quarkus</groupId>
|
|
|
|
<artifactId>quarkus-junit5</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.rest-assured</groupId>
|
|
|
|
<artifactId>rest-assured</artifactId>
|
2021-11-29 14:20:50 +00:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.testcontainers</groupId>
|
|
|
|
<artifactId>junit-jupiter</artifactId>
|
2021-11-23 14:45:46 +00:00
|
|
|
</dependency>
|
2021-12-05 14:13:57 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.approvaltests</groupId>
|
|
|
|
<artifactId>approvaltests</artifactId>
|
|
|
|
<version>${approvaltests.version}</version>
|
|
|
|
</dependency>
|
2022-05-25 19:29:37 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.testcontainers</groupId>
|
|
|
|
<artifactId>postgresql</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.testcontainers</groupId>
|
|
|
|
<artifactId>mariadb</artifactId>
|
|
|
|
</dependency>
|
2022-07-28 11:00:11 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.testcontainers</groupId>
|
|
|
|
<artifactId>mysql</artifactId>
|
|
|
|
</dependency>
|
2021-11-23 14:45:46 +00:00
|
|
|
</dependencies>
|
2021-11-29 14:20:50 +00:00
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
2021-12-05 14:13:57 +00:00
|
|
|
<systemPropertyVariables>
|
|
|
|
<kc.quarkus.tests.dist>${kc.quarkus.tests.dist}</kc.quarkus.tests.dist>
|
|
|
|
</systemPropertyVariables>
|
2021-11-29 14:20:50 +00:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
2021-12-21 16:45:16 +00:00
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>test-database</id>
|
|
|
|
<activation>
|
|
|
|
<activeByDefault>false</activeByDefault>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<argLine>-Xmx1024m -XX:MaxMetaspaceSize=512m</argLine>
|
2022-07-15 13:21:31 +00:00
|
|
|
<systemPropertyVariables>
|
2021-12-21 16:45:16 +00:00
|
|
|
<kc.test.storage.database>true</kc.test.storage.database>
|
2022-07-15 13:21:31 +00:00
|
|
|
<!--DB Container -->
|
|
|
|
<kc.db.postgresql.container.image>postgres:alpine</kc.db.postgresql.container.image>
|
|
|
|
<kc.db.mariadb.container.image>mariadb:10.5.9</kc.db.mariadb.container.image>
|
|
|
|
</systemPropertyVariables>
|
2021-12-21 16:45:16 +00:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
|
2021-12-05 14:13:57 +00:00
|
|
|
</project>
|