Introduce deployment profiles as a cheap way for multi-tenancy

This commit is contained in:
2019-07-08 23:30:35 +02:00
parent 29096f4eba
commit 6b7fdb126a
8 changed files with 24 additions and 12 deletions

View File

@@ -27,6 +27,7 @@
paths. Default is the artifactId, the build-war profile defines its own default.
Can be changed at build time via 'mvn ... -DfinalName=financer ...-->
<finalName>${project.artifactId}</finalName>
<deploymentProfile>mk</deploymentProfile>
</properties>
<dependencies>
@@ -85,11 +86,11 @@
<id>build-war</id>
<properties>
<packaging.type>war</packaging.type>
<activeProfiles>postgres</activeProfiles>
<activeProfiles>${deploymentProfile}</activeProfiles>
<finalName>financer</finalName>
</properties>
<build>
<finalName>${finalName}##${parallelDeploymentVersion}</finalName>
<finalName>${finalName}-${deploymentProfile}##${parallelDeploymentVersion}</finalName>
</build>
<dependencies>
<dependency>