This is an automated email from the ASF dual-hosted git repository.
ahuber pushed a commit to branch jpa-SNAPSHOT
in repository https://gitbox.apache.org/repos/asf/causeway-app-simpleapp.git
The following commit(s) were added to refs/heads/jpa-SNAPSHOT by this push:
new 4da7fb8 fixes syntax error in application.yml
4da7fb8 is described below
commit 4da7fb89a37db1bc655bbbbd2bc298e0b36a6d2c
Author: Andi Huber <[email protected]>
AuthorDate: Thu May 11 06:24:43 2023 +0200
fixes syntax error in application.yml
---
webapp/pom.xml | 5 +++++
webapp/src/main/resources/application.yml | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/webapp/pom.xml b/webapp/pom.xml
index b0ca450..2e8d4e1 100644
--- a/webapp/pom.xml
+++ b/webapp/pom.xml
@@ -17,6 +17,11 @@
</description>
<packaging>jar</packaging>
+
+ <properties>
+ <!--
https://stackoverflow.com/questions/38983934/cannot-get-maven-project-version-property-in-a-spring-application-with-value/38983935#38983935
-->
+ <resource.delimiter>^</resource.delimiter>
+ </properties>
<build>
<resources>
diff --git a/webapp/src/main/resources/application.yml
b/webapp/src/main/resources/application.yml
index 2e4892d..456dae6 100644
--- a/webapp/src/main/resources/application.yml
+++ b/webapp/src/main/resources/application.yml
@@ -62,7 +62,7 @@ causeway:
menubars-layout-file: menubars.layout.xml
name: Simple App
# https://stackoverflow.com/a/38983935/56880
- version: @project.version@
+ version: ^project.version^
credit:
- url: https://causeway.apache.org
image: images/apache-causeway/logo-65x48.png