206 lines
No EOL
9.5 KiB
XML
206 lines
No EOL
9.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<parent>
|
|
<artifactId>integration-arquillian-servers-auth-server</artifactId>
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
<version>12.0.0-SNAPSHOT</version>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<name>Auth Server - Quarkus</name>
|
|
<artifactId>integration-arquillian-servers-auth-server-quarkus</artifactId>
|
|
|
|
<properties>
|
|
<auth.server.home>${project.build.directory}/unpacked/keycloak.x-${project.version}</auth.server.home>
|
|
<common.resources>${basedir}/../jboss/common</common.resources>
|
|
<session.cache.owners>2</session.cache.owners>
|
|
<offline.session.cache.owners>2</offline.session.cache.owners>
|
|
<login.failure.cache.owners>2</login.failure.cache.owners>
|
|
<auth.server.quarkus.config>local</auth.server.quarkus.config>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.keycloak</groupId>
|
|
<artifactId>keycloak-server-x</artifactId>
|
|
<type>zip</type>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>copy-content</id>
|
|
<phase>process-resources</phase>
|
|
<goals>
|
|
<goal>copy-resources</goal>
|
|
</goals>
|
|
<configuration>
|
|
<outputDirectory>${auth.server.home}</outputDirectory>
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/content</directory>
|
|
<includes>
|
|
<include>**</include>
|
|
</includes>
|
|
</resource>
|
|
</resources>
|
|
<overwrite>true</overwrite>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>copy-pki-root</id>
|
|
<phase>process-resources</phase>
|
|
<goals>
|
|
<goal>copy-resources</goal>
|
|
</goals>
|
|
<configuration>
|
|
<outputDirectory>${auth.server.home}</outputDirectory>
|
|
<resources>
|
|
<resource>
|
|
<directory>${common.resources}/keystore</directory>
|
|
<includes>
|
|
<include>ca.crt</include>
|
|
<include>client.crt</include>
|
|
<include>client.key</include>
|
|
<include>*.crl</include>
|
|
</includes>
|
|
</resource>
|
|
<resource>
|
|
<directory>${common.resources}/pki/root/ca</directory>
|
|
<includes>
|
|
<include>certs/clients/test-user-san@localhost.cert.pem</include>
|
|
<include>certs/clients/test-user@localhost.key.pem</include>
|
|
</includes>
|
|
</resource>
|
|
</resources>
|
|
<overwrite>true</overwrite>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>copy-pki-conf</id>
|
|
<phase>process-resources</phase>
|
|
<goals>
|
|
<goal>copy-resources</goal>
|
|
</goals>
|
|
<configuration>
|
|
<outputDirectory>${auth.server.home}/conf</outputDirectory>
|
|
<resources>
|
|
<resource>
|
|
<directory>${common.resources}/keystore</directory>
|
|
<includes>
|
|
<include>keycloak.jks</include>
|
|
<include>keycloak.truststore</include>
|
|
<include>client.jks</include>
|
|
<include>client-ca.jks</include>
|
|
<include>ca.crt</include>
|
|
<include>client.crt</include>
|
|
<include>client.key</include>
|
|
<include>*.crl</include>
|
|
<!-- KEYCLOAK-6771 Certificate Bound Token -->
|
|
<include>other_client.jks</include>
|
|
</includes>
|
|
</resource>
|
|
</resources>
|
|
<overwrite>true</overwrite>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>unpack-server-or-overlay</id>
|
|
<phase>generate-resources</phase>
|
|
<goals>
|
|
<goal>unpack</goal>
|
|
</goals>
|
|
<configuration>
|
|
<artifactItems>
|
|
<artifactItem>
|
|
<groupId>org.keycloak</groupId>
|
|
<artifactId>keycloak-server-x</artifactId>
|
|
<version>${project.version}</version>
|
|
<type>zip</type>
|
|
<outputDirectory>${project.build.directory}/unpacked</outputDirectory>
|
|
</artifactItem>
|
|
</artifactItems>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>copy-testsuite-providers</id>
|
|
<phase>generate-resources</phase>
|
|
<goals>
|
|
<goal>copy</goal>
|
|
</goals>
|
|
<configuration>
|
|
<artifactItems>
|
|
<artifactItem>
|
|
<groupId>org.keycloak.testsuite</groupId>
|
|
<artifactId>integration-arquillian-testsuite-providers</artifactId>
|
|
<version>${project.version}</version>
|
|
<type>jar</type>
|
|
<overWrite>false</overWrite>
|
|
<outputDirectory>${auth.server.home}/providers</outputDirectory>
|
|
</artifactItem>
|
|
</artifactItems>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>create-zip</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>single</goal>
|
|
</goals>
|
|
<configuration>
|
|
<descriptors>
|
|
<descriptor>assembly.xml</descriptor>
|
|
</descriptors>
|
|
<appendAssemblyId>false</appendAssemblyId>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>ant-generate-default</id>
|
|
<phase>generate-resources</phase>
|
|
<goals>
|
|
<goal>run</goal>
|
|
</goals>
|
|
<configuration>
|
|
<target>
|
|
<ant antfile="ant/configure.xml" target="config" >
|
|
<property name="auth.server.home">${auth.server.home}</property>
|
|
</ant>
|
|
</target>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>auth-server-cluster-quarkus</id>
|
|
<properties>
|
|
<auth.server.quarkus.config>ha</auth.server.quarkus.config>
|
|
</properties>
|
|
</profile>
|
|
</profiles>
|
|
</project> |