#2401 - Fix EbeanVersion for use in module-path (reads local ebean-api pom.properties)

This commit is contained in:
Rob Bygrave
2021-09-29 11:14:26 +13:00
parent 3971ccea1a
commit b23551ce43
@@ -20,7 +20,7 @@ public class EbeanVersion {
static {
try {
Properties prop = new Properties();
try (InputStream in = DB.class.getResourceAsStream("/META-INF/maven/io.ebean/ebean/pom.properties")) {
try (InputStream in = DB.class.getResourceAsStream("/META-INF/maven/io.ebean/ebean-api/pom.properties")) {
if (in != null) {
prop.load(in);
in.close();