<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>

  <parent>
    <groupId>org.heigit.ohsome</groupId>
    <artifactId>ohsome-parent</artifactId>
    <version>2.14.0</version>
  </parent>

  <artifactId>oshdb-parent</artifactId>
  <version>1.2.2</version>
  <name>OSHDB parent module</name>
  <description>Common dependencies, settings and profiles that are shared by all components of the OSHDB</description>
  <packaging>pom</packaging>

  <scm>
    <connection>scm:git:git@github.com/GIScience/oshdb.git</connection>
    <developerConnection>scm:git:git@github.com/GIScience/oshdb.git</developerConnection>
    <url>https://github.com/GIScience/oshdb</url>
  </scm>

  <modules>
    <module>oshdb</module>
    <module>oshdb-util</module>
    <module>oshdb-oshpbf-parser</module>
    <module>oshdb-filter</module>
    <module>oshdb-api</module>
    <module>oshdb-api-ignite</module>
    <module>oshdb-tool</module>
    <module>oshdb-helpers</module>
  </modules>

  <properties>
    <guava.version>33.0.0-jre</guava.version>
    <jts.version>1.19.0</jts.version>
    <!-- h2.version has to be in sync with ignite.version -->
    <h2.version>1.4.197</h2.version>
    <postgresql.version>42.6.0</postgresql.version>
    <slf4j.version>1.7.36</slf4j.version>
    <junit.version>5.9.2</junit.version>
    <jetbrainsannotations.version>24.0.1</jetbrainsannotations.version>
    
    <sonar.moduleKey>${project.artifactId}</sonar.moduleKey>
    <sonar.projectKey>${project.groupId}:oshdb</sonar.projectKey>
    <sonar.projectName>OSHDB</sonar.projectName>
  </properties>

  <dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>org.slf4j</groupId>
        <artifactId>slf4j-api</artifactId>
        <version>${slf4j.version}</version>
      </dependency>
      <dependency>
        <groupId>org.slf4j</groupId>
        <artifactId>slf4j-log4j12</artifactId>
        <version>${slf4j.version}</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.junit</groupId>
        <artifactId>junit-bom</artifactId>
        <version>${junit.version}</version>
        <type>pom</type>
        <scope>import</scope>
      </dependency>
    </dependencies>
  </dependencyManagement>
  
  <dependencies>
    <!-- TEST dependencies -->
    <dependency>
      <groupId>org.junit.jupiter</groupId>
      <artifactId>junit-jupiter</artifactId>
      <scope>test</scope>
    </dependency>
  </dependencies>

  <repositories>
    <repository>
      <id>heigit-nexus-public</id>
      <name>HeiGIT maven repositories</name>
      <url>https://nexus.heigit.org/repository/maven-public/</url>
    </repository>
  </repositories>

  <issueManagement>
    <system>GitHub</system>
    <url>https://github.com/GIScience/oshdb/issues</url>
  </issueManagement>
</project>
