add a legacy shaded adapters jar for spring boot 1
This commit is contained in:
parent
b74f69c5ac
commit
263a64ef0a
7 changed files with 82 additions and 7 deletions
|
@ -44,6 +44,7 @@
|
||||||
<module>spring-boot2</module>
|
<module>spring-boot2</module>
|
||||||
<module>spring-boot-adapter-core</module>
|
<module>spring-boot-adapter-core</module>
|
||||||
<module>spring-boot-container-bundle</module>
|
<module>spring-boot-container-bundle</module>
|
||||||
|
<module>spring-boot-legacy-container-bundle</module>
|
||||||
<module>spring-security</module>
|
<module>spring-security</module>
|
||||||
<module>tomcat</module>
|
<module>tomcat</module>
|
||||||
<module>undertow</module>
|
<module>undertow</module>
|
||||||
|
|
|
@ -50,6 +50,13 @@
|
||||||
<optional>true</optional>
|
<optional>true</optional>
|
||||||
<scope>compile</scope>
|
<scope>compile</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.keycloak</groupId>
|
||||||
|
<artifactId>spring-boot-legacy-container-bundle</artifactId>
|
||||||
|
<version>${project.version}</version>
|
||||||
|
<optional>true</optional>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.keycloak</groupId>
|
<groupId>org.keycloak</groupId>
|
||||||
<artifactId>keycloak-spring-security-adapter</artifactId>
|
<artifactId>keycloak-spring-security-adapter</artifactId>
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.keycloak</groupId>
|
<groupId>org.keycloak</groupId>
|
||||||
<artifactId>keycloak-jetty93-adapter</artifactId>
|
<artifactId>keycloak-jetty94-adapter</artifactId>
|
||||||
<scope>compile</scope>
|
<scope>compile</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
@ -43,7 +43,7 @@
|
||||||
<includes>
|
<includes>
|
||||||
<include>org.keycloak:keycloak-tomcat-adapter</include>
|
<include>org.keycloak:keycloak-tomcat-adapter</include>
|
||||||
<include>org.keycloak:keycloak-undertow-adapter</include>
|
<include>org.keycloak:keycloak-undertow-adapter</include>
|
||||||
<include>org.keycloak:keycloak-jetty93-adapter</include>
|
<include>org.keycloak:keycloak-jetty94-adapter</include>
|
||||||
<include>org.keycloak:keycloak-tomcat-core-adapter</include>
|
<include>org.keycloak:keycloak-tomcat-core-adapter</include>
|
||||||
<include>org.keycloak:keycloak-tomcat-adapter-spi</include>
|
<include>org.keycloak:keycloak-tomcat-adapter-spi</include>
|
||||||
<include>org.keycloak:keycloak-undertow-adapter</include>
|
<include>org.keycloak:keycloak-undertow-adapter</include>
|
||||||
|
|
62
adapters/oidc/spring-boot-legacy-container-bundle/pom.xml
Normal file
62
adapters/oidc/spring-boot-legacy-container-bundle/pom.xml
Normal file
|
@ -0,0 +1,62 @@
|
||||||
|
<?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>
|
||||||
|
<parent>
|
||||||
|
<artifactId>keycloak-parent</artifactId>
|
||||||
|
<groupId>org.keycloak</groupId>
|
||||||
|
<version>8.0.0-SNAPSHOT</version>
|
||||||
|
<relativePath>../../../pom.xml</relativePath>
|
||||||
|
</parent>
|
||||||
|
<artifactId>spring-boot-legacy-container-bundle</artifactId>
|
||||||
|
<packaging>jar</packaging>
|
||||||
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.keycloak</groupId>
|
||||||
|
<artifactId>keycloak-tomcat-adapter</artifactId>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.keycloak</groupId>
|
||||||
|
<artifactId>keycloak-undertow-adapter</artifactId>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.keycloak</groupId>
|
||||||
|
<artifactId>keycloak-jetty93-adapter</artifactId>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-shade-plugin</artifactId>
|
||||||
|
<version>2.4.3</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<phase>package</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>shade</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<artifactSet>
|
||||||
|
<includes>
|
||||||
|
<include>org.keycloak:keycloak-tomcat-adapter</include>
|
||||||
|
<include>org.keycloak:keycloak-undertow-adapter</include>
|
||||||
|
<include>org.keycloak:keycloak-jetty93-adapter</include>
|
||||||
|
<include>org.keycloak:keycloak-tomcat-core-adapter</include>
|
||||||
|
<include>org.keycloak:keycloak-tomcat-adapter-spi</include>
|
||||||
|
<include>org.keycloak:keycloak-undertow-adapter</include>
|
||||||
|
<include>org.keycloak:keycloak-undertow-adapter-spi</include>
|
||||||
|
<include>org.keycloak:keycloak-jetty-core</include>
|
||||||
|
<include>org.keycloak:keycloak-jetty-adapter-spi</include>
|
||||||
|
</includes>
|
||||||
|
</artifactSet>
|
||||||
|
<createSourcesJar>true</createSourcesJar>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
</project>
|
|
@ -55,7 +55,7 @@
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.keycloak</groupId>
|
<groupId>org.keycloak</groupId>
|
||||||
<artifactId>spring-boot-container-bundle</artifactId>
|
<artifactId>spring-boot-legacy-container-bundle</artifactId>
|
||||||
<version>${project.version}</version>
|
<version>${project.version}</version>
|
||||||
<optional>true</optional>
|
<optional>true</optional>
|
||||||
<scope>compile</scope>
|
<scope>compile</scope>
|
||||||
|
|
|
@ -104,6 +104,11 @@
|
||||||
<artifactId>spring-boot-container-bundle</artifactId>
|
<artifactId>spring-boot-container-bundle</artifactId>
|
||||||
<version>8.0.0-SNAPSHOT</version>
|
<version>8.0.0-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.keycloak</groupId>
|
||||||
|
<artifactId>spring-boot-legacy-container-bundle</artifactId>
|
||||||
|
<version>8.0.0-SNAPSHOT</version>
|
||||||
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.keycloak</groupId>
|
<groupId>org.keycloak</groupId>
|
||||||
<artifactId>keycloak-spring-security-adapter</artifactId>
|
<artifactId>keycloak-spring-security-adapter</artifactId>
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.keycloak</groupId>
|
<groupId>org.keycloak</groupId>
|
||||||
<artifactId>spring-boot-container-bundle</artifactId>
|
<artifactId>spring-boot-legacy-container-bundle</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.keycloak</groupId>
|
<groupId>org.keycloak</groupId>
|
||||||
|
|
Loading…
Reference in a new issue