Commit 11d5ec65 by 钟明宏

升级版本为6.0.9-RELEASE

parent e378cccf
......@@ -4,11 +4,14 @@
<parent>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-parent</artifactId>
<version>0-SNAPSHOT</version>
<version>0</version>
</parent>
<artifactId>flyway-core</artifactId>
<packaging>jar</packaging>
<artifactId>flyway-core</artifactId>
<version>6.0.9-RELEASE</version>
<name>${project.artifactId}</name>
<dependencies>
<dependency>
<groupId>org.slf4j</groupId>
......
......@@ -33,20 +33,7 @@ public class VersionPrinter {
private static final String version = readVersion();
private static boolean printed;
public static final Edition EDITION =
Edition.COMMUNITY
;
public static final Edition EDITION = Edition.COMMUNITY;
/**
* Prevents instantiation.
......@@ -61,64 +48,19 @@ public class VersionPrinter {
public static void printVersion(
) {
if (printed) {
return;
}
printed = true;
printVersionOnly();
}
public static void printVersionOnly() {
LOG.info(EDITION + " " + version + " by Redgate");
}
private static String readVersion() {
try {
return FileCopyUtils.copyToString(
......
......@@ -9,7 +9,7 @@
<groupId>org.flywaydb</groupId>
<artifactId>flyway-parent</artifactId>
<version>0-SNAPSHOT</version>
<version>0</version>
<packaging>pom</packaging>
<name>${project.artifactId}</name>
<description>Flyway: Database Migrations Made Easy.</description>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment