<?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>
  <parent>
    <artifactId>addons-exo-parent-pom</artifactId>
    <groupId>org.exoplatform.addons</groupId>
    <version>21-M01</version>
    <relativePath />
  </parent>
  <groupId>org.exoplatform.addons.bluemind</groupId>
  <artifactId>bluemind-parent</artifactId>
  <version>7.3.0</version>
  <packaging>pom</packaging>
  <name>eXo BlueMind Integration</name>
  <modules>
    <module>client</module>
    <module>services</module>
    <module>webapp</module>
    <module>packaging</module>
  </modules>
  <properties>
    <io.meeds.social.version>7.3.0-M19</io.meeds.social.version>
    <addon.exo.caldav-integration.version>7.3.0-M19</addon.exo.caldav-integration.version>
    <addon.exo.email-connector.version>7.3.0-M19</addon.exo.email-connector.version>
    
    <exo.snapshots.repo.url>https://repository.exoplatform.org/content/repositories/exo-private-snapshots</exo.snapshots.repo.url>
    
  </properties>
  <dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>io.meeds.social</groupId>
        <artifactId>social</artifactId>
        <version>${io.meeds.social.version}</version>
        <type>pom</type>
        <scope>import</scope>
      </dependency>
      <!-- The calendar host: its SPIs, and through its BOM agenda's and commons-exo's
           versions (the credentials service the calendar contributions produce
           their logins from). Every host artifact is provided: the add-on never
           ships a host jar. -->
      <dependency>
        <groupId>org.exoplatform.addons.caldav</groupId>
        <artifactId>caldav-parent</artifactId>
        <version>${addon.exo.caldav-integration.version}</version>
        <type>pom</type>
        <scope>import</scope>
      </dependency>
      <!-- The mail host: the server-rule engine SPI the automatic-reply engine
           plugs into. Provided like every host artifact. -->
      <dependency>
        <groupId>org.exoplatform.addons.email-connector</groupId>
        <artifactId>email-connector-parent</artifactId>
        <version>${addon.exo.email-connector.version}</version>
        <type>pom</type>
        <scope>import</scope>
      </dependency>

      <dependency>
        <groupId>${project.groupId}</groupId>
        <artifactId>bluemind-client</artifactId>
        <version>${project.version}</version>
      </dependency>
      <dependency>
        <groupId>${project.groupId}</groupId>
        <artifactId>bluemind-services</artifactId>
        <version>${project.version}</version>
      </dependency>
      <dependency>
        <groupId>${project.groupId}</groupId>
        <artifactId>bluemind-webapp</artifactId>
        <version>${project.version}</version>
        <type>war</type>
      </dependency>
      <dependency>
        <groupId>${project.groupId}</groupId>
        <artifactId>bluemind-packaging</artifactId>
        <version>${project.version}</version>
        <type>zip</type>
      </dependency>
    </dependencies>
  </dependencyManagement>

  <!-- This profile is used to allow github action to build branches. The github action is used for sonar analysis -->
  <profiles>
    <profile>
      <id>project-repositories</id>
      <activation>
        <property>
          <name>!skip-project-repositories</name>
        </property>
      </activation>
      <repositories>
        <repository>
          <snapshots>
            <enabled>true</enabled>
          </snapshots>
          <id>repository.exoplatform.org</id>
          <url>https://repository.exoplatform.org/public</url>
        </repository>
      </repositories>
      <pluginRepositories>
        <pluginRepository>
          <snapshots>
            <enabled>true</enabled>
          </snapshots>
          <id>repository.exoplatform.org</id>
          <url>https://repository.exoplatform.org/public</url>
        </pluginRepository>
      </pluginRepositories>
    </profile>
  </profiles>

  <scm>
    <tag>7.3.0</tag>
  </scm>
</project>
