<?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>
        <groupId>com.storlead.boot</groupId>
        <artifactId>storlead-sasa</artifactId>
        <version>1.0</version>
        <relativePath>../pom.xml</relativePath>
    </parent>

    <artifactId>storlead-sales</artifactId>
    <packaging>jar</packaging>
    <name>${project.artifactId}</name>

    <properties>
        <maven.compiler.source>17</maven.compiler.source>
        <maven.compiler.target>17</maven.compiler.target>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    </properties>

    <dependencies>
        <dependency>
            <groupId>com.storlead.boot</groupId>
            <artifactId>storlead-common</artifactId>
        </dependency>
        <!-- 与 storlead-marketing 等一致：聚合 Web + storlead-mybatis（MySQL / MyBatis-Plus / Druid）+ storlead-redis + storlead-core -->
        <dependency>
            <groupId>com.storlead.boot</groupId>
            <artifactId>storlead-web</artifactId>
        </dependency>
        <!-- 定时任务大量使用 org.quartz（原 pom 未引入，单独编译会缺类） -->
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-quartz</artifactId>
        </dependency>
        <!-- Controller 中 com.storlead.user.* -->
        <dependency>
            <groupId>com.storlead.boot</groupId>
            <artifactId>storlead-user-spi</artifactId>
        </dependency>
        <!-- Controller 中 com.storlead.system.* -->
        <dependency>
            <groupId>com.storlead.boot</groupId>
            <artifactId>storlead-system-spi</artifactId>
        </dependency>
        <!-- message 相关 Controller / TestApiController -->
        <dependency>
            <groupId>com.storlead.boot</groupId>
            <artifactId>storlead-message-biz</artifactId>
        </dependency>
        <!-- ES 客户相似度：编译期 spi+core；运行时 biz 提供实现（未启用 ES 时为 Noop） -->
        <dependency>
            <groupId>com.storlead.boot</groupId>
            <artifactId>storlead-es-spi</artifactId>
        </dependency>
        <dependency>
            <groupId>com.storlead.boot</groupId>
            <artifactId>storlead-es-core</artifactId>
        </dependency>
        <dependency>
            <groupId>com.storlead.boot</groupId>
            <artifactId>storlead-es-biz</artifactId>
        </dependency>
        <!-- 邮件域：api 含 biz/spi/core；CRM 邮件 Controller 仍在本模块 -->
        <dependency>
            <groupId>com.storlead.boot</groupId>
            <artifactId>storlead-mail-api</artifactId>
        </dependency>
        <dependency>
            <groupId>com.storlead.boot</groupId>
            <artifactId>storlead-mail-spi</artifactId>
        </dependency>
    </dependencies>

</project>
