From 4fcefa4540eb6e3713e809326e4c63ae3b1aa3d6 Mon Sep 17 00:00:00 2001 From: SylvainJuge <763082+SylvainJuge@users.noreply.github.com> Date: Fri, 28 Jun 2024 03:33:24 +0200 Subject: [PATCH] don't use test keystore for vaadin (#11679) --- .../src/main/kotlin/otel.java-conventions.gradle.kts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/conventions/src/main/kotlin/otel.java-conventions.gradle.kts b/conventions/src/main/kotlin/otel.java-conventions.gradle.kts index 971b9f0bd4d3..22f9f28b170e 100644 --- a/conventions/src/main/kotlin/otel.java-conventions.gradle.kts +++ b/conventions/src/main/kotlin/otel.java-conventions.gradle.kts @@ -360,8 +360,10 @@ tasks.withType().configureEach { val trustStore = project(":testing-common").file("src/misc/testing-keystore.p12") // Work around payara not working when this is set for some reason. - // Don't set for camel as we have tests that interact with AWS and need normal trustStore - if (project.name != "jaxrs-2.0-payara-testing" && project.description != "camel-2-20") { + // Don't set for: + // - camel as we have tests that interact with AWS and need normal trustStore + // - vaadin as tests need to be able to download nodejs when not cached in ~/.vaadin/ + if (project.name != "jaxrs-2.0-payara-testing" && !project.path.contains("vaadin") && project.description != "camel-2-20") { jvmArgumentProviders.add(KeystoreArgumentsProvider(trustStore)) }