From 77a6dce1b58bbd11ec4c7c110c08cb20af38d8d8 Mon Sep 17 00:00:00 2001 From: Brian Clozel Date: Mon, 6 Sep 2021 19:15:00 +0200 Subject: [PATCH] Review Servlet API version in Spring OXM tests This commit ensures that Servlet 4.0+ is used in the Spring OXM test suite, as Servlet 4 specific APIs are used in the tests. This problem was uncovered while fixing gh-27365 --- spring-orm/spring-orm.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-orm/spring-orm.gradle b/spring-orm/spring-orm.gradle index 8a8ad57ac4..285e044a14 100644 --- a/spring-orm/spring-orm.gradle +++ b/spring-orm/spring-orm.gradle @@ -10,7 +10,7 @@ dependencies { optional(project(":spring-web")) optional("org.eclipse.persistence:org.eclipse.persistence.jpa") optional("org.hibernate:hibernate-core") - optional("javax.servlet:javax.servlet-api:3.1.0") + optional("javax.servlet:javax.servlet-api") testCompile(testFixtures(project(":spring-beans"))) testCompile(testFixtures(project(":spring-context"))) testCompile(testFixtures(project(":spring-core")))