keycloak-restrict-client-auth/pom.xml

289 lines
10 KiB
XML
Raw Normal View History

2021-05-07 23:50:44 +02:00
<?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">
2021-05-07 23:50:44 +02:00
<modelVersion>4.0.0</modelVersion>
<groupId>de.sventorben.keycloak</groupId>
<artifactId>keycloak-restrict-client-auth</artifactId>
<version>19.0.1-SNAPSHOT</version>
2021-05-07 23:50:44 +02:00
<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
2021-05-08 01:16:07 +02:00
</developerConnection>
2021-05-07 23:50:44 +02:00
<url>https://github.com/sventorben/keycloak-restrict-client-auth.git</url>
<tag>HEAD</tag>
2021-05-07 23:50:44 +02:00
</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>
2021-05-07 23:50:44 +02:00
<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>19.0.0</version.keycloak>
2021-05-07 23:50:44 +02:00
<!-- For compatibility tests -->
<keycloak.version>${version.keycloak}</keycloak.version>
<keycloak.dist>quarkus</keycloak.dist>
<version.mockito>4.6.1</version.mockito>
2021-05-07 23:50:44 +02:00
</properties>
<profiles>
<profile>
<id>dist-quarkus</id>
<activation>
<property>
<name>keycloak.dist</name>
<value>!wildfly</value>
</property>
</activation>
<dependencies>
<dependency>
<groupId>com.github.dasniko</groupId>
<artifactId>testcontainers-keycloak</artifactId>
<version>2.3.0</version>
<scope>test</scope>
</dependency>
</dependencies>
</profile>
<profile>
<id>dist-wildlfy</id>
<activation>
<property>
<name>keycloak.dist</name>
<value>wildfly</value>
</property>
</activation>
<dependencies>
<dependency>
<groupId>com.github.dasniko</groupId>
<artifactId>testcontainers-keycloak</artifactId>
<version>1.10.0</version>
<scope>test</scope>
</dependency>
</dependencies>
</profile>
</profiles>
2021-05-07 23:50:44 +02:00
<build>
<finalName>${project.artifactId}</finalName>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M7</version>
2021-09-19 19:49:21 +02:00
<configuration>
<systemPropertyVariables>
<org.jboss.logging.provider>log4j2</org.jboss.logging.provider>
</systemPropertyVariables>
<excludes>
<exclude />
2021-09-19 19:49:21 +02:00
</excludes>
</configuration>
2021-05-07 23:50:44 +02:00
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>3.0.0-M7</version>
2021-09-19 19:49:21 +02:00
<configuration>
<systemPropertyVariables>
<org.jboss.logging.provider>log4j2</org.jboss.logging.provider>
<keycloak.version>${keycloak.version}</keycloak.version>
<keycloak.dist>${keycloak.dist}</keycloak.dist>
2021-09-19 19:49:21 +02:00
</systemPropertyVariables>
</configuration>
2021-05-07 23:50:44 +02:00
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>3.0.0-M6</version>
<configuration>
2021-05-09 23:27:59 +02:00
<scmCommentPrefix>chore(release):</scmCommentPrefix>
<tagNameFormat>v@{project.version}</tagNameFormat>
</configuration>
</plugin>
2021-05-07 23:50:44 +02:00
</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.2</version>
2021-05-07 23:50:44 +02:00
<configuration>
<archive>
2021-09-19 19:49:21 +02:00
<manifestFile>src${file.separator}main${file.separator}resources${file.separator}META-INF${file.separator}MANIFEST.MF</manifestFile>
2021-05-07 23:50:44 +02:00
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
</archive>
</configuration>
</plugin>
2021-05-08 01:16:07 +02:00
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.2.1</version>
2021-05-08 01:16:07 +02:00
<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</version>
2021-05-08 01:16:07 +02:00
</plugin>
2021-05-07 23:50:44 +02:00
</plugins>
</build>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-parent</artifactId>
<version>${version.keycloak}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
2021-05-07 23:50:44 +02:00
<!-- Tests -->
<dependency>
<groupId>org.junit</groupId>
<artifactId>junit-bom</artifactId>
<version>5.9.0</version>
2021-05-07 23:50:44 +02:00
<type>pom</type>
<scope>import</scope>
</dependency>
2021-05-07 23:50:44 +02:00
</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.23.1</version>
2021-05-07 23:50:44 +02:00
<scope>test</scope>
</dependency>
2021-09-19 19:49:21 +02:00
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>junit-jupiter</artifactId>
<version>1.17.3</version>
2021-09-19 19:49:21 +02:00
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.keycloak</groupId>
<artifactId>keycloak-admin-client</artifactId>
<version>${version.keycloak}</version>
<scope>test</scope>
</dependency>
<!-- Logging -->
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>2.18.0</version>
2021-09-19 19:49:21 +02:00
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j18-impl</artifactId>
<version>2.18.0</version>
2021-09-19 19:49:21 +02:00
<scope>test</scope>
</dependency>
2021-05-07 23:50:44 +02:00
</dependencies>
</project>