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:
@@ -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 })
|
||||
|
||||
Reference in New Issue
Block a user