From 9f8071a0d7370f11cc3dc6e5c6928991b196b94f Mon Sep 17 00:00:00 2001 From: Oliver Drotbohm Date: Fri, 26 Mar 2021 13:54:13 +0100 Subject: [PATCH] Remove legacy support for well-known XML configuration file import. We now don't import XML configuration located in classpath*:META-INF/spring-data-rest/**/*.xml anymore. This is primarily to not trigger the XML subsystem in Spring Framework which we don't need at all actually. Users still relying on that import can just declare the import themselves. --- .../data/rest/webmvc/config/RepositoryRestMvcConfiguration.java | 1 - 1 file changed, 1 deletion(-) diff --git a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/config/RepositoryRestMvcConfiguration.java b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/config/RepositoryRestMvcConfiguration.java index 588e07097..04530fe8b 100644 --- a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/config/RepositoryRestMvcConfiguration.java +++ b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/config/RepositoryRestMvcConfiguration.java @@ -146,7 +146,6 @@ import com.fasterxml.jackson.datatype.jdk8.Jdk8Module; */ @Configuration(proxyBeanMethods = false) @EnableHypermediaSupport(type = { HypermediaType.HAL, HypermediaType.HAL_FORMS }) -@ImportResource("classpath*:META-INF/spring-data-rest/**/*.xml") @Import({ RestControllerImportSelector.class, // SpringDataJacksonConfiguration.class, // EnableSpringDataWebSupport.QuerydslActivator.class })