diff --git a/spring-boot-autoconfigure/pom.xml b/spring-boot-autoconfigure/pom.xml
index 891184be9d..d644819acd 100644
--- a/spring-boot-autoconfigure/pom.xml
+++ b/spring-boot-autoconfigure/pom.xml
@@ -38,7 +38,7 @@
true
- com.googlecode.flyway
+ org.flywaydb
flyway-core
true
diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/flyway/FlywayAutoConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/flyway/FlywayAutoConfiguration.java
index 3aa3be768a..036df46e65 100644
--- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/flyway/FlywayAutoConfiguration.java
+++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/flyway/FlywayAutoConfiguration.java
@@ -19,6 +19,7 @@ package org.springframework.boot.autoconfigure.flyway;
import javax.annotation.PostConstruct;
import javax.sql.DataSource;
+import org.flywaydb.core.Flyway;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.AutoConfigureAfter;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
@@ -35,8 +36,6 @@ import org.springframework.core.io.Resource;
import org.springframework.core.io.ResourceLoader;
import org.springframework.util.Assert;
-import com.googlecode.flyway.core.Flyway;
-
/**
* {@link EnableAutoConfiguration Auto-configuration} for Flyway database migrations.
*
diff --git a/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/flyway/FlywayAutoConfigurationTests.java b/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/flyway/FlywayAutoConfigurationTests.java
index 0fdfc0f120..088c0ac9db 100644
--- a/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/flyway/FlywayAutoConfigurationTests.java
+++ b/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/flyway/FlywayAutoConfigurationTests.java
@@ -18,6 +18,7 @@ package org.springframework.boot.autoconfigure.flyway;
import java.util.Arrays;
+import org.flywaydb.core.Flyway;
import org.junit.After;
import org.junit.Before;
import org.junit.Rule;
@@ -30,8 +31,6 @@ import org.springframework.boot.autoconfigure.liquibase.LiquibaseAutoConfigurati
import org.springframework.boot.test.EnvironmentTestUtils;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
-import com.googlecode.flyway.core.Flyway;
-
import static org.junit.Assert.assertEquals;
/**
diff --git a/spring-boot-dependencies/pom.xml b/spring-boot-dependencies/pom.xml
index c548cb82a1..d03c35d8cd 100644
--- a/spring-boot-dependencies/pom.xml
+++ b/spring-boot-dependencies/pom.xml
@@ -51,7 +51,7 @@
1.4
1.6
1.3.0-beta14
- 2.2.1
+ 3.0
2.3.20
7.0.1
1.6
@@ -148,7 +148,7 @@
${jackson.version}
- com.googlecode.flyway
+ org.flywaydb
flyway-core
${flyway.version}
diff --git a/spring-boot-samples/spring-boot-sample-flyway/pom.xml b/spring-boot-samples/spring-boot-sample-flyway/pom.xml
index d5a78c24a0..ea617474cc 100644
--- a/spring-boot-samples/spring-boot-sample-flyway/pom.xml
+++ b/spring-boot-samples/spring-boot-sample-flyway/pom.xml
@@ -1,5 +1,6 @@
-
+
4.0.0
@@ -24,7 +25,7 @@
spring-boot-starter-jdbc
- com.googlecode.flyway
+ org.flywaydb
flyway-core