Select active Spring profile based on Maven profile
build-war uses the Spring postgres profile, default is hsqldb and dev
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
###
|
||||
### This is the main configuration file of the application
|
||||
###
|
||||
### This is the main configuration file of the application.
|
||||
### Filtering of the @...@ values happens via the maven-resource-plugin. The execution of the plugin is configured in
|
||||
### the Spring Boot parent POM.
|
||||
|
||||
spring.profiles.active=hsqldb,dev
|
||||
spring.profiles.active=@activeProfiles@
|
||||
|
||||
server.servlet.context-path=/financer
|
||||
|
||||
|
||||
Reference in New Issue
Block a user