<?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/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>org.exoplatform.addons.bluemind</groupId>
    <artifactId>bluemind-parent</artifactId>
    <version>7.3.0</version>
  </parent>
  <artifactId>bluemind-services</artifactId>
  <name>eXo BlueMind Integration - services</name>
  <properties>
    <exo.test.coverage.ratio>0.90</exo.test.coverage.ratio>
  </properties>
  <dependencies>
    <dependency>
      <groupId>${project.groupId}</groupId>
      <artifactId>bluemind-client</artifactId>
    </dependency>
    <dependency>
      <groupId>io.meeds.social</groupId>
      <artifactId>social-component-api</artifactId>
    </dependency>
    <dependency>
      <groupId>io.meeds.social</groupId>
      <artifactId>social-component-core</artifactId>
    </dependency>
    <dependency>
      <groupId>io.meeds.social</groupId>
      <artifactId>social-component-service</artifactId>
    </dependency>

    <!-- The calendar host the calendar contributions plug into, and the
         credentials service their logins are produced from: provided, because
         the host's jars are already on the server's shared classpath and the
         add-on must never ship a second copy. Every contribution is guarded
         by @ConditionalOnClass on its host type, so the add-on boots without
         the calendar host. -->
    <dependency>
      <groupId>org.exoplatform.addons.caldav</groupId>
      <artifactId>caldav-api</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.addons.caldav</groupId>
      <artifactId>caldav-services</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.agenda</groupId>
      <artifactId>agenda-api</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.exoplatform.commons-exo</groupId>
      <artifactId>exo.core.component.connector.credentials</artifactId>
      <scope>provided</scope>
    </dependency>
    <!-- The mail host the automatic-reply engine plugs into: provided, for the
         same reason as the calendar host's jars. The engine and its transport are
         guarded by @ConditionalOnClass on the host's engine SPI, so the add-on
         boots without the mail host. -->
    <dependency>
      <groupId>org.exoplatform.addons.email-connector</groupId>
      <artifactId>email-connector-services</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>tools.jackson.core</groupId>
      <artifactId>jackson-databind</artifactId>
      <scope>provided</scope>
    </dependency>

    <!-- Test scope -->
    <!-- The Kernel/Spring bridge's proxy factory, which the precedence test
         exports the add-on's contributions through, as the platform does.
         Provided rather than test: the AspectJ weaving of the parent POM reads
         this artifact as its aspect library at compile time. -->
    <dependency>
      <groupId>io.meeds.portal</groupId>
      <artifactId>portal.component.common</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>io.meeds.social</groupId>
      <artifactId>social-component-service</artifactId>
      <type>test-jar</type>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.junit.jupiter</groupId>
      <artifactId>junit-jupiter-engine</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.junit.platform</groupId>
      <artifactId>junit-platform-launcher</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.springframework.boot</groupId>
      <artifactId>spring-boot-starter-test</artifactId>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <groupId>com.vaadin.external.google</groupId>
          <artifactId>android-json</artifactId>
        </exclusion>
      </exclusions>
    </dependency>
  </dependencies>

  <build>
    <finalName>bluemind-services</finalName>
  </build>
</project>
