diff --git a/src/main/java/io/debezium/connector/db2/Module.java b/src/main/java/io/debezium/connector/db2/Module.java index b6bd4e8..5d2c311 100644 --- a/src/main/java/io/debezium/connector/db2/Module.java +++ b/src/main/java/io/debezium/connector/db2/Module.java @@ -5,9 +5,7 @@ */ package io.debezium.connector.db2; -import java.util.Properties; - -import io.debezium.util.IoUtil; +import io.debezium.util.VersionParser; /** * Information about this module. @@ -16,10 +14,8 @@ */ public final class Module { - private static final Properties INFO = IoUtil.loadProperties(Module.class, "io/debezium/connector/db2/build.version"); - public static String version() { - return INFO.getProperty("version"); + return VersionParser.getVersion(); } /** diff --git a/src/main/resources/io/debezium/connector/db2/build.version b/src/main/resources/io/debezium/connector/db2/build.version deleted file mode 100644 index e5683df..0000000 --- a/src/main/resources/io/debezium/connector/db2/build.version +++ /dev/null @@ -1 +0,0 @@ -version=${project.version} \ No newline at end of file