branch feature/3653 created (now 9a03a81)
This is an automated email from the git hooks/post-receive script. New change to branch feature/3653 in repository topia. See http://git.nuiton.org/topia.git at 9a03a81 Updates to Flyway 3.2 and remove deprecated method usages This branch includes the following new commits: new 9a03a81 Updates to Flyway 3.2 and remove deprecated method usages The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Detailed log of new commits: commit 9a03a8173f0c1436151b094e7a48c34f80f737f2 Author: Brendan Le Ny <bleny@codelutin.com> Date: Wed Mar 25 16:18:04 2015 +0100 Updates to Flyway 3.2 and remove deprecated method usages -- To stop receiving notification emails like this one, please contact nuiton.org SCM administrator <admin+scm@nuiton.org>.
This is an automated email from the git hooks/post-receive script. New commit to branch feature/3653 in repository topia. See http://git.nuiton.org/topia.git commit 9a03a8173f0c1436151b094e7a48c34f80f737f2 Author: Brendan Le Ny <bleny@codelutin.com> Date: Wed Mar 25 16:18:04 2015 +0100 Updates to Flyway 3.2 and remove deprecated method usages --- pom.xml | 2 +- .../main/java/org/nuiton/topia/flyway/TopiaFlywayServiceImpl.java | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index 23d8533..f068f01 100644 --- a/pom.xml +++ b/pom.xml @@ -235,7 +235,7 @@ <!-- libs version --> <commonsLoggingVersion>1.2</commonsLoggingVersion> <eugeneVersion>2.13</eugeneVersion> - <flywayVersion>3.1</flywayVersion> + <flywayVersion>3.2</flywayVersion> <guavaVersion>18.0</guavaVersion> <h2Version>1.4.184</h2Version> <hamcrestVersion>1.3</hamcrestVersion> diff --git a/topia-service-flyway/src/main/java/org/nuiton/topia/flyway/TopiaFlywayServiceImpl.java b/topia-service-flyway/src/main/java/org/nuiton/topia/flyway/TopiaFlywayServiceImpl.java index 15acc9e..993421b 100644 --- a/topia-service-flyway/src/main/java/org/nuiton/topia/flyway/TopiaFlywayServiceImpl.java +++ b/topia-service-flyway/src/main/java/org/nuiton/topia/flyway/TopiaFlywayServiceImpl.java @@ -260,7 +260,7 @@ public class TopiaFlywayServiceImpl implements TopiaFlywayService { log.info("baseline flyway to version " + baselineVersion); } - flyway.setBaselineVersion(baselineVersion); + flyway.setBaselineVersionAsString(baselineVersion); flyway.setBaselineDescription("schema creation called on application context by topia flyway service"); flyway.baseline(); @@ -286,7 +286,7 @@ public class TopiaFlywayServiceImpl implements TopiaFlywayService { log.debug("schema exists, will ask flyway to init if necessary to version " + flywayBaselineVersion); } flyway.setBaselineOnMigrate(true); - flyway.setBaselineVersion(flywayBaselineVersion); + flyway.setBaselineVersionAsString(flywayBaselineVersion); } if (useModelVersion) { @@ -296,7 +296,7 @@ public class TopiaFlywayServiceImpl implements TopiaFlywayService { log.info("schema exists, will run flyway migration up to target version " + targetVersion); } - flyway.setTarget(targetVersion); + flyway.setTargetAsString(targetVersion); } else { if (log.isInfoEnabled()) { -- To stop receiving notification emails like this one, please contact nuiton.org SCM administrator <admin+scm@nuiton.org>.
participants (1)
-
nuiton.org scm