From fd01b3d4802465d29b1bcb0ea7f9f57235a5139a Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Tue, 21 Mar 2023 12:09:27 +0000 Subject: [PATCH] Prohibit upgrades to Selenium HtmlUnit Driver 4.8.1 See gh-34690 --- spring-boot-project/spring-boot-dependencies/build.gradle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spring-boot-project/spring-boot-dependencies/build.gradle b/spring-boot-project/spring-boot-dependencies/build.gradle index 6201e5a645..4f4b84047a 100644 --- a/spring-boot-project/spring-boot-dependencies/build.gradle +++ b/spring-boot-project/spring-boot-dependencies/build.gradle @@ -1284,6 +1284,10 @@ bom { } } library("Selenium HtmlUnit", "4.8.0") { + prohibit { + versionRange("[4.8.1,)") + because("it requires HtmlUnit 3.0.0 which is incompatible with Spring Framework 6.0") + } group("org.seleniumhq.selenium") { modules = [ "htmlunit-driver"