Skip to content

Commit 4509a3f

Browse files
authored
feat: Adapt to a new auto configuration in Spring Boot (#14659)
Spring Boot introduced a new location for auto configuration entries in spring boot 2.7.0. The new location is META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports. This has until spring boot 3.0.0-M5 worked in parallel with the spring.factories configuration. The spring.factories support was removed in spring boot 3.0.0-M5 so this move has to be done now in order for the auto configuration to be picked up. Fixes #14628 Picked to master from #14629 Co-authored-by: @aspan
1 parent 5073899 commit 4509a3f

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
org.springframework.boot.autoconfigure.EnableAutoConfiguration=com.vaadin.flow.spring.SpringBootAutoConfiguration,com.vaadin.flow.spring.SpringSecurityAutoConfiguration,com.vaadin.flow.spring.VaadinScopesConfig
21
org.springframework.boot.SpringApplicationRunListener=com.vaadin.flow.spring.DevModeBrowserLauncher
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
com.vaadin.flow.spring.SpringBootAutoConfiguration
2+
com.vaadin.flow.spring.SpringSecurityAutoConfiguration
3+
com.vaadin.flow.spring.VaadinScopesConfig

0 commit comments

Comments
 (0)