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

    Copyright (C) 2020 eXo Platform SAS.
    
    This is free software; you can redistribute it and/or modify it
    under the terms of the GNU Lesser General Public License as
    published by the Free Software Foundation; either version 2.1 of
    the License, or (at your option) any later version.
    
    This software 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
    Lesser General Public License for more details.
    
    You should have received a copy of the GNU Lesser General Public
    License along with this software; if not, write to the Free
    Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
    02110-1301 USA, or see the FSF site: http://www.fsf.org.

-->
<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-parent-pom</artifactId>
    <groupId>org.exoplatform.addons</groupId>
    <version>13</version>
    <relativePath />
  </parent>

  <groupId>org.exoplatform.addons.jitsi</groupId>
  <artifactId>exo-jitsi</artifactId>
  <version>1.0.5-RC01</version>
  <packaging>pom</packaging>
  <name>eXo Jitsi</name>
  <description>eXo Jitsi portal extension (connector for Web Conferencing)</description>

  <modules>
    <module>services</module>
    <module>webapp</module>
    <module>packaging</module>
  </modules>
  <scm>
    <connection>scm:git:git://github.com/exo-addons/jitsi.git</connection>
    <developerConnection>scm:git:ssh://git@github.com/exo-addons/jitsi.git</developerConnection>
    <url>https://github.com/exo-addons/jitsi</url>
    <tag>1.0.5-RC01</tag>
  </scm>

  <properties>
    <!-- Defaut compiler settings -->
    <!--<maven.compiler.optimize>true</maven.compiler.optimize>-->
    <maven.compiler.source>1.8</maven.compiler.source>
    <maven.compiler.target>1.8</maven.compiler.target>
    <!-- eXo Modules -->
    <!-- **************************************** -->
    <!-- Dependencies versions                    -->
    <!-- **************************************** -->
    <addon.exo.web-conferencing.version>2.1.5-RC01</addon.exo.web-conferencing.version>
    <org.exoplatform.depmgt.version>18.5-RC01</org.exoplatform.depmgt.version>
    <addon.exo.ecms.version>6.1.5-RC01</addon.exo.ecms.version>
    <org.exoplatform.social.version>6.1.5-RC01</org.exoplatform.social.version>
    <addon.exo.jcr.version>6.1.5-RC01</addon.exo.jcr.version>
    <org.exoplatform.platform-ui.version>6.1.5-RC01</org.exoplatform.platform-ui.version>
    <!-- for tests -->
    <junit.version>4.12</junit.version>
    <io.jsonwebtoken.version>0.10.5</io.jsonwebtoken.version>
    <!-- **************************************** -->
    <!-- Jitsi Microservice -->
    <java.version>1.8</java.version>
    <spring-boot.version>2.3.3.RELEASE</spring-boot.version>
    <!-- Maven Plugin for JS and CSS bundling and Unit Test execution -->
    <com.github.eirslett.frontend.version>1.10.0</com.github.eirslett.frontend.version>
    <node.version>v12.16.3</node.version>
    <npm.version>6.14.5</npm.version>
    <maven-resources-plugin.version>3.2.0</maven-resources-plugin.version>
  </properties>

  <dependencyManagement>
    <dependencies>
      <!-- Import versions of external dependencies to use -->
      <dependency>
        <groupId>org.exoplatform</groupId>
        <artifactId>maven-depmgt-pom</artifactId>
        <version>${org.exoplatform.depmgt.version}</version>
        <type>pom</type>
        <scope>import</scope>
      </dependency>
      <!-- Import versions from platform project -->
      <dependency>
        <groupId>org.exoplatform.ecms</groupId>
        <artifactId>ecms</artifactId>
        <version>${addon.exo.ecms.version}</version>
        <type>pom</type>
        <scope>import</scope>
      </dependency>
      <dependency>
        <groupId>org.exoplatform.social</groupId>
        <artifactId>social</artifactId>
        <version>${org.exoplatform.social.version}</version>
        <type>pom</type>
        <scope>import</scope>
      </dependency>
      <dependency>
        <groupId>org.exoplatform.jcr</groupId>
        <artifactId>exo.jcr.component.core</artifactId>
        <version>${addon.exo.jcr.version}</version>
        <type>pom</type>
        <scope>import</scope>
      </dependency>
      <dependency>
        <groupId>org.exoplatform.jcr</groupId>
        <artifactId>exo.jcr.component.ext</artifactId>
        <version>${addon.exo.jcr.version}</version>
        <type>pom</type>
        <scope>import</scope>
      </dependency>
      <dependency>
        <groupId>org.exoplatform.platform-ui</groupId>
        <artifactId>platform-ui</artifactId>
        <version>${org.exoplatform.platform-ui.version}</version>
        <type>pom</type>
        <scope>import</scope>
      </dependency>
      <!-- Web Conferencing extension -->
      <dependency>
        <groupId>org.exoplatform.addons.web-conferencing</groupId>
        <artifactId>web-conferencing-services</artifactId>
        <version>${addon.exo.web-conferencing.version}</version>
        <type>jar</type>
      </dependency>
      <!-- My Connector -->
      <dependency>
        <groupId>org.exoplatform.addons.jitsi</groupId>
        <artifactId>web-conferencing-jitsi-services</artifactId>
        <version>${project.version}</version>
        <type>jar</type>
      </dependency>
      <dependency>
        <groupId>org.exoplatform.addons.jitsi</groupId>
        <artifactId>web-conferencing-jitsi-webapp</artifactId>
        <version>${project.version}</version>
        <type>war</type>
      </dependency>
      <!-- for tests -->
      <dependency>
        <groupId>junit</groupId>
        <artifactId>junit</artifactId>
        <version>${junit.version}</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>io.jsonwebtoken</groupId>
        <artifactId>jjwt-api</artifactId>
        <version>${io.jsonwebtoken.version}</version>
      </dependency>
      <dependency>
        <groupId>io.jsonwebtoken</groupId>
        <artifactId>jjwt-impl</artifactId>
        <version>${io.jsonwebtoken.version}</version>
      </dependency>
      <dependency>
        <groupId>io.jsonwebtoken</groupId>
        <artifactId>jjwt-jackson</artifactId>
        <version>${io.jsonwebtoken.version}</version>
      </dependency>
    </dependencies>
  </dependencyManagement>
</project>
