You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Preserve nested Flyway migration paths in native images
Preserve the classpath-relative path for Flyway migrations discovered by the native image resource provider so nested migrations remain readable.
See gh-50422
Signed-off-by: Dongliang Xie <dragonfsky@gmail.com>
Copy file name to clipboardExpand all lines: module/spring-boot-flyway/src/main/java/org/springframework/boot/flyway/autoconfigure/NativeImageResourceProvider.java
+55-5Lines changed: 55 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,7 @@
18
18
19
19
importjava.io.IOException;
20
20
importjava.io.UncheckedIOException;
21
+
importjava.net.URI;
21
22
importjava.nio.charset.Charset;
22
23
importjava.util.ArrayList;
23
24
importjava.util.Collection;
@@ -46,6 +47,7 @@
46
47
* {@link PathMatchingResourcePatternResolver} to find migration files in a native image.
Copy file name to clipboardExpand all lines: module/spring-boot-flyway/src/test/java/org/springframework/boot/flyway/autoconfigure/NativeImageResourceProviderCustomizerTests.java
0 commit comments