From b96328868c0467be290fcc78c01a2706bad0c251 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Barto=C5=A1?= Date: Tue, 18 Apr 2023 14:27:23 +0200 Subject: [PATCH] Fix for Java distribution tests and JDK 17+ --- .../servers/adapter-spi/pom.xml | 16 ++++++++++++++-- .../adapter-spi/undertow-adapter-jakarta/pom.xml | 6 ++---- .../undertow-adapter-saml-jakarta/pom.xml | 6 ++---- .../undertow-adapter-spi-jakarta/pom.xml | 6 ++---- 4 files changed, 20 insertions(+), 14 deletions(-) diff --git a/testsuite/integration-arquillian/servers/adapter-spi/pom.xml b/testsuite/integration-arquillian/servers/adapter-spi/pom.xml index cfbb00ab9c..7f641d8734 100644 --- a/testsuite/integration-arquillian/servers/adapter-spi/pom.xml +++ b/testsuite/integration-arquillian/servers/adapter-spi/pom.xml @@ -20,7 +20,19 @@ - 11 - 11 + -Dnone + + + + jdk17+ + + [17,) + + + + -Djava.security.manager=allow + + + \ No newline at end of file diff --git a/testsuite/integration-arquillian/servers/adapter-spi/undertow-adapter-jakarta/pom.xml b/testsuite/integration-arquillian/servers/adapter-spi/undertow-adapter-jakarta/pom.xml index bfdaa69c19..9904dc2dda 100644 --- a/testsuite/integration-arquillian/servers/adapter-spi/undertow-adapter-jakarta/pom.xml +++ b/testsuite/integration-arquillian/servers/adapter-spi/undertow-adapter-jakarta/pom.xml @@ -15,9 +15,6 @@ jar - 11 - 11 - org.keycloak.adapters.undertow.* @@ -109,7 +106,8 @@ - + + diff --git a/testsuite/integration-arquillian/servers/adapter-spi/undertow-adapter-saml-jakarta/pom.xml b/testsuite/integration-arquillian/servers/adapter-spi/undertow-adapter-saml-jakarta/pom.xml index 49236bfc5f..2745582341 100644 --- a/testsuite/integration-arquillian/servers/adapter-spi/undertow-adapter-saml-jakarta/pom.xml +++ b/testsuite/integration-arquillian/servers/adapter-spi/undertow-adapter-saml-jakarta/pom.xml @@ -15,9 +15,6 @@ jar - 11 - 11 - ${project.basedir}/../../../../../adapters/saml/undertow ${project.basedir} @@ -99,7 +96,8 @@ - + + diff --git a/testsuite/integration-arquillian/servers/adapter-spi/undertow-adapter-spi-jakarta/pom.xml b/testsuite/integration-arquillian/servers/adapter-spi/undertow-adapter-spi-jakarta/pom.xml index 3bf3d6f402..3fe965d904 100644 --- a/testsuite/integration-arquillian/servers/adapter-spi/undertow-adapter-spi-jakarta/pom.xml +++ b/testsuite/integration-arquillian/servers/adapter-spi/undertow-adapter-spi-jakarta/pom.xml @@ -14,9 +14,6 @@ Adapter Undertow SPI (JakartaEE) - 11 - 11 - ${project.basedir}/../../../../../adapters/spi/undertow-adapter-spi ${undertow-adapter-base}/src/main/java/org/keycloak/adapters/undertow/ ${project.basedir}/src/main/java/org/keycloak/adapters/undertow/ @@ -55,7 +52,8 @@ - + +