<?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>20-M02</version>
    </parent>
    <groupId>org.exoplatform.anti-malware</groupId>
    <artifactId>anti-malware</artifactId>
    <version>7.2.0-20260421</version>
    <packaging>pom</packaging>
    <name>eXo Anti-Malware - Parent</name>

    <properties>
        <addon.exo.ecms.version>7.2.0-20260421</addon.exo.ecms.version>
        <io.meeds.social.version>7.2.0-exo-20260421</io.meeds.social.version>

        <!-- Sonar properties -->
        <sonar.organization>exoplatform</sonar.organization>
    </properties>

    <modules>
        <module>anti-malware-services</module>
        <module>anti-malware-webapp</module>
        <module>anti-malware-packaging</module>
    </modules>
    <scm>
        <connection>scm:git:git://github.com/exoplatform/anti-malware.git</connection>
        <developerConnection>scm:git:ssh://git@github.com/exoplatform/anti-malware.git</developerConnection>
        <url>https://github.com/exoplatform/anti-malware</url>
        <tag>7.2.0-20260421</tag>
    </scm>
    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>io.meeds.social</groupId>
                <artifactId>social</artifactId>
                <version>${io.meeds.social.version}</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>

            <dependency>
                <groupId>org.exoplatform.ecms</groupId>
                <artifactId>ecms</artifactId>
                <version>${addon.exo.ecms.version}</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>

            <dependency>
                <groupId>${project.groupId}</groupId>
                <artifactId>anti-malware-services</artifactId>
                <version>${project.version}</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>${project.groupId}</groupId>
                <artifactId>anti-malware-webapp</artifactId>
                <version>${project.version}</version>
                <scope>provided</scope>
                <type>war</type>
            </dependency>
            <dependency>
                <groupId>${project.groupId}</groupId>
                <artifactId>anti-malware-packaging</artifactId>
                <version>${project.version}</version>
                <scope>provided</scope>
                <type>war</type>
            </dependency>
        </dependencies>
    </dependencyManagement>

    <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>
