Change the default JTE templates to be pre-compiled and switch to development mode only in the "dev" profile.

This is done so that the default artifact produced my `mvnw package` works out of the box without explicitly changing to pre-compiled templates.
This commit is contained in:
Andreas Svanberg 2025-04-15 13:50:40 +02:00
parent 14f7ca66cb
commit 09f2fe9430
Signed by: ansv7779
GPG Key ID: 2D081222BBEB56A3
2 changed files with 5 additions and 2 deletions

@ -1,2 +1,5 @@
se.su.dsv.oauth2.admin-entitlement=oauth2-admin
se.su.dsv.oauth2.developer-entitlement=oauth2-developer
gg.jte.templateLocation=src/main/resources/templates
gg.jte.developmentMode=true
gg.jte.usePrecompiledTemplates=false

@ -16,5 +16,5 @@ spring:
baseline-on-migrate: true
gg:
jte:
templateLocation: src/main/resources/templates
developmentMode: true
developmentMode: false
usePrecompiledTemplates: true