<?xml version="1.0" encoding="UTF-8"?>
<!--

  Copyright (C) 2022 eXo Platform SAS

   This program is free software: you can redistribute it and/or modify
  it under the terms of the GNU Affero General Public License as published by
  the Free Software Foundation, either version 3 of the License, or
  (at your option) any later version.

  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.

  You should have received a copy of the GNU Affero General Public License
  along with this program.  If not, see <gnu.org/licenses>.

-->
<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>
    <artifactId>maven-parent-pom</artifactId>
    <groupId>org.exoplatform</groupId>
    <version>24</version>
    <relativePath />
  </parent>
  <groupId>org.exoplatform.platform.distributions</groupId>
  <artifactId>plf-public-distributions</artifactId>
  <version>6.3.2-RC01</version>
  <packaging>pom</packaging>
  <name>eXo PLF:: Platform Community Distributions</name>
  <modules>
    <module>services</module>
    <module>webapps</module>
    <module>packaging</module>
  </modules>
  <scm>
    <connection>scm:git:git://github.com/exoplatform/platform-public-distributions.git</connection>
    <developerConnection>scm:git:git@github.com:exoplatform/platform-public-distributions.git</developerConnection>
    <tag>6.3.2-RC01</tag>
    <url>http://fisheye.exoplatform.org/browse/projects/platform-public-distributions</url>
  </scm>
  <properties>
    <!-- ************** -->
    <!-- Dependencies   -->
    <!-- ************** -->
    <!-- ************** -->
    <!-- Public distribution   -->
    <!-- ************** -->
    <io.meeds.distribution.version>1.3.2-RC01</io.meeds.distribution.version>
    <!-- ************** -->
    <!-- Add-ons for Community packaging   -->
    <!-- ************** -->
    <addon.exo.jcr.id>exo-jcr</addon.exo.jcr.id>
    <addon.exo.jcr.version>6.3.2-RC01</addon.exo.jcr.version>
    <addon.exo.ecms.id>exo-ecms</addon.exo.ecms.id>
    <addon.exo.ecms.version>6.3.2-RC01</addon.exo.ecms.version>
    <addon.exo.web-conferencing.id>exo-web-conferencing</addon.exo.web-conferencing.id>
    <addon.exo.web-conferencing.version>2.3.2-RC01</addon.exo.web-conferencing.version>
    <addon.exo.layout-management.id>exo-layout-management</addon.exo.layout-management.id>
    <addon.exo.layout-management.version>1.3.2-RC01</addon.exo.layout-management.version>
    <addon.exo.jitsi.id>exo-jitsi</addon.exo.jitsi.id>
    <addon.exo.jitsi.version>1.2.2-RC01</addon.exo.jitsi.version>
    <addon.exo.agenda.id>exo-agenda</addon.exo.agenda.id>
    <addon.exo.agenda.version>1.2.2-RC01</addon.exo.agenda.version>
    <addon.exo.digital-workplace.id>exo-digital-workplace</addon.exo.digital-workplace.id>
    <addon.exo.digital-workplace.version>1.3.2-RC01</addon.exo.digital-workplace.version>
    <addon.exo.data-upgrade.id>exo-data-upgrade</addon.exo.data-upgrade.id>
    <addon.exo.data-upgrade.version>6.3.2-RC01</addon.exo.data-upgrade.version>
    <addon.exo.news.id>exo-news</addon.exo.news.id>
    <addon.exo.news.version>2.3.2-RC01</addon.exo.news.version>
    <addon.exo.onlyoffice.id>exo-onlyoffice</addon.exo.onlyoffice.id>
    <addon.exo.onlyoffice.version>2.3.2-RC01</addon.exo.onlyoffice.version>
    <addon.exo.chat.id>exo-chat</addon.exo.chat.id>
    <addon.exo.chat.version>3.3.2-RC01</addon.exo.chat.version>
    <addon.exo.automatic-translation.id>exo-automatic-translation</addon.exo.automatic-translation.id>
    <addon.exo.automatic-translation.version>1.0.2-RC01</addon.exo.automatic-translation.version>
    <addon.exo.documents.id>exo-documents</addon.exo.documents.id>
    <addon.exo.documents.version>1.0.2-RC01</addon.exo.documents.version>
    <!-- Add-on manager extension to use (empty for Unix, .bat for Windows) -->
    <addon.manager.extension />
  </properties>
  <dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>io.meeds.distribution</groupId>
        <artifactId>plf-community-tomcat-standalone</artifactId>
        <version>${io.meeds.distribution.version}</version>
        <type>pom</type>
        <scope>import</scope>
      </dependency>
      <dependency>
        <groupId>org.exoplatform.addons.digital-workplace</groupId>
        <artifactId>digital-workplace-packaging</artifactId>
        <version>${addon.exo.digital-workplace.version}</version>
        <scope>provided</scope>
        <type>zip</type>
      </dependency>
      <dependency>
        <groupId>org.exoplatform.addons.layout-management</groupId>
        <artifactId>layout-management-packaging</artifactId>
        <version>${addon.exo.layout-management.version}</version>
        <scope>provided</scope>
        <type>zip</type>
      </dependency>
      <dependency>
        <groupId>org.exoplatform.addons.jitsi</groupId>
        <artifactId>web-conferencing-jitsi-packaging</artifactId>
        <version>${addon.exo.jitsi.version}</version>
        <scope>provided</scope>
        <type>zip</type>
      </dependency>
      <dependency>
        <groupId>org.exoplatform.agenda</groupId>
        <artifactId>agenda-packaging</artifactId>
        <version>${addon.exo.agenda.version}</version>
        <scope>provided</scope>
        <type>zip</type>
      </dependency>
      <dependency>
        <groupId>org.exoplatform.addons.web-conferencing</groupId>
        <artifactId>web-conferencing-packaging</artifactId>
        <version>${addon.exo.web-conferencing.version}</version>
        <type>zip</type>
        <scope>provided</scope>
      </dependency>
      <dependency>
        <groupId>org.exoplatform.jcr</groupId>
        <artifactId>jcr-packaging</artifactId>
        <version>${addon.exo.jcr.version}</version>
        <type>zip</type>
        <scope>provided</scope>
      </dependency>
      <dependency>
        <groupId>org.exoplatform.ecms</groupId>
        <artifactId>ecms-packaging</artifactId>
        <version>${addon.exo.ecms.version}</version>
        <type>zip</type>
        <scope>provided</scope>
      </dependency>
      <dependency>
        <groupId>org.exoplatform.addons.upgrade</groupId>
        <artifactId>data-upgrade-packaging</artifactId>
        <version>${addon.exo.data-upgrade.version}</version>
        <type>zip</type>
        <scope>provided</scope>
      </dependency>
      <dependency>
        <groupId>org.exoplatform.addons.news</groupId>
        <artifactId>news-packaging</artifactId>
        <version>${addon.exo.news.version}</version>
        <type>zip</type>
        <scope>provided</scope>
      </dependency>
      <dependency>
        <groupId>org.exoplatform.addons.onlyoffice</groupId>
        <artifactId>exo-onlyoffice-editor-packaging</artifactId>
        <version>${addon.exo.onlyoffice.version}</version>
        <type>zip</type>
        <scope>provided</scope>
      </dependency>
      <dependency>
        <groupId>org.exoplatform.addons.chat</groupId>
        <artifactId>chat-embedded-packaging</artifactId>
        <version>${addon.exo.chat.version}</version>
        <type>zip</type>
        <scope>provided</scope>
      </dependency>
      <dependency>
        <groupId>org.exoplatform.addons.automatic-translation</groupId>
        <artifactId>automatic-translation-packaging</artifactId>
        <version>${addon.exo.automatic-translation.version}</version>
        <scope>provided</scope>
        <type>zip</type>
      </dependency>
      <dependency>
        <groupId>org.exoplatform.documents</groupId>
        <artifactId>documents-packaging</artifactId>
        <version>${addon.exo.documents.version}</version>
        <scope>provided</scope>
        <type>zip</type>
      </dependency>
      <!-- Our modules -->
      <dependency>
        <groupId>${project.groupId}</groupId>
        <artifactId>platform-community-edition-service</artifactId>
        <version>${project.version}</version>
      </dependency>
      <dependency>
        <groupId>${project.groupId}</groupId>
        <artifactId>platform-community-tomcat-standalone</artifactId>
        <version>${project.version}</version>
        <type>pom</type>
      </dependency>
      <dependency>
        <groupId>${project.groupId}</groupId>
        <artifactId>platform-community-tomcat-standalone</artifactId>
        <version>${project.version}</version>
        <type>zip</type>
      </dependency>
    </dependencies>
  </dependencyManagement>
  <build>
    <pluginManagement>
      <plugins>
        <!-- Required to not break gmaven usage for -Pfix-headers by example-->
        <plugin>
          <groupId>org.codehaus.gmaven</groupId>
          <artifactId>gmaven-plugin</artifactId>
          <configuration>
            <providerSelection>2.0</providerSelection>
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-assembly-plugin</artifactId>
          <configuration>
            <appendAssemblyId>false</appendAssemblyId>
          </configuration>
        </plugin>
      </plugins>
    </pluginManagement>
  </build>
  <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>
</project>
