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
This commit is contained in:
Oliver Drotbohm
2019-02-22 18:33:12 +01:00
parent 554d6cb27b
commit 900baeb926

View File

@@ -35,6 +35,13 @@
<version>${spring-hateoas}</version>
</dependency>
<!-- Temporary as we should actually avoid that -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-commons</artifactId>