Skip to content

Commit 2ecc37f

Browse files
committed
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
1 parent b22d01f commit 2ecc37f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

spring-webmvc/spring-webmvc.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ dependencies {
1010
api(project(":spring-expression"))
1111
api(project(":spring-web"))
1212
compileOnly("jakarta.servlet:jakarta.servlet-api")
13-
compileOnly("com.google.code.findbugs:findbugs") // for groovy-templates
13+
compileOnly("com.google.code.findbugs:findbugs") { // for groovy-templates
14+
exclude group: "dom4j", module: "dom4j"
15+
}
1416
optional(project(":spring-context-support")) // for FreeMarker support
1517
optional(project(":spring-oxm"))
1618
optional("jakarta.servlet.jsp:jakarta.servlet.jsp-api")

0 commit comments

Comments
 (0)