From 5afcf49f29789b3cbede4682de5ca157ab9c2ee3 Mon Sep 17 00:00:00 2001 From: abirembaut Date: Thu, 26 Sep 2024 14:19:07 +0200 Subject: [PATCH] chore(dependencies): fix snakeyaml packaged in 2 (old) versions (#3170) * exclude snakeyaml completely --------- Co-authored-by: Romain Bioteau --- bpm/bonita-web-server/build.gradle | 1 + platform/platform-setup/build.gradle | 1 + 2 files changed, 2 insertions(+) diff --git a/bpm/bonita-web-server/build.gradle b/bpm/bonita-web-server/build.gradle index 3355db647a..26866e3ca6 100644 --- a/bpm/bonita-web-server/build.gradle +++ b/bpm/bonita-web-server/build.gradle @@ -28,6 +28,7 @@ dependencies { implementation("org.restlet.jse:org.restlet.ext.jackson:${Deps.restletVersion}") { exclude(group: "org.codehaus.woodstox", module: "woodstox-core-asl") exclude(group: "org.codehaus.woodstox", module: "stax2-api") + exclude(group: "org.yaml", module: "snakeyaml") } implementation "com.fasterxml.woodstox:woodstox-core:${Deps.woodstoxCoreVersion}" implementation libs.groovyCore diff --git a/platform/platform-setup/build.gradle b/platform/platform-setup/build.gradle index 7a7edd324f..b81fe8a9e1 100644 --- a/platform/platform-setup/build.gradle +++ b/platform/platform-setup/build.gradle @@ -92,6 +92,7 @@ distributions { exclude(module: 'commons-logging') exclude(module: 'log4j-api') exclude(module: 'log4j-to-slf4j') + exclude(module: 'snakeyaml') } } configurations.inDistrib.resolvedConfiguration.resolvedArtifacts.each {