From 2ecc37fbef6cf084c6c914db112785c8c6308865 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Wed, 31 Aug 2022 16:34:48 +0200 Subject: [PATCH] Reintroduce exclusion of dom4j for findbugs The removal of the exclusion prevented spring-webmvc from being imported into Eclipse IDE due to conflicting versions of dom4j on the classpath. See gh-29045 --- spring-webmvc/spring-webmvc.gradle | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spring-webmvc/spring-webmvc.gradle b/spring-webmvc/spring-webmvc.gradle index 1f3554694a..585eba2915 100644 --- a/spring-webmvc/spring-webmvc.gradle +++ b/spring-webmvc/spring-webmvc.gradle @@ -10,7 +10,9 @@ dependencies { api(project(":spring-expression")) api(project(":spring-web")) compileOnly("jakarta.servlet:jakarta.servlet-api") - compileOnly("com.google.code.findbugs:findbugs") // for groovy-templates + compileOnly("com.google.code.findbugs:findbugs") { // for groovy-templates + exclude group: "dom4j", module: "dom4j" + } optional(project(":spring-context-support")) // for FreeMarker support optional(project(":spring-oxm")) optional("jakarta.servlet.jsp:jakarta.servlet.jsp-api")