Skip to content

Commit

Permalink
feat(settings): add Dataverse version to MPCONFIG IQSS#7000
Browse files Browse the repository at this point in the history
To simplify SystemConfig.getVersion, the MicroProfile Config
property dataverse.version is set to the Maven project version
via filtering the variable.
  • Loading branch information
poikilotherm committed Jun 20, 2022
1 parent 5e63b0f commit 4f1964e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/resources/META-INF/microprofile-config.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# GENERAL
# Will be replaced by Maven property in /target via filtering (see <build><resources><resource>)
dataverse.version=${project.version}
dataverse.build=

# DATABASE
dataverse.db.host=localhost
dataverse.db.port=5432
Expand Down

0 comments on commit 4f1964e

Please sign in to comment.