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.
This commit is contained in:
Oliver Drotbohm
2021-03-26 13:54:13 +01:00
parent 4b36f794dc
commit 9f8071a0d7

View File

@@ -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 })