From 4f1964e096e64431ac01ad4472f844592a35361b Mon Sep 17 00:00:00 2001 From: Oliver Bertuch Date: Mon, 20 Jun 2022 17:42:19 +0200 Subject: [PATCH] feat(settings): add Dataverse version to MPCONFIG #7000 To simplify SystemConfig.getVersion, the MicroProfile Config property dataverse.version is set to the Maven project version via filtering the variable. --- src/main/resources/META-INF/microprofile-config.properties | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/resources/META-INF/microprofile-config.properties b/src/main/resources/META-INF/microprofile-config.properties index 09d71dfbf3a..16298d83118 100644 --- a/src/main/resources/META-INF/microprofile-config.properties +++ b/src/main/resources/META-INF/microprofile-config.properties @@ -1,3 +1,8 @@ +# GENERAL +# Will be replaced by Maven property in /target via filtering (see ) +dataverse.version=${project.version} +dataverse.build= + # DATABASE dataverse.db.host=localhost dataverse.db.port=5432