From 263a64ef0ac77e9eed5a2fcf350c96abc70c8b65 Mon Sep 17 00:00:00 2001 From: sebastienblanc Date: Thu, 26 Sep 2019 10:19:01 +0200 Subject: [PATCH] add a legacy shaded adapters jar for spring boot 1 --- adapters/oidc/pom.xml | 1 + .../oidc/spring-boot-adapter-core/pom.xml | 7 +++ .../oidc/spring-boot-container-bundle/pom.xml | 4 +- .../pom.xml | 62 +++++++++++++++++++ adapters/oidc/spring-boot/pom.xml | 2 +- boms/adapter/pom.xml | 5 ++ .../pom.xml | 8 +-- 7 files changed, 82 insertions(+), 7 deletions(-) create mode 100644 adapters/oidc/spring-boot-legacy-container-bundle/pom.xml diff --git a/adapters/oidc/pom.xml b/adapters/oidc/pom.xml index bd75558a88..07180eb697 100755 --- a/adapters/oidc/pom.xml +++ b/adapters/oidc/pom.xml @@ -44,6 +44,7 @@ spring-boot2 spring-boot-adapter-core spring-boot-container-bundle + spring-boot-legacy-container-bundle spring-security tomcat undertow diff --git a/adapters/oidc/spring-boot-adapter-core/pom.xml b/adapters/oidc/spring-boot-adapter-core/pom.xml index a725b1c636..62dae084cf 100755 --- a/adapters/oidc/spring-boot-adapter-core/pom.xml +++ b/adapters/oidc/spring-boot-adapter-core/pom.xml @@ -50,6 +50,13 @@ true compile + + org.keycloak + spring-boot-legacy-container-bundle + ${project.version} + true + compile + org.keycloak keycloak-spring-security-adapter diff --git a/adapters/oidc/spring-boot-container-bundle/pom.xml b/adapters/oidc/spring-boot-container-bundle/pom.xml index 5cd0746503..52aa265530 100644 --- a/adapters/oidc/spring-boot-container-bundle/pom.xml +++ b/adapters/oidc/spring-boot-container-bundle/pom.xml @@ -22,7 +22,7 @@ org.keycloak - keycloak-jetty93-adapter + keycloak-jetty94-adapter compile @@ -43,7 +43,7 @@ org.keycloak:keycloak-tomcat-adapter org.keycloak:keycloak-undertow-adapter - org.keycloak:keycloak-jetty93-adapter + org.keycloak:keycloak-jetty94-adapter org.keycloak:keycloak-tomcat-core-adapter org.keycloak:keycloak-tomcat-adapter-spi org.keycloak:keycloak-undertow-adapter diff --git a/adapters/oidc/spring-boot-legacy-container-bundle/pom.xml b/adapters/oidc/spring-boot-legacy-container-bundle/pom.xml new file mode 100644 index 0000000000..44cf38f376 --- /dev/null +++ b/adapters/oidc/spring-boot-legacy-container-bundle/pom.xml @@ -0,0 +1,62 @@ + + + 4.0.0 + + keycloak-parent + org.keycloak + 8.0.0-SNAPSHOT + ../../../pom.xml + + spring-boot-legacy-container-bundle + jar + + + org.keycloak + keycloak-tomcat-adapter + compile + + + org.keycloak + keycloak-undertow-adapter + compile + + + org.keycloak + keycloak-jetty93-adapter + compile + + + + + + org.apache.maven.plugins + maven-shade-plugin + 2.4.3 + + + package + + shade + + + + + org.keycloak:keycloak-tomcat-adapter + org.keycloak:keycloak-undertow-adapter + org.keycloak:keycloak-jetty93-adapter + org.keycloak:keycloak-tomcat-core-adapter + org.keycloak:keycloak-tomcat-adapter-spi + org.keycloak:keycloak-undertow-adapter + org.keycloak:keycloak-undertow-adapter-spi + org.keycloak:keycloak-jetty-core + org.keycloak:keycloak-jetty-adapter-spi + + + true + + + + + + + diff --git a/adapters/oidc/spring-boot/pom.xml b/adapters/oidc/spring-boot/pom.xml index 3e9bed8bba..65b73569dc 100755 --- a/adapters/oidc/spring-boot/pom.xml +++ b/adapters/oidc/spring-boot/pom.xml @@ -55,7 +55,7 @@ org.keycloak - spring-boot-container-bundle + spring-boot-legacy-container-bundle ${project.version} true compile diff --git a/boms/adapter/pom.xml b/boms/adapter/pom.xml index 8231beccf4..52629502e3 100644 --- a/boms/adapter/pom.xml +++ b/boms/adapter/pom.xml @@ -104,6 +104,11 @@ spring-boot-container-bundle 8.0.0-SNAPSHOT + + org.keycloak + spring-boot-legacy-container-bundle + 8.0.0-SNAPSHOT + org.keycloak keycloak-spring-security-adapter diff --git a/misc/spring-legacy-boot-starter/keycloak-legacy-spring-boot-starter/pom.xml b/misc/spring-legacy-boot-starter/keycloak-legacy-spring-boot-starter/pom.xml index d04f282a48..e07723fe81 100644 --- a/misc/spring-legacy-boot-starter/keycloak-legacy-spring-boot-starter/pom.xml +++ b/misc/spring-legacy-boot-starter/keycloak-legacy-spring-boot-starter/pom.xml @@ -24,10 +24,10 @@ spring-boot-starter 1.5.14.RELEASE - - org.keycloak - spring-boot-container-bundle - + + org.keycloak + spring-boot-legacy-container-bundle + org.keycloak keycloak-spring-security-adapter