From 1eccafdd12cd8a8564808a2d0ab025efc56404b7 Mon Sep 17 00:00:00 2001 From: Raja Kolli Date: Fri, 24 May 2024 11:40:34 +0000 Subject: [PATCH] fix : issue with flyway 10 If upgrading to Spring Boot 3.3.0 or Flyway 10 in general, be aware that you must add an extra dependency for the database you are using, as this was extracted from the flyway-core. For example: org.flywaydb:flyway-database-postgresql --- boot-rest-docs-sample/pom.xml | 6 +++++- r2dbc/boot-jooq-r2dbc-sample/pom.xml | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/boot-rest-docs-sample/pom.xml b/boot-rest-docs-sample/pom.xml index d5d9944ca..676fd1429 100644 --- a/boot-rest-docs-sample/pom.xml +++ b/boot-rest-docs-sample/pom.xml @@ -7,7 +7,7 @@ org.springframework.boot spring-boot-starter-parent - 3.2.6 + 3.3.0 com.example.restdocs @@ -85,6 +85,10 @@ org.flywaydb flyway-core + + org.flywaydb + flyway-database-postgresql + org.springdoc springdoc-openapi-starter-webmvc-ui diff --git a/r2dbc/boot-jooq-r2dbc-sample/pom.xml b/r2dbc/boot-jooq-r2dbc-sample/pom.xml index 720b79e20..2155a0815 100644 --- a/r2dbc/boot-jooq-r2dbc-sample/pom.xml +++ b/r2dbc/boot-jooq-r2dbc-sample/pom.xml @@ -5,7 +5,7 @@ org.springframework.boot spring-boot-starter-parent - 3.2.6 + 3.3.0 com.example.jooq.r2dbc @@ -100,6 +100,10 @@ org.flywaydb flyway-core + + org.flywaydb + flyway-database-postgresql + org.springdoc springdoc-openapi-starter-webflux-ui