1039 lines
41 KiB
XML
1039 lines
41 KiB
XML
<?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>
|
||
|
||
<groupId>com.xiaomayi</groupId>
|
||
<artifactId>xiaomayi-all</artifactId>
|
||
<version>${revision}</version>
|
||
<packaging>pom</packaging>
|
||
<name>xiaomayi-all</name>
|
||
<description>
|
||
小蚂蚁云工具类库合集,此模块为所有模块汇总,最终形式为拆分开的多个jar包,可以通过exclude排除不需要的模块。
|
||
</description>
|
||
<url>https://www.xiaomayicloud.com</url>
|
||
|
||
<!-- ========== 版本号统一管理 ========== -->
|
||
<!-- 在此处定义所有依赖的版本号,实现版本统一控制 -->
|
||
<properties>
|
||
<!-- 项目主版本号,使用CI友好变量便于持续集成 -->
|
||
<revision>3.0.0</revision>
|
||
<!-- JDK版本要求 -->
|
||
<java.version>17</java.version>
|
||
|
||
<!-- ===== 微服务框架版本 ===== -->
|
||
<!-- Spring Cloud 微服务框架版本 -->
|
||
<spring-cloud.version>2023.0.3</spring-cloud.version>
|
||
<!-- Spring Cloud Alibaba 生态版本 -->
|
||
<spring-cloud-alibaba.version>2023.0.1.2</spring-cloud-alibaba.version>
|
||
<!-- Spring Boot 基础框架版本 -->
|
||
<spring-boot.version>3.3.0</spring-boot.version>
|
||
<!-- 提供密码加密、哈希和编码功能,是Spring Security框架的核心加密组件 -->
|
||
<spring-security-crypto.version>6.4.5</spring-security-crypto.version>
|
||
|
||
<!-- ===== 远程调用相关版本 ===== -->
|
||
<!-- OpenFeign 声明式HTTP客户端版本 -->
|
||
<openfeign.version>4.1.3</openfeign.version>
|
||
<!-- Feign OkHttp 客户端版本 -->
|
||
<feign-okhttp.version>13.3</feign-okhttp.version>
|
||
<!-- 负载均衡器版本 -->
|
||
<loadbalancer.version>4.1.4</loadbalancer.version>
|
||
<!-- Spring Cloud Consul 版本 -->
|
||
<consul-discovery.version>4.1.3</consul-discovery.version>
|
||
|
||
<!-- ===== 监控管理版本 ===== -->
|
||
<!-- Spring Boot Admin 服务监控版本 -->
|
||
<spring-boot-admin.version>3.2.2</spring-boot-admin.version>
|
||
|
||
<!-- ===== 数据持久层版本 ===== -->
|
||
<!-- 数据库连接池版本 -->
|
||
<druid.version>1.2.22</druid.version>
|
||
<!-- Mybatis-Plus 增强框架版本 -->
|
||
<mybatis-plus.version>3.5.7</mybatis-plus.version>
|
||
<!-- 动态数据源版本 -->
|
||
<dynamic-datasource.version>4.3.0</dynamic-datasource.version>
|
||
|
||
<!-- ===== 数据库驱动版本 ===== -->
|
||
<!-- MySQL 数据库驱动 -->
|
||
<mysql.version>8.3.0</mysql.version>
|
||
<!-- PostgreSQL 数据库驱动 -->
|
||
<postgresql.version>42.7.3</postgresql.version>
|
||
<!-- SQL Server 数据库驱动 -->
|
||
<mssql.version>12.8.0.jre11</mssql.version>
|
||
<!-- SQLite 数据库驱动 -->
|
||
<sqlite.version>3.46.0.1</sqlite.version>
|
||
|
||
<!-- ===== 工具类库版本 ===== -->
|
||
<!-- 注解式代码生成工具 -->
|
||
<lombok.version>1.18.30</lombok.version>
|
||
<!-- Java工具类库 -->
|
||
<hutool-all.version>5.8.26</hutool-all.version>
|
||
<!-- 模板引擎Freemarker -->
|
||
<starter-freemarker.version>3.1.3</starter-freemarker.version>
|
||
<freemarker.version>2.3.32</freemarker.version>
|
||
<!-- JSON处理库 -->
|
||
<fastjson2.version>2.0.46</fastjson2.version>
|
||
<!-- Apache工具类 -->
|
||
<commons-lang3.version>3.13.0</commons-lang3.version>
|
||
<commons-io.version>2.13.0</commons-io.version>
|
||
<commons-text.version>1.10.0</commons-text.version>
|
||
|
||
<!-- ===== API文档版本 ===== -->
|
||
<!-- 接口文档工具 -->
|
||
<knife4j.version>4.4.0</knife4j.version>
|
||
|
||
<!-- ===== 云服务SDK版本 ===== -->
|
||
<!-- 阿里云OSS对象存储 -->
|
||
<aliyun-sdk-oss.version>3.17.2</aliyun-sdk-oss.version>
|
||
<!-- 阿里云短信服务 -->
|
||
<dysmsapi20170525.version>2.0.9</dysmsapi20170525.version>
|
||
|
||
<!-- ===== 文件处理版本 ===== -->
|
||
<!-- Excel处理工具 -->
|
||
<easyexcel.version>3.3.4</easyexcel.version>
|
||
<poi.version>4.1.2</poi.version>
|
||
<!-- PDF处理工具 -->
|
||
<aspose-cells.version>22.4</aspose-cells.version>
|
||
<itextpdf.version>5.5.10</itextpdf.version>
|
||
<itext-asian.version>5.2.0</itext-asian.version>
|
||
<!-- 文件存储服务 -->
|
||
<minio.version>8.5.10</minio.version>
|
||
|
||
<!-- ===== 安全认证版本 ===== -->
|
||
<!-- JWT令牌 -->
|
||
<jjwt.version>0.12.5</jjwt.version>
|
||
<!-- OAuth2授权服务器 -->
|
||
<spring.authorization.version>1.3.0</spring.authorization.version>
|
||
<!-- 加密解密工具 -->
|
||
<bcprov-jdk15on.version>1.54</bcprov-jdk15on.version>
|
||
|
||
<!-- ===== 消息队列版本 ===== -->
|
||
<!-- 分布式缓存和锁 -->
|
||
<redisson.version>3.32.0</redisson.version>
|
||
<lock4j.version>2.2.7</lock4j.version>
|
||
|
||
<!-- ===== 支付集成版本 ===== -->
|
||
<!-- 支付宝支付SDK -->
|
||
<alipay.version>4.22.0.ALL</alipay.version>
|
||
<!-- 微信支付SDK -->
|
||
<wxpay.version>0.0.3</wxpay.version>
|
||
|
||
<!-- ===== 其他组件版本 ===== -->
|
||
<!-- 日志编码器 -->
|
||
<logstash-encoder.version>7.4</logstash-encoder.version>
|
||
<!-- 二维码生成 -->
|
||
<zxing.version>3.3.3</zxing.version>
|
||
<!-- 搜索引擎 -->
|
||
<elasticsearch.version>8.17.3</elasticsearch.version>
|
||
<!-- Jackson序列化 -->
|
||
<jackson.version>2.12.3</jackson.version>
|
||
<!-- Jakarta标准 -->
|
||
<jakarta.version>2.0.1</jakarta.version>
|
||
<jakarta.validation-api.version>3.0.2</jakarta.validation-api.version>
|
||
<!-- 系统信息监控 -->
|
||
<oshi.version>6.5.0</oshi.version>
|
||
<!-- dexcoder 版本号 -->
|
||
<dexcoder.version>2.3.1</dexcoder.version>
|
||
<!-- 钉钉机器人 -->
|
||
<dingtalk.version>1.0.3.RELEASE</dingtalk.version>
|
||
<!-- 用户代理解析 -->
|
||
<bitwalker.version>1.21</bitwalker.version>
|
||
<!-- IP地址定位 -->
|
||
<ip2region.version>2.7.0</ip2region.version>
|
||
|
||
<!-- Apache HttpComponents Core - HTTP协议核心组件 -->
|
||
<httpcore.version>4.4.16</httpcore.version>
|
||
<!-- Apache HttpComponents Client - 功能完整的HTTP客户端 -->
|
||
<httpclient.version>4.5.14</httpclient.version>
|
||
|
||
<!-- ===== Maven编译配置 ===== -->
|
||
<!-- 源代码编译版本 -->
|
||
<maven.compiler.source>17</maven.compiler.source>
|
||
<!-- 目标字节码版本 -->
|
||
<maven.compiler.target>17</maven.compiler.target>
|
||
<!-- 编译器版本 -->
|
||
<maven.compiler.compilerVersion>17</maven.compiler.compilerVersion>
|
||
<!-- 编译器插件版本 -->
|
||
<maven.compiler.version>3.8.1</maven.compiler.version>
|
||
<!-- 项目编码格式 -->
|
||
<maven.compiler.encoding>UTF-8</maven.compiler.encoding>
|
||
|
||
<!-- ===== Maven插件版本 ===== -->
|
||
<!-- 版本统一管理插件 -->
|
||
<flatten-maven-plugin.version>1.6.0</flatten-maven-plugin.version>
|
||
<!-- 部署插件 -->
|
||
<maven-deploy-plugin.version>2.8.2</maven-deploy-plugin.version>
|
||
</properties>
|
||
|
||
<!-- ========== 依赖管理 ========== -->
|
||
<!-- 此处声明所有依赖的版本,子模块引用时无需指定版本号 -->
|
||
<!-- 这确保了整个项目依赖版本的一致性 -->
|
||
<dependencyManagement>
|
||
<dependencies>
|
||
|
||
<!-- ================================================== -->
|
||
<!-- 小蚂蚁云技术平台 - 核心功能模块依赖配置 -->
|
||
<!-- 版本统一管理:${revision} -->
|
||
<!-- ================================================== -->
|
||
|
||
<!-- 服务监控模块 - 提供应用健康检查、指标收集等监控功能 -->
|
||
<dependency>
|
||
<groupId>com.xiaomayi</groupId>
|
||
<artifactId>xiaomayi-actuator</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
|
||
<!-- 支付宝支付模块 - 集成支付宝支付接口,支持各种支付场景 -->
|
||
<dependency>
|
||
<groupId>com.xiaomayi</groupId>
|
||
<artifactId>xiaomayi-alipay</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
|
||
<!-- 验证码服务模块 - 提供图形、短信等多种验证码生成和验证 -->
|
||
<dependency>
|
||
<groupId>com.xiaomayi</groupId>
|
||
<artifactId>xiaomayi-captcha</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
|
||
<!-- 核心工具类模块 - 包含通用工具类、常量定义等基础功能 -->
|
||
<dependency>
|
||
<groupId>com.xiaomayi</groupId>
|
||
<artifactId>xiaomayi-core</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
|
||
<!-- 多数据源管理模块 - 支持动态数据源切换和读写分离 -->
|
||
<dependency>
|
||
<groupId>com.xiaomayi</groupId>
|
||
<artifactId>xiaomayi-datasource</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
|
||
<!-- 钉钉消息集成模块 - 集成钉钉机器人、工作流消息推送 -->
|
||
<dependency>
|
||
<groupId>com.xiaomayi</groupId>
|
||
<artifactId>xiaomayi-dingtalk</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
|
||
<!-- 搜索引擎模块 - 集成Elasticsearch,提供全文检索能力 -->
|
||
<dependency>
|
||
<groupId>com.xiaomayi</groupId>
|
||
<artifactId>xiaomayi-elasticsearch</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
|
||
<!-- 邮件服务模块 - 提供邮件发送、模板邮件等功能 -->
|
||
<dependency>
|
||
<groupId>com.xiaomayi</groupId>
|
||
<artifactId>xiaomayi-email</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
|
||
<!-- 数据加解密模块 - 提供数据加密、解密和脱敏处理 -->
|
||
<dependency>
|
||
<groupId>com.xiaomayi</groupId>
|
||
<artifactId>xiaomayi-encrypt</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
|
||
<!-- Excel操作模块 - 提供Excel导入导出、模板下载等功能 -->
|
||
<dependency>
|
||
<groupId>com.xiaomayi</groupId>
|
||
<artifactId>xiaomayi-excel</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
|
||
<!-- 声明式HTTP客户端模块 - 基于Feign的声明式HTTP服务调用 -->
|
||
<dependency>
|
||
<groupId>com.xiaomayi</groupId>
|
||
<artifactId>xiaomayi-feign</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
|
||
<!-- 音视频处理模块 - 基于FFmpeg的音视频转码、处理功能 -->
|
||
<dependency>
|
||
<groupId>com.xiaomayi</groupId>
|
||
<artifactId>xiaomayi-ffmpeg</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
|
||
<!-- 文件操作模块 - 提供本地和远程文件管理功能 -->
|
||
<dependency>
|
||
<groupId>com.xiaomayi</groupId>
|
||
<artifactId>xiaomayi-file</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
|
||
<!-- 接口幂等性模块 - 防止接口重复提交,保证业务幂等性 -->
|
||
<dependency>
|
||
<groupId>com.xiaomayi</groupId>
|
||
<artifactId>xiaomayi-idempotent</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
|
||
<!-- Kafka消息队列模块 - 集成Kafka,提供消息生产和消费能力 -->
|
||
<dependency>
|
||
<groupId>com.xiaomayi</groupId>
|
||
<artifactId>xiaomayi-kafka</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
|
||
<!-- 操作日志模块 - 记录用户操作日志,支持审计追踪 -->
|
||
<dependency>
|
||
<groupId>com.xiaomayi</groupId>
|
||
<artifactId>xiaomayi-logger</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
|
||
<!-- Minio文件存储模块 - 集成Minio对象存储服务 -->
|
||
<dependency>
|
||
<groupId>com.xiaomayi</groupId>
|
||
<artifactId>xiaomayi-minio</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
|
||
<!-- Mybatis增强模块 - 提供Mybatis Plus扩展功能 -->
|
||
<dependency>
|
||
<groupId>com.xiaomayi</groupId>
|
||
<artifactId>xiaomayi-mybatis</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
|
||
<!-- Nacos配置中心模块 - 集成Nacos,实现配置动态管理 -->
|
||
<dependency>
|
||
<groupId>com.xiaomayi</groupId>
|
||
<artifactId>xiaomayi-nacos</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
|
||
<!-- Consul配置中心模块 - 集成Consul,实现配置动态管理 -->
|
||
<dependency>
|
||
<groupId>com.xiaomayi</groupId>
|
||
<artifactId>xiaomayi-consul</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
|
||
<!-- OAuth2认证授权模块 - 提供OAuth2标准的认证授权能力 -->
|
||
<dependency>
|
||
<groupId>com.xiaomayi</groupId>
|
||
<artifactId>xiaomayi-oauth</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
|
||
<!-- 阿里云OSS模块 - 集成阿里云对象存储服务 -->
|
||
<dependency>
|
||
<groupId>com.xiaomayi</groupId>
|
||
<artifactId>xiaomayi-oss</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
|
||
<!-- PDF处理模块 - 提供PDF生成、合并、水印等功能 -->
|
||
<dependency>
|
||
<groupId>com.xiaomayi</groupId>
|
||
<artifactId>xiaomayi-pdf</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
|
||
<!-- 二维码生成模块 - 生成和解析二维码 -->
|
||
<dependency>
|
||
<groupId>com.xiaomayi</groupId>
|
||
<artifactId>xiaomayi-qrcode</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
|
||
<!-- RabbitMQ消息队列模块 - 集成RabbitMQ消息中间件 -->
|
||
<dependency>
|
||
<groupId>com.xiaomayi</groupId>
|
||
<artifactId>xiaomayi-rabbitmq</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
|
||
<!-- RocketMQ消息队列模块 - 集成RocketMQ消息中间件 -->
|
||
<dependency>
|
||
<groupId>com.xiaomayi</groupId>
|
||
<artifactId>xiaomayi-rocketmq</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
|
||
<!-- 流量控制模块 - 集成Sentinel,实现流量控制和服务降级 -->
|
||
<dependency>
|
||
<groupId>com.xiaomayi</groupId>
|
||
<artifactId>xiaomayi-sentinel</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
|
||
<!-- 请求限流模块 - 提供API接口限流能力 -->
|
||
<dependency>
|
||
<groupId>com.xiaomayi</groupId>
|
||
<artifactId>xiaomayi-ratelimiter</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
|
||
<!-- Redis缓存模块 - 集成Redis,提供缓存和分布式锁功能 -->
|
||
<dependency>
|
||
<groupId>com.xiaomayi</groupId>
|
||
<artifactId>xiaomayi-redis</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
|
||
<!-- 定时任务模块 - 提供分布式定时任务调度能力 -->
|
||
<dependency>
|
||
<groupId>com.xiaomayi</groupId>
|
||
<artifactId>xiaomayi-scheduler</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
|
||
<!-- 分布式事务模块 - 集成Seata,解决分布式事务问题 -->
|
||
<dependency>
|
||
<groupId>com.xiaomayi</groupId>
|
||
<artifactId>xiaomayi-seata</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
|
||
<!-- 安全控制模块 - 提供权限认证、访问控制等安全功能 -->
|
||
<dependency>
|
||
<groupId>com.xiaomayi</groupId>
|
||
<artifactId>xiaomayi-security</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
|
||
<!-- 数据脱敏模块 - 对敏感数据进行脱敏处理 -->
|
||
<dependency>
|
||
<groupId>com.xiaomayi</groupId>
|
||
<artifactId>xiaomayi-sensitive</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
|
||
<!-- 短信服务模块 - 集成多家短信服务商,提供短信发送能力 -->
|
||
<dependency>
|
||
<groupId>com.xiaomayi</groupId>
|
||
<artifactId>xiaomayi-sms</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
|
||
<!-- API文档模块 - 基于SpringDoc生成API文档 -->
|
||
<dependency>
|
||
<groupId>com.xiaomayi</groupId>
|
||
<artifactId>xiaomayi-springdoc</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
|
||
<!-- 多租户模块 - 支持SaaS多租户数据隔离 -->
|
||
<dependency>
|
||
<groupId>com.xiaomayi</groupId>
|
||
<artifactId>xiaomayi-tenant</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
|
||
<!-- WebSocket通信模块 - 提供WebSocket实时通信能力 -->
|
||
<dependency>
|
||
<groupId>com.xiaomayi</groupId>
|
||
<artifactId>xiaomayi-websocket</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
|
||
<!-- 微信支付模块 - 集成微信支付接口 -->
|
||
<dependency>
|
||
<groupId>com.xiaomayi</groupId>
|
||
<artifactId>xiaomayi-wxpay</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
|
||
<!-- XSS防护模块 - 防止跨站脚本攻击,提供输入过滤 -->
|
||
<dependency>
|
||
<groupId>com.xiaomayi</groupId>
|
||
<artifactId>xiaomayi-xss</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
|
||
<!-- IP地址库模块 - 基于ip2region的IP地址定位功能 -->
|
||
<dependency>
|
||
<groupId>com.xiaomayi</groupId>
|
||
<artifactId>xiaomayi-ip2region</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
|
||
<!-- JWT令牌模块 - 提供JWT令牌的生成和验证 -->
|
||
<dependency>
|
||
<groupId>com.xiaomayi</groupId>
|
||
<artifactId>xiaomayi-jwttoken</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
|
||
<!-- E签宝模块 - 集成E签宝电子签名服务 -->
|
||
<dependency>
|
||
<groupId>com.xiaomayi</groupId>
|
||
<artifactId>xiaomayi-esign</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
|
||
<!-- 代码生成工具 -->
|
||
<dependency>
|
||
<groupId>com.xiaomayi</groupId>
|
||
<artifactId>xiaomayi-codegen</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
|
||
<!-- ===== 第三方依赖库声明 ===== -->
|
||
<!-- 以下为第三方框架和组件的依赖声明 -->
|
||
|
||
<!-- Spring Boot Web Starter -->
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-web</artifactId>
|
||
<version>${spring-boot.version}</version>
|
||
</dependency>
|
||
|
||
<!-- Spring Cloud OpenFeign -->
|
||
<dependency>
|
||
<groupId>org.springframework.cloud</groupId>
|
||
<artifactId>spring-cloud-starter-openfeign</artifactId>
|
||
<version>${openfeign.version}</version>
|
||
</dependency>
|
||
|
||
<!-- Feign OkHttp 客户端 -->
|
||
<dependency>
|
||
<groupId>io.github.openfeign</groupId>
|
||
<artifactId>feign-okhttp</artifactId>
|
||
<version>${feign-okhttp.version}</version>
|
||
</dependency>
|
||
|
||
<!-- Spring Cloud 负载均衡 -->
|
||
<dependency>
|
||
<groupId>org.springframework.cloud</groupId>
|
||
<artifactId>spring-cloud-starter-loadbalancer</artifactId>
|
||
<version>${loadbalancer.version}</version>
|
||
</dependency>
|
||
|
||
<!-- Spring Cloud Consul 依赖引入 -->
|
||
<dependency>
|
||
<groupId>org.springframework.cloud</groupId>
|
||
<artifactId>spring-cloud-starter-consul-discovery</artifactId>
|
||
<version>${consul-discovery.version}</version>
|
||
</dependency>
|
||
|
||
<!-- WebSocket支持 -->
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-websocket</artifactId>
|
||
<version>${spring-boot.version}</version>
|
||
</dependency>
|
||
|
||
<!-- 定时任务Quartz -->
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-quartz</artifactId>
|
||
<version>${spring-boot.version}</version>
|
||
</dependency>
|
||
|
||
<!-- 提供密码加密、哈希和编码功能,是Spring Security框架的核心加密组件 -->
|
||
<dependency>
|
||
<groupId>org.springframework.security</groupId>
|
||
<artifactId>spring-security-crypto</artifactId>
|
||
<version>${spring-security-crypto.version}</version>
|
||
</dependency>
|
||
|
||
<!-- Nacos服务发现 -->
|
||
<dependency>
|
||
<groupId>com.alibaba.cloud</groupId>
|
||
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
||
<version>${spring-cloud-alibaba.version}</version>
|
||
</dependency>
|
||
|
||
<!-- Nacos配置中心 -->
|
||
<dependency>
|
||
<groupId>com.alibaba.cloud</groupId>
|
||
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
|
||
<version>${spring-cloud-alibaba.version}</version>
|
||
</dependency>
|
||
|
||
<!-- Seata分布式事务 -->
|
||
<dependency>
|
||
<groupId>com.alibaba.cloud</groupId>
|
||
<artifactId>spring-cloud-starter-alibaba-seata</artifactId>
|
||
<version>${spring-cloud-alibaba.version}</version>
|
||
</dependency>
|
||
|
||
<!-- Sentinel流量控制 -->
|
||
<dependency>
|
||
<groupId>com.alibaba.cloud</groupId>
|
||
<artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
|
||
<version>${spring-cloud-alibaba.version}</version>
|
||
</dependency>
|
||
|
||
<!-- OAuth2资源服务器 -->
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-oauth2-resource-server</artifactId>
|
||
<version>${spring-boot.version}</version>
|
||
</dependency>
|
||
|
||
<!-- 参数校验 -->
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-validation</artifactId>
|
||
<version>${spring-boot.version}</version>
|
||
</dependency>
|
||
|
||
<!-- Redis数据缓存 -->
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-data-redis</artifactId>
|
||
<version>${spring-boot.version}</version>
|
||
</dependency>
|
||
|
||
<!-- AOP面向切面编程 -->
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-aop</artifactId>
|
||
<version>${spring-boot.version}</version>
|
||
</dependency>
|
||
|
||
<!-- Spring Boot测试 -->
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-test</artifactId>
|
||
<scope>test</scope>
|
||
</dependency>
|
||
|
||
<!-- Spring Security安全框架 -->
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-security</artifactId>
|
||
<version>${spring-boot.version}</version>
|
||
</dependency>
|
||
|
||
<!-- RabbitMQ消息队列 -->
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-amqp</artifactId>
|
||
<version>${spring-boot.version}</version>
|
||
</dependency>
|
||
|
||
<!-- OAuth2授权服务器 -->
|
||
<dependency>
|
||
<groupId>org.springframework.security</groupId>
|
||
<artifactId>spring-security-oauth2-authorization-server</artifactId>
|
||
<version>${spring.authorization.version}</version>
|
||
</dependency>
|
||
|
||
<!-- Spring Boot监控 -->
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-actuator</artifactId>
|
||
<version>${spring-boot.version}</version>
|
||
</dependency>
|
||
|
||
<!-- Spring Boot Admin客户端 -->
|
||
<dependency>
|
||
<groupId>de.codecentric</groupId>
|
||
<artifactId>spring-boot-admin-starter-client</artifactId>
|
||
<version>${spring-boot-admin.version}</version>
|
||
</dependency>
|
||
|
||
<!-- Spring Boot Admin服务端 -->
|
||
<dependency>
|
||
<groupId>de.codecentric</groupId>
|
||
<artifactId>spring-boot-admin-starter-server</artifactId>
|
||
<version>${spring-boot-admin.version}</version>
|
||
</dependency>
|
||
|
||
<!-- 邮件发送 -->
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-mail</artifactId>
|
||
<version>${spring-boot.version}</version>
|
||
</dependency>
|
||
|
||
<!-- Thymeleaf模板引擎 -->
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-thymeleaf</artifactId>
|
||
<version>${spring-boot.version}</version>
|
||
</dependency>
|
||
|
||
<!-- Redisson分布式锁 -->
|
||
<dependency>
|
||
<groupId>org.redisson</groupId>
|
||
<artifactId>redisson-spring-boot-starter</artifactId>
|
||
<version>${redisson.version}</version>
|
||
</dependency>
|
||
|
||
<!-- Lock4j分布式锁 -->
|
||
<dependency>
|
||
<groupId>com.baomidou</groupId>
|
||
<artifactId>lock4j-redisson-spring-boot-starter</artifactId>
|
||
<version>${lock4j.version}</version>
|
||
</dependency>
|
||
|
||
<!-- Druid数据库连接池 -->
|
||
<dependency>
|
||
<groupId>com.alibaba</groupId>
|
||
<artifactId>druid-spring-boot-3-starter</artifactId>
|
||
<version>${druid.version}</version>
|
||
</dependency>
|
||
|
||
<!-- 动态数据源 -->
|
||
<dependency>
|
||
<groupId>com.baomidou</groupId>
|
||
<artifactId>dynamic-datasource-spring-boot3-starter</artifactId>
|
||
<version>${dynamic-datasource.version}</version>
|
||
</dependency>
|
||
|
||
<!-- Knife4j接口文档 -->
|
||
<dependency>
|
||
<groupId>com.github.xiaoymin</groupId>
|
||
<artifactId>knife4j-openapi3-jakarta-spring-boot-starter</artifactId>
|
||
<version>${knife4j.version}</version>
|
||
</dependency>
|
||
|
||
<!-- Mybatis-Plus ORM框架 -->
|
||
<dependency>
|
||
<groupId>com.baomidou</groupId>
|
||
<artifactId>mybatis-plus-spring-boot3-starter</artifactId>
|
||
<version>${mybatis-plus.version}</version>
|
||
</dependency>
|
||
|
||
<!-- Mybatis-Plus代码生成器 -->
|
||
<dependency>
|
||
<groupId>com.baomidou</groupId>
|
||
<artifactId>mybatis-plus-generator</artifactId>
|
||
<version>${mybatis-plus.version}</version>
|
||
</dependency>
|
||
|
||
<!-- MySQL数据库驱动 -->
|
||
<dependency>
|
||
<groupId>com.mysql</groupId>
|
||
<artifactId>mysql-connector-j</artifactId>
|
||
<scope>runtime</scope>
|
||
<version>${mysql.version}</version>
|
||
</dependency>
|
||
|
||
<!-- PostgreSQL数据库驱动 -->
|
||
<dependency>
|
||
<groupId>org.postgresql</groupId>
|
||
<artifactId>postgresql</artifactId>
|
||
<version>${postgresql.version}</version>
|
||
</dependency>
|
||
|
||
<!-- SQL Server数据库驱动 -->
|
||
<dependency>
|
||
<groupId>com.microsoft.sqlserver</groupId>
|
||
<artifactId>mssql-jdbc</artifactId>
|
||
<version>${mssql.version}</version>
|
||
</dependency>
|
||
|
||
<!-- SQLite数据库驱动 -->
|
||
<dependency>
|
||
<groupId>org.xerial</groupId>
|
||
<artifactId>sqlite-jdbc</artifactId>
|
||
<version>${sqlite.version}</version>
|
||
</dependency>
|
||
|
||
<!-- Jakarta验证API -->
|
||
<dependency>
|
||
<groupId>jakarta.validation</groupId>
|
||
<artifactId>jakarta.validation-api</artifactId>
|
||
<version>${jakarta.validation-api.version}</version>
|
||
</dependency>
|
||
|
||
<!-- Freemarker模板引擎 -->
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-freemarker</artifactId>
|
||
<version>${starter-freemarker.version}</version>
|
||
</dependency>
|
||
|
||
<!-- Freemarker核心 -->
|
||
<dependency>
|
||
<groupId>org.freemarker</groupId>
|
||
<artifactId>freemarker</artifactId>
|
||
<version>${freemarker.version}</version>
|
||
</dependency>
|
||
|
||
<!-- Lombok代码生成 -->
|
||
<dependency>
|
||
<groupId>org.projectlombok</groupId>
|
||
<artifactId>lombok</artifactId>
|
||
<optional>false</optional>
|
||
<version>${lombok.version}</version>
|
||
</dependency>
|
||
|
||
<!-- Hutool工具库 -->
|
||
<dependency>
|
||
<groupId>cn.hutool</groupId>
|
||
<artifactId>hutool-all</artifactId>
|
||
<version>${hutool-all.version}</version>
|
||
</dependency>
|
||
|
||
<!-- Fastjson2 JSON处理 -->
|
||
<dependency>
|
||
<groupId>com.alibaba.fastjson2</groupId>
|
||
<artifactId>fastjson2</artifactId>
|
||
<version>${fastjson2.version}</version>
|
||
</dependency>
|
||
|
||
<!-- 阿里云OSS SDK -->
|
||
<dependency>
|
||
<groupId>com.aliyun.oss</groupId>
|
||
<artifactId>aliyun-sdk-oss</artifactId>
|
||
<version>${aliyun-sdk-oss.version}</version>
|
||
</dependency>
|
||
|
||
<!-- 阿里云短信服务 -->
|
||
<dependency>
|
||
<groupId>com.aliyun</groupId>
|
||
<artifactId>dysmsapi20170525</artifactId>
|
||
<version>${dysmsapi20170525.version}</version>
|
||
</dependency>
|
||
|
||
<!-- EasyExcel Excel处理 -->
|
||
<dependency>
|
||
<groupId>com.alibaba</groupId>
|
||
<artifactId>easyexcel</artifactId>
|
||
<version>${easyexcel.version}</version>
|
||
</dependency>
|
||
|
||
<!-- Apache Commons Lang3 -->
|
||
<dependency>
|
||
<groupId>org.apache.commons</groupId>
|
||
<artifactId>commons-lang3</artifactId>
|
||
<version>${commons-lang3.version}</version>
|
||
</dependency>
|
||
|
||
<!-- Apache Commons IO -->
|
||
<dependency>
|
||
<groupId>commons-io</groupId>
|
||
<artifactId>commons-io</artifactId>
|
||
<version>${commons-io.version}</version>
|
||
</dependency>
|
||
|
||
<!-- Apache Commons Text -->
|
||
<dependency>
|
||
<groupId>org.apache.commons</groupId>
|
||
<artifactId>commons-text</artifactId>
|
||
<version>${commons-text.version}</version>
|
||
</dependency>
|
||
|
||
<!-- JWT令牌处理 -->
|
||
<dependency>
|
||
<groupId>io.jsonwebtoken</groupId>
|
||
<artifactId>jjwt-api</artifactId>
|
||
<version>${jjwt.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>io.jsonwebtoken</groupId>
|
||
<artifactId>jjwt-impl</artifactId>
|
||
<version>${jjwt.version}</version>
|
||
<scope>runtime</scope>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>io.jsonwebtoken</groupId>
|
||
<artifactId>jjwt-jackson</artifactId>
|
||
<version>${jjwt.version}</version>
|
||
<scope>runtime</scope>
|
||
</dependency>
|
||
|
||
<!-- 用户代理解析 -->
|
||
<dependency>
|
||
<groupId>eu.bitwalker</groupId>
|
||
<artifactId>UserAgentUtils</artifactId>
|
||
<version>${bitwalker.version}</version>
|
||
</dependency>
|
||
|
||
<!-- 二维码生成 -->
|
||
<dependency>
|
||
<groupId>com.google.zxing</groupId>
|
||
<artifactId>core</artifactId>
|
||
<version>${zxing.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.google.zxing</groupId>
|
||
<artifactId>javase</artifactId>
|
||
<version>${zxing.version}</version>
|
||
</dependency>
|
||
|
||
<!-- Elasticsearch搜索引擎 -->
|
||
<dependency>
|
||
<groupId>co.elastic.clients</groupId>
|
||
<artifactId>elasticsearch-java</artifactId>
|
||
<version>${elasticsearch.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.elasticsearch.client</groupId>
|
||
<artifactId>elasticsearch-rest-client</artifactId>
|
||
<version>${elasticsearch.version}</version>
|
||
</dependency>
|
||
|
||
<!-- Jackson JSON处理 -->
|
||
<dependency>
|
||
<groupId>com.fasterxml.jackson.core</groupId>
|
||
<artifactId>jackson-databind</artifactId>
|
||
<version>${jackson.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.fasterxml.jackson.core</groupId>
|
||
<artifactId>jackson-annotations</artifactId>
|
||
<version>${jackson.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.fasterxml.jackson.core</groupId>
|
||
<artifactId>jackson-core</artifactId>
|
||
<version>${jackson.version}</version>
|
||
</dependency>
|
||
|
||
<!-- Jakarta JSON API -->
|
||
<dependency>
|
||
<groupId>jakarta.json</groupId>
|
||
<artifactId>jakarta.json-api</artifactId>
|
||
<version>${jakarta.version}</version>
|
||
</dependency>
|
||
|
||
<!-- Minio客户端 -->
|
||
<dependency>
|
||
<groupId>io.minio</groupId>
|
||
<artifactId>minio</artifactId>
|
||
<version>${minio.version}</version>
|
||
</dependency>
|
||
|
||
<!-- Apache POI文档处理 -->
|
||
<dependency>
|
||
<groupId>org.apache.poi</groupId>
|
||
<artifactId>poi-ooxml</artifactId>
|
||
<version>${poi.version}</version>
|
||
</dependency>
|
||
|
||
<!-- 系统信息监控 -->
|
||
<dependency>
|
||
<groupId>com.github.oshi</groupId>
|
||
<artifactId>oshi-core</artifactId>
|
||
<version>${oshi.version}</version>
|
||
</dependency>
|
||
|
||
<!--
|
||
dexcoder-dal-spring:轻量级MyBatis增强框架
|
||
用途:提供通用DAO、分页、链式查询等数据访问层简化功能
|
||
状态:历史依赖,功能与MyBatis-Plus重叠,建议评估迁移必要性
|
||
版本:${dexcoder.version} = 2.3.1
|
||
-->
|
||
<dependency>
|
||
<groupId>com.dexcoder</groupId>
|
||
<artifactId>dexcoder-dal-spring</artifactId>
|
||
<version>${dexcoder.version}</version>
|
||
</dependency>
|
||
|
||
<!-- 钉钉机器人 -->
|
||
<dependency>
|
||
<groupId>cn.snowheart</groupId>
|
||
<artifactId>spring-boot-dingtalk-robot-starter</artifactId>
|
||
<version>${dingtalk.version}</version>
|
||
</dependency>
|
||
|
||
<!-- Excel转PDF -->
|
||
<dependency>
|
||
<groupId>com.luhuiguo</groupId>
|
||
<artifactId>aspose-cells</artifactId>
|
||
<version>${aspose-cells.version}</version>
|
||
</dependency>
|
||
|
||
<!-- PDF处理 -->
|
||
<dependency>
|
||
<groupId>com.itextpdf</groupId>
|
||
<artifactId>itextpdf</artifactId>
|
||
<version>${itextpdf.version}</version>
|
||
</dependency>
|
||
|
||
<!-- PDF中文支持 -->
|
||
<dependency>
|
||
<groupId>com.itextpdf</groupId>
|
||
<artifactId>itext-asian</artifactId>
|
||
<version>${itext-asian.version}</version>
|
||
</dependency>
|
||
|
||
<!-- 加密解密支持 -->
|
||
<dependency>
|
||
<groupId>org.bouncycastle</groupId>
|
||
<artifactId>bcprov-jdk15on</artifactId>
|
||
<version>${bcprov-jdk15on.version}</version>
|
||
</dependency>
|
||
|
||
<!-- 支付宝支付 -->
|
||
<dependency>
|
||
<groupId>com.alipay.sdk</groupId>
|
||
<artifactId>alipay-sdk-java</artifactId>
|
||
<version>${alipay.version}</version>
|
||
</dependency>
|
||
|
||
<!-- 微信支付 -->
|
||
<dependency>
|
||
<groupId>com.github.wxpay</groupId>
|
||
<artifactId>wxpay-sdk</artifactId>
|
||
<version>${wxpay.version}</version>
|
||
</dependency>
|
||
|
||
<!-- Logstash日志编码 -->
|
||
<dependency>
|
||
<groupId>net.logstash.logback</groupId>
|
||
<artifactId>logstash-logback-encoder</artifactId>
|
||
<version>${logstash-encoder.version}</version>
|
||
</dependency>
|
||
|
||
<!-- IP地址库 -->
|
||
<dependency>
|
||
<groupId>org.lionsoul</groupId>
|
||
<artifactId>ip2region</artifactId>
|
||
<version>${ip2region.version}</version>
|
||
</dependency>
|
||
|
||
<!--
|
||
Apache HttpComponents Core - HTTP协议核心组件
|
||
HTTP通信核心库 - 提供底层HTTP协议实现
|
||
功能:HTTP消息处理、连接管理、协议参数配置
|
||
场景:需要精细控制HTTP通信的底层实现
|
||
-->
|
||
<dependency>
|
||
<groupId>org.apache.httpcomponents</groupId>
|
||
<artifactId>httpcore</artifactId>
|
||
<version>${httpcore.version}</version>
|
||
</dependency>
|
||
<!--
|
||
Apache HttpComponents Client - 功能完整的HTTP客户端
|
||
企业级HTTP客户端 - 功能完整的HTTP通信解决方案
|
||
特性:连接池、自动重试、多种认证、Cookie管理、代理支持
|
||
场景:REST API调用、微服务通信、第三方服务集成
|
||
-->
|
||
<dependency>
|
||
<groupId>org.apache.httpcomponents</groupId>
|
||
<artifactId>httpclient</artifactId>
|
||
<version>${httpclient.version}</version>
|
||
</dependency>
|
||
</dependencies>
|
||
</dependencyManagement>
|
||
|
||
<!-- ========== 分发管理 ========== -->
|
||
<!-- 配置项目构建产物部署到的远程仓库 -->
|
||
<distributionManagement>
|
||
<!-- 正式版本发布仓库 -->
|
||
<repository>
|
||
<!-- 仓库ID,需要与Maven settings.xml中的server配置对应 -->
|
||
<id>maven-host-dev</id>
|
||
<name>releases repository</name>
|
||
<!-- 公司私有Nexus仓库地址(注意:此处私服地址实际开发时有需要可以更换成自己企业内部的私服地址) -->
|
||
<url>https://nexus.xiaomayicloud.com/repository/maven-host-dev/</url>
|
||
</repository>
|
||
|
||
<!-- 快照版本发布仓库 -->
|
||
<snapshotRepository>
|
||
<!-- 快照仓库ID -->
|
||
<id>maven-snapshots</id>
|
||
<name>Snapshots repository</name>
|
||
<!-- 快照仓库地址 -->
|
||
<url>https://nexus.xiaomayicloud.com/repository/maven-snapshots/</url>
|
||
</snapshotRepository>
|
||
</distributionManagement>
|
||
|
||
</project> |