From e3fdfeb04043627535c5a3e146b16542b75eff39 Mon Sep 17 00:00:00 2001 From: mhajas Date: Thu, 24 Oct 2019 10:27:28 +0200 Subject: [PATCH] KEYCLOAK-11706 Add tests for spring version 2.2.0 --- pom.xml | 1 + .../test-apps/spring-boot-adapter-app/pom.xml | 41 ++++++++++++++++++- .../tests/other/springboot-tests/pom.xml | 19 ++++++--- 3 files changed, 53 insertions(+), 8 deletions(-) diff --git a/pom.xml b/pom.xml index 04866ea001..511d5b116b 100755 --- a/pom.xml +++ b/pom.xml @@ -164,6 +164,7 @@ 1.5.20.RELEASE 2.1.3.RELEASE + 2.2.0.RELEASE 0.9.7.RELEASE diff --git a/testsuite/integration-arquillian/test-apps/spring-boot-adapter-app/pom.xml b/testsuite/integration-arquillian/test-apps/spring-boot-adapter-app/pom.xml index 4c9cdd190a..e95c2dd003 100644 --- a/testsuite/integration-arquillian/test-apps/spring-boot-adapter-app/pom.xml +++ b/testsuite/integration-arquillian/test-apps/spring-boot-adapter-app/pom.xml @@ -17,6 +17,8 @@ 1.8 ${jetty94.version} + 1.5 + false keycloak-tomcat-adapter @@ -52,7 +54,8 @@ true - !springboot21 + springboot-version + 1.5 @@ -374,7 +377,8 @@ - springboot21 + springboot-version + 2.1 @@ -401,6 +405,39 @@ + + spring.boot.2.2 + + + + springboot-version + 2.2 + + + + + ${spring-boot22.version} + + + + + + org.eclipse.jetty + jetty-bom + ${jetty.version} + pom + + + + + + + org.keycloak + keycloak-spring-boot-2-adapter + + + + spring-boot-adapter-tomcat diff --git a/testsuite/integration-arquillian/tests/other/springboot-tests/pom.xml b/testsuite/integration-arquillian/tests/other/springboot-tests/pom.xml index 9420d095f5..de44350ad2 100644 --- a/testsuite/integration-arquillian/tests/other/springboot-tests/pom.xml +++ b/testsuite/integration-arquillian/tests/other/springboot-tests/pom.xml @@ -15,7 +15,7 @@ tomcat - -Dspringboot15 + 1.5 5006 n @@ -68,7 +68,7 @@ -B -Pspring-boot-adapter-${adapter.container} -Dmaven.repo.local=${settings.localRepository} - ${springboot.version.option} + -Dspringboot-version=${springboot.version.option} @@ -89,7 +89,7 @@ -B -Pspring-boot-adapter-${adapter.container} -Dmaven.repo.local=${settings.localRepository} - ${springboot.version.option} + -Dspringboot-version=${springboot.version.option} -Dapp.server.debug.port=${app.server.debug.port} -Dapp.server.debug.suspend=${app.server.debug.suspend} @@ -148,7 +148,7 @@ -B -Pspring-boot-adapter-${adapter.container} -Dmaven.repo.local=${settings.localRepository} - ${springboot.version.option} + -Dspringboot-version=${springboot.version.option} ${repo.argument} @@ -172,7 +172,7 @@ ${settings.path} -Pspring-boot-adapter-${adapter.container} -Dmaven.repo.local=${settings.localRepository} - ${springboot.version.option} + -Dspringboot-version=${springboot.version.option} -Dapp.server.debug.port=${app.server.debug.port} -Dapp.server.debug.suspend=${app.server.debug.suspend} ${repo.argument} @@ -195,7 +195,14 @@ springboot21 - -Dspringboot21 + 2.1 + + + + + springboot22 + + 2.2