Browse Source

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
pull/29049/head
Sam Brannen 3 years ago
parent
commit
2ecc37fbef
  1. 4
      spring-webmvc/spring-webmvc.gradle

4
spring-webmvc/spring-webmvc.gradle

@ -10,7 +10,9 @@ dependencies { @@ -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")

Loading…
Cancel
Save