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

@@ -18,7 +18,7 @@
<properties>
<packaging.type>jar</packaging.type>
<activeProfiles>hsqldb,dev</activeProfiles>
<db.name>financer</db.name>
<deploymentProfile>mk</deploymentProfile>
</properties>
<dependencies>
@@ -111,10 +111,10 @@
<id>build-war</id>
<properties>
<packaging.type>war</packaging.type>
<activeProfiles>postgres</activeProfiles>
<activeProfiles>postgres,${deploymentProfile}</activeProfiles>
</properties>
<build>
<finalName>${project.artifactId}##${parallelDeploymentVersion}</finalName>
<finalName>${project.artifactId}-${deploymentProfile}##${parallelDeploymentVersion}</finalName>
</build>
<dependencies>
<dependency>