From 7e3614e6e08fb8096e36e5339eff4697fbcc0132 Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Fri, 2 May 2014 15:15:39 +0100 Subject: [PATCH] Fix samples that need jdbc and don't import it --- spring-boot-samples/spring-boot-sample-flyway/pom.xml | 2 +- ...eApplicationTests.java => SampleFlywayApplicationTests.java} | 2 +- spring-boot-samples/spring-boot-sample-liquibase/pom.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename spring-boot-samples/spring-boot-sample-flyway/src/test/java/sample/flyway/{SampleLiquibaseApplicationTests.java => SampleFlywayApplicationTests.java} (96%) diff --git a/spring-boot-samples/spring-boot-sample-flyway/pom.xml b/spring-boot-samples/spring-boot-sample-flyway/pom.xml index 41177c04db..d5a78c24a0 100644 --- a/spring-boot-samples/spring-boot-sample-flyway/pom.xml +++ b/spring-boot-samples/spring-boot-sample-flyway/pom.xml @@ -21,7 +21,7 @@ org.springframework.boot - spring-boot-starter + spring-boot-starter-jdbc com.googlecode.flyway diff --git a/spring-boot-samples/spring-boot-sample-flyway/src/test/java/sample/flyway/SampleLiquibaseApplicationTests.java b/spring-boot-samples/spring-boot-sample-flyway/src/test/java/sample/flyway/SampleFlywayApplicationTests.java similarity index 96% rename from spring-boot-samples/spring-boot-sample-flyway/src/test/java/sample/flyway/SampleLiquibaseApplicationTests.java rename to spring-boot-samples/spring-boot-sample-flyway/src/test/java/sample/flyway/SampleFlywayApplicationTests.java index a9bb8c96c5..943e12eff6 100644 --- a/spring-boot-samples/spring-boot-sample-flyway/src/test/java/sample/flyway/SampleLiquibaseApplicationTests.java +++ b/spring-boot-samples/spring-boot-sample-flyway/src/test/java/sample/flyway/SampleFlywayApplicationTests.java @@ -27,7 +27,7 @@ import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @RunWith(SpringJUnit4ClassRunner.class) @SpringApplicationConfiguration(classes=SampleFlywayApplication.class) -public class SampleLiquibaseApplicationTests { +public class SampleFlywayApplicationTests { @Autowired private JdbcTemplate template; diff --git a/spring-boot-samples/spring-boot-sample-liquibase/pom.xml b/spring-boot-samples/spring-boot-sample-liquibase/pom.xml index 0857f90fb1..9fb58e3f18 100644 --- a/spring-boot-samples/spring-boot-sample-liquibase/pom.xml +++ b/spring-boot-samples/spring-boot-sample-liquibase/pom.xml @@ -21,7 +21,7 @@ org.springframework.boot - spring-boot-starter + spring-boot-starter-jdbc org.liquibase