Skip to content

Commit 9f8071a

Browse files
committed
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.
1 parent 4b36f79 commit 9f8071a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/config/RepositoryRestMvcConfiguration.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,6 @@
146146
*/
147147
@Configuration(proxyBeanMethods = false)
148148
@EnableHypermediaSupport(type = { HypermediaType.HAL, HypermediaType.HAL_FORMS })
149-
@ImportResource("classpath*:META-INF/spring-data-rest/**/*.xml")
150149
@Import({ RestControllerImportSelector.class, //
151150
SpringDataJacksonConfiguration.class, //
152151
EnableSpringDataWebSupport.QuerydslActivator.class })

0 commit comments

Comments
 (0)