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
This commit is contained in:
Sam Brannen
2022-08-31 16:34:48 +02:00
parent b22d01f5f3
commit 2ecc37fbef

View File

@@ -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")