317 lines
12 KiB
XML
317 lines
12 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">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>de.sventorben.keycloak</groupId>
|
|
<artifactId>keycloak-restrict-client-auth</artifactId>
|
|
<version>16.0.1-SNAPSHOT</version>
|
|
|
|
<name>Keycloak: Authenticator - Restrict client authentication</name>
|
|
<description>A Keycloak authenticator to restrict authentication on clients</description>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
<inceptionYear>2021</inceptionYear>
|
|
|
|
<developers>
|
|
<developer>
|
|
<id>sventorben</id>
|
|
<name>Sven-Torben Janus</name>
|
|
<email>sven-torben@sven-torben.de</email>
|
|
<url>https://sventorben.de</url>
|
|
<timezone>Europe/Berlin</timezone>
|
|
</developer>
|
|
</developers>
|
|
|
|
<scm>
|
|
<connection>scm:git:ssh://git@github.com:sventorben/keycloak-restrict-client-auth.git</connection>
|
|
<developerConnection>scm:git:https://github.com/sventorben/keycloak-restrict-client-auth.git
|
|
</developerConnection>
|
|
<url>https://github.com/sventorben/keycloak-restrict-client-auth.git</url>
|
|
<tag>HEAD</tag>
|
|
</scm>
|
|
|
|
<issueManagement>
|
|
<url>https://github.com/sventorben/keycloak-restrict-client-auth/issues</url>
|
|
<system>GitHub Issues</system>
|
|
</issueManagement>
|
|
|
|
<distributionManagement>
|
|
<repository>
|
|
<id>github</id>
|
|
<name>GitHub sventorben Apache Maven Packages</name>
|
|
<url>https://maven.pkg.github.com/sventorben/keycloak-restrict-client-auth</url>
|
|
</repository>
|
|
</distributionManagement>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>jboss-public-repository-group</id>
|
|
<name>JBoss Public Maven Repository Group</name>
|
|
<url>https://repository.jboss.org/nexus/content/groups/public/</url>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<maven.compiler.source>13</maven.compiler.source>
|
|
<maven.compiler.target>11</maven.compiler.target>
|
|
<maven.compiler.release>11</maven.compiler.release>
|
|
|
|
<!-- For compilation -->
|
|
<version.keycloak>16.1.0</version.keycloak>
|
|
|
|
<!-- For compatibility tests -->
|
|
<keycloak.version>${version.keycloak}</keycloak.version>
|
|
<keycloak.dist>keycloak-x</keycloak.dist>
|
|
|
|
<version.mockito>4.2.0</version.mockito>
|
|
<version.shrinkwrap>1.2.6</version.shrinkwrap>
|
|
</properties>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>dist-keycloak-x</id>
|
|
<activation>
|
|
<property>
|
|
<name>keycloak.dist</name>
|
|
<value>!keycloak</value>
|
|
</property>
|
|
</activation>
|
|
<repositories>
|
|
<repository>
|
|
<id>jitpack.io</id>
|
|
<url>https://jitpack.io</url>
|
|
</repository>
|
|
</repositories>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.github.dasniko</groupId>
|
|
<artifactId>testcontainers-keycloak</artifactId>
|
|
<version>keycloak-x-SNAPSHOT</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</profile>
|
|
<profile>
|
|
<id>dist-keycloak</id>
|
|
<activation>
|
|
<property>
|
|
<name>keycloak.dist</name>
|
|
<value>keycloak</value>
|
|
</property>
|
|
</activation>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.github.dasniko</groupId>
|
|
<artifactId>testcontainers-keycloak</artifactId>
|
|
<version>1.9.0</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</profile>
|
|
</profiles>
|
|
|
|
<build>
|
|
<finalName>${project.artifactId}</finalName>
|
|
|
|
<pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>3.0.0-M5</version>
|
|
<configuration>
|
|
<systemPropertyVariables>
|
|
<org.jboss.logging.provider>log4j2</org.jboss.logging.provider>
|
|
</systemPropertyVariables>
|
|
<excludes>
|
|
<exclude />
|
|
</excludes>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
|
<version>3.0.0-M5</version>
|
|
<configuration>
|
|
<systemPropertyVariables>
|
|
<org.jboss.logging.provider>log4j2</org.jboss.logging.provider>
|
|
<keycloak.version>${keycloak.version}</keycloak.version>
|
|
<keycloak.dist>${keycloak.dist}</keycloak.dist>
|
|
</systemPropertyVariables>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-release-plugin</artifactId>
|
|
<version>3.0.0-M4</version>
|
|
<configuration>
|
|
<scmCommentPrefix>chore(release):</scmCommentPrefix>
|
|
<tagNameFormat>v@{project.version}</tagNameFormat>
|
|
<allowTimestampedSnapshots>true</allowTimestampedSnapshots>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.8.1</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>3.2.0</version>
|
|
<configuration>
|
|
<archive>
|
|
<manifestFile>src${file.separator}main${file.separator}resources${file.separator}META-INF${file.separator}MANIFEST.MF</manifestFile>
|
|
<manifest>
|
|
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
|
</manifest>
|
|
</archive>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
<version>3.2.1</version>
|
|
<executions>
|
|
<execution>
|
|
<id>attach-sources</id>
|
|
<phase>deploy</phase>
|
|
<goals>
|
|
<goal>jar-no-fork</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
<version>3.0.0-M1</version>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<!-- Keycloak -->
|
|
<dependency>
|
|
<groupId>org.keycloak.bom</groupId>
|
|
<artifactId>keycloak-spi-bom</artifactId>
|
|
<version>${version.keycloak}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
|
|
<!-- Tests -->
|
|
<dependency>
|
|
<groupId>org.junit</groupId>
|
|
<artifactId>junit-bom</artifactId>
|
|
<version>5.8.2</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<dependencies>
|
|
<!-- Keycloak Extension -->
|
|
<dependency>
|
|
<groupId>org.keycloak</groupId>
|
|
<artifactId>keycloak-core</artifactId>
|
|
<version>${version.keycloak}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.keycloak</groupId>
|
|
<artifactId>keycloak-server-spi</artifactId>
|
|
<version>${version.keycloak}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.keycloak</groupId>
|
|
<artifactId>keycloak-server-spi-private</artifactId>
|
|
<version>${version.keycloak}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.keycloak</groupId>
|
|
<artifactId>keycloak-services</artifactId>
|
|
<version>${version.keycloak}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<!-- Test -->
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter-api</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter-params</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.mockito</groupId>
|
|
<artifactId>mockito-core</artifactId>
|
|
<version>${version.mockito}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.mockito</groupId>
|
|
<artifactId>mockito-junit-jupiter</artifactId>
|
|
<version>${version.mockito}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.assertj</groupId>
|
|
<artifactId>assertj-core</artifactId>
|
|
<version>3.21.0</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.testcontainers</groupId>
|
|
<artifactId>junit-jupiter</artifactId>
|
|
<version>1.16.2</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.keycloak</groupId>
|
|
<artifactId>keycloak-admin-client</artifactId>
|
|
<version>${version.keycloak}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<!-- ShrinkWrap -->
|
|
<dependency>
|
|
<groupId>org.jboss.shrinkwrap</groupId>
|
|
<artifactId>shrinkwrap-api</artifactId>
|
|
<version>${version.shrinkwrap}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jboss.shrinkwrap</groupId>
|
|
<artifactId>shrinkwrap-impl-base</artifactId>
|
|
<version>${version.shrinkwrap}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<!-- Logging -->
|
|
<dependency>
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
<artifactId>log4j-core</artifactId>
|
|
<version>2.17.0</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
<artifactId>log4j-slf4j18-impl</artifactId>
|
|
<version>2.17.0</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
</project>
|