From 900baeb9266633ef975d728166f09e194f202e7a Mon Sep 17 00:00:00 2001 From: Oliver Drotbohm Date: Fri, 22 Feb 2019 18:33:12 +0100 Subject: [PATCH] DATAREST-1341 - Add Spring MVC as core dependency temporarily. Previiously, Spring HATEOAS pulled in the Spring WebMVC and apparently CorsRegistry, referenced from RepositoryRestConfiguration (unexpectedly) lives in that module. We now explicitly declare Spring WebMVC as dependency of Spring Data REST Core for the time being until [0] is resolved. Related tickets: [0] spring-projects/spring-framework#22458 --- spring-data-rest-core/pom.xml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/spring-data-rest-core/pom.xml b/spring-data-rest-core/pom.xml index 5ab0ad2b2..dc1de12aa 100644 --- a/spring-data-rest-core/pom.xml +++ b/spring-data-rest-core/pom.xml @@ -35,6 +35,13 @@ ${spring-hateoas} + + + + org.springframework + spring-webmvc + + org.springframework.data spring-data-commons