<?xml version="1.0" encoding="UTF-8"?>
<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>
  <groupId>eu.dnetlib</groupId>
  <artifactId>uoa-validator-engine2</artifactId>
  <version>2.3.3</version>
  <packaging>jar</packaging>

  <scm>
    <developerConnection>scm:git:gitea@code-repo.d4science.org:MaDgIK/uoa-validator-engine2.git</developerConnection>
    <tag>uoa-validator-engine2-2.3.3</tag>
  </scm>

  <properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
    <java.version>1.8</java.version>
<!--    <timestamp>${maven.build.timestamp}</timestamp>-->
<!--    <maven.build.timestamp.format>E MMM dd HH:mm:ss z yyyy</maven.build.timestamp.format>-->
  </properties>


  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>3.12.1</version>
        <configuration>
          <!-- or whatever version you use -->
          <source>1.8</source>
          <target>1.8</target>
          <encoding>UTF-8</encoding>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-war-plugin</artifactId>
        <version>3.4.0</version>
        <configuration>
          <failOnMissingWebXml>false</failOnMissingWebXml>
        </configuration>
      </plugin>

      <!--<plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <version>3.2.5</version>
        <configuration>
        </configuration>
      </plugin>-->
    </plugins>
  </build>

  <distributionManagement>
    <repository>
      <id>dnet45-releases</id>
      <name>D-Net 45 releases</name>
      <url>https://maven.d4science.org/nexus/content/repositories/dnet45-releases</url>
    </repository>
    <snapshotRepository>
      <id>dnet45-snapshots</id>
      <name>D-Net 45 snapshots</name>
      <url>https://maven.d4science.org/nexus/content/repositories/dnet45-snapshots</url>
    </snapshotRepository>
  </distributionManagement>


  <dependencies>

    <dependency>
      <groupId>eu.dnetlib</groupId>
      <artifactId>uoa-validator-engine2-result-models</artifactId>
      <version>2.2.0</version> <!-- It starts from the same version as this project, but will be updated at different times in the future. -->
      <!-- Use the following only for testing dev-changes. -->
      <!-- <scope>system</scope>
      <systemPath>${project.basedir}/lib/uoa-validator-engine2-result-models-2.1.1-SNAPSHOT.jar</systemPath>-->
    </dependency>

    <dependency>
      <groupId>commons-io</groupId>
      <artifactId>commons-io</artifactId>
      <version>2.21.0</version>
      <scope>compile</scope>
    </dependency>

    <dependency>
      <groupId>com.google.guava</groupId>
      <artifactId>guava</artifactId>
      <version>33.5.0-jre</version>
      <scope>compile</scope>
    </dependency>

    <!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-api -->
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-api</artifactId>
      <version>1.7.36</version>
    </dependency>

    <!-- logback versions >= 1.4.X require Java-11 -->
    <!-- logback versions 1.3.X require Java-8, but if this project is added as Dependency in a Spring Boot 2 app, then Spring Boot 2 throws an error, since it does not support logback 1.3.x -->

    <!-- https://mvnrepository.com/artifact/ch.qos.logback/logback-core -->
    <dependency>
      <groupId>ch.qos.logback</groupId>
      <artifactId>logback-core</artifactId>
      <version>1.2.13</version>
    </dependency>

    <!-- https://mvnrepository.com/artifact/ch.qos.logback/logback-classic -->
    <dependency>
      <groupId>ch.qos.logback</groupId>
      <artifactId>logback-classic</artifactId>
      <version>1.2.13</version>
    </dependency>

    <!-- https://mvnrepository.com/artifact/com.google.code.gson/gson -->
    <dependency>
      <groupId>com.google.code.gson</groupId>
      <artifactId>gson</artifactId>
      <version>2.13.2</version>
      <scope>test</scope>
    </dependency>

  </dependencies>

</project>
