<?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">
    <parent>
        <artifactId>plugin-library</artifactId>
        <groupId>com.jxdinfo.hussar.support</groupId>
        <version>9.6.0-release.5</version>
        <relativePath>../pom.xml</relativePath>
    </parent>
    <modelVersion>4.0.0</modelVersion>

    <artifactId>hussar-support-mpj</artifactId>
    <packaging>jar</packaging>
    
    <description>MyBatis-Plus-Join多表关联查询模块(含MPJ生成器+QueryUtil工具类)</description>

    <properties>
        <maven.compiler.source>8</maven.compiler.source>
        <maven.compiler.target>8</maven.compiler.target>
    </properties>

    <dependencies>
        <!-- 平台核心 -->
        <dependency>
            <groupId>com.jxdinfo.hussar.support</groupId>
            <artifactId>hussar-platform-core</artifactId>
            <scope>provided</scope>
        </dependency>
        
        <!-- 异常模块 -->
        <dependency>
            <groupId>com.jxdinfo.hussar.support</groupId>
            <artifactId>hussar-support-exception</artifactId>
        </dependency>
        
        <!-- MP模块(复用QueryConditionDto等) -->
        <dependency>
            <groupId>com.jxdinfo.hussar.support</groupId>
            <artifactId>hussar-mp-starter</artifactId>
        </dependency>
        
        <!-- MyBatis-Plus-Join(核心依赖) -->
        <dependency>
            <groupId>com.github.yulichang</groupId>
            <artifactId>mybatis-plus-join-boot-starter</artifactId>
        </dependency>
        
        <!-- Dynamic-Datasource(动态数据源支持) -->
        <dependency>
            <groupId>com.baomidou</groupId>
            <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
        </dependency>
        
        <!-- Druid连接池(用于extractJdbcUrl) -->
        <dependency>
            <groupId>com.alibaba</groupId>
            <artifactId>druid-spring-boot-starter</artifactId>
            <scope>provided</scope>
        </dependency>
        
        <!-- HikariCP连接池(用于extractJdbcUrl) -->
        <dependency>
            <groupId>com.zaxxer</groupId>
            <artifactId>HikariCP</artifactId>
            <scope>provided</scope>
        </dependency>
    </dependencies>
    <build>
        <finalName>${project.artifactId}-${project.version}</finalName><plugins><plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>obfuscator-maven-plugin</artifactId>
                <version>8.0.0</version>
                <executions>
                    <execution>
                        <id>run-confusion</id>
                        <phase>package</phase>
                        <goals>
                            <goal>obfuscator</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin></plugins>
    </build>
</project>
