Skip to content
Snippets Groups Projects
Commit f2e0b893 authored by Sonia Zorba's avatar Sonia Zorba
Browse files

Added Maven profiles for loading io.zonky.test.postgres dependency dinamically...

Added Maven profiles for loading io.zonky.test.postgres dependency dinamically according to detected OS
parent 6af38eda
Branches
No related tags found
No related merge requests found
Pipeline #845 passed
......@@ -19,6 +19,7 @@
<!-- File catalog repository directory -->
<init_database_scripts_path>../../../vospace-file-catalog</init_database_scripts_path>
<finalName>${project.artifactId}-${project.version}</finalName>
<zonky.postgres-binaries.version>12.5.0</zonky.postgres-binaries.version>
</properties>
<dependencies>
......@@ -96,21 +97,43 @@
<version>0.13.3</version>
<scope>test</scope>
</dependency>
</dependencies>
<profiles>
<profile>
<id>platform-linux</id>
<activation>
<os>
<family>unix</family>
</os>
</activation>
<dependencies>
<dependency>
<groupId>io.zonky.test.postgres</groupId>
<artifactId>embedded-postgres-binaries-linux-amd64</artifactId>
<version>12.5.0</version>
<version>${zonky.postgres-binaries.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
</profile>
<profile>
<id>platform-windows</id>
<activation>
<os>
<family>windows</family>
</os>
</activation>
<dependencies>
<dependency>
<groupId>io.zonky.test.postgres</groupId>
<artifactId>embedded-postgres-binaries-windows-amd64</artifactId>
<version>12.5.0</version>
<version>${zonky.postgres-binaries.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
</profile>
</profiles>
<repositories>
<repository>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment