TSK-790 Fix postgres profile properties reading in pom file

This commit is contained in:
Martin Rojas Miguel Angel 2019-02-19 15:46:50 +01:00 committed by Holger Hagen
parent 0e8d6da605
commit a8792f6ec9
2 changed files with 24 additions and 24 deletions

View File

@ -66,19 +66,6 @@
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>properties-maven-plugin</artifactId>
<version>1.0-alpha-2</version>
<executions>
<execution>
<phase>initialize</phase>
<goals>
<goal>read-project-properties</goal>
</goals>
<configuration>
<properties>
<driver-class>${jdbcDriver}</driver-class>
<connection-url>${jdbcUrl}</connection-url>
@ -87,6 +74,19 @@
<password>${dbPassword}</password>
<activatedProperties>postgres</activatedProperties>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>properties-maven-plugin</artifactId>
<version>1.0.0</version>
<executions>
<execution>
<phase>initialize</phase>
<goals>
<goal>read-project-properties</goal>
</goals>
<configuration>
<files>
<file>${user.home}/taskanaUnitTest.properties</file>
</files>