diff --git a/pom.xml b/pom.xml index bcd1179f..0eca3581 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.commafeed commafeed - 0.0.1-SNAPSHOT + 1.0.0 war CommaFeed @@ -161,6 +161,22 @@ + + pl.project13.maven + git-commit-id-plugin + 2.1.5 + + + + revision + + + + + false + false + + diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index e1bf01d2..71f55473 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,2 +1,4 @@ +version=${project.version} production=${production} -datasource=${jpa.datasource.name} \ No newline at end of file +datasource=${jpa.datasource.name} +git.commit=${git.commit.id.abbrev} \ No newline at end of file