<?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>
        <groupId>pub.mgl</groupId>
        <artifactId>common</artifactId>
        <version>2025.7.1</version>
    </parent>
    <modelVersion>4.0.0</modelVersion>

    <artifactId>common-web</artifactId>
    <name>common-web</name>

    <url>https://mgl.pub</url>
    <developers>
        <developer>
            <id>hotpot</id>
            <name>hotpot</name>
            <email>i@mgl.ee</email>
        </developer>
    </developers>
    <licenses>
        <license>
            <name>只用于本人及本人所参与的任何产品和项目使用，不用于任何第三方应用</name>
            <url>mgl.pub</url>
            <distribution>repo</distribution>
            <comments>person license</comments>
        </license>
    </licenses>

    <scm>
        <tag>mgl</tag>
        <url>https://mgl.pub/p/mgl-base</url>
        <developerConnection>https://mgl.pub/p/mgl-base</developerConnection>
    </scm>

    <organization>
        <name>MGL技术社区</name>
        <url>https://mgl.pub/</url>
    </organization>


    <description>
        common-web web服务
    </description>

    <dependencies>
        <dependency>
            <groupId>pub.mgl</groupId>
            <artifactId>common-json</artifactId>
        </dependency>

        <dependency>
            <groupId>pub.mgl</groupId>
            <artifactId>common-redis</artifactId>
        </dependency>

        <!-- SpringBoot Web容器 -->
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-web</artifactId>
            <exclusions>
                <exclusion>
                    <artifactId>spring-boot-starter-tomcat</artifactId>
                    <groupId>org.springframework.boot</groupId>
                </exclusion>
            </exclusions>
        </dependency>
        <!-- web 容器使用 undertow 性能更强 -->
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-undertow</artifactId>
        </dependency>

        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-actuator</artifactId>
        </dependency>

        <dependency>
            <groupId>cn.hutool</groupId>
            <artifactId>hutool-captcha</artifactId>
        </dependency>

        <dependency>
            <groupId>cn.hutool</groupId>
            <artifactId>hutool-crypto</artifactId>
        </dependency>

        <dependency>
            <groupId>tech.mgl</groupId>
            <artifactId>mgl-boot-mvc-spring-boot-starter</artifactId>
            <scope>provided</scope>
        </dependency>

        <dependency>
            <groupId>tech.mgl</groupId>
            <artifactId>mgl-boot-config</artifactId>
        </dependency>

    </dependencies>

</project>
