2025-12-02 13:21:18 +08:00
|
|
|
|
<?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>org.xyzh</groupId>
|
|
|
|
|
|
<artifactId>urban-lifeline</artifactId>
|
|
|
|
|
|
<version>1.0.0</version>
|
|
|
|
|
|
<packaging>pom</packaging>
|
|
|
|
|
|
|
|
|
|
|
|
<modules>
|
|
|
|
|
|
<module>common</module>
|
|
|
|
|
|
<module>apis</module>
|
2025-12-02 18:46:03 +08:00
|
|
|
|
<module>gateway</module>
|
2025-12-02 13:21:18 +08:00
|
|
|
|
<module>log</module>
|
|
|
|
|
|
<module>system</module>
|
|
|
|
|
|
<module>auth</module>
|
|
|
|
|
|
<module>file</module>
|
2025-12-04 16:45:56 +08:00
|
|
|
|
<module>message</module>
|
|
|
|
|
|
<module>crontab</module>
|
|
|
|
|
|
<module>agent</module>
|
|
|
|
|
|
<module>bidding</module>
|
|
|
|
|
|
<module>platform</module>
|
|
|
|
|
|
<module>workcase</module>
|
2025-12-02 13:21:18 +08:00
|
|
|
|
</modules>
|
|
|
|
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
|
|
<urban-lifeline.version>1.0.0</urban-lifeline.version>
|
|
|
|
|
|
<java.version>21</java.version>
|
|
|
|
|
|
<maven.compiler.source>21</maven.compiler.source>
|
|
|
|
|
|
<maven.compiler.target>21</maven.compiler.target>
|
|
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
|
|
|
|
|
|
|
|
<spring-framework.version>6.2.10</spring-framework.version>
|
|
|
|
|
|
<spring-boot.version>3.5.7</spring-boot.version>
|
|
|
|
|
|
<spring-cloud.version>2025.0.0</spring-cloud.version>
|
|
|
|
|
|
<spring-cloud-alibaba.version>2025.0.0.0-preview</spring-cloud-alibaba.version>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 微服务相关依赖 -->
|
|
|
|
|
|
<dubbo.version>3.3.5</dubbo.version>
|
|
|
|
|
|
<nacos.version>2023.0.3.3</nacos.version>
|
|
|
|
|
|
<sentinel.version>1.9.8</sentinel.version>
|
|
|
|
|
|
<!-- 数据库依赖 -->
|
|
|
|
|
|
<postgresql.version>42.7.7</postgresql.version>
|
|
|
|
|
|
<mysql.version>9.4.0</mysql.version>
|
|
|
|
|
|
<hikaricp.version>7.0.2</hikaricp.version>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<fastjson.version>2.0.58</fastjson.version>
|
|
|
|
|
|
<jakarta.servlet.version>6.1.0</jakarta.servlet.version>
|
|
|
|
|
|
|
|
|
|
|
|
<lombok.version>1.18.40</lombok.version>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- JWT 依赖版本 -->
|
|
|
|
|
|
<jjwt.version>0.11.5</jjwt.version>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Log4j2 依赖版本 -->
|
|
|
|
|
|
<log4j2.version>2.23.1</log4j2.version>
|
|
|
|
|
|
<!-- SLF4J API version -->
|
|
|
|
|
|
<slf4j.version>2.0.13</slf4j.version>
|
|
|
|
|
|
<!-- MyBatis / MyBatis-Plus -->
|
2025-12-05 15:34:02 +08:00
|
|
|
|
<mybatis.version>3.5.16</mybatis.version>
|
2025-12-02 13:21:18 +08:00
|
|
|
|
<mybatis.spring.boot.version>3.0.5</mybatis.spring.boot.version>
|
|
|
|
|
|
<mybatis.plus.version>3.5.14</mybatis.plus.version>
|
|
|
|
|
|
<!-- Align mybatis-spring core with Spring Boot 3.x (avoid pulling legacy 2.1.2) -->
|
|
|
|
|
|
<mybatis.spring.version>3.0.5</mybatis.spring.version>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- excel -->
|
|
|
|
|
|
<poi.version>5.4.1</poi.version>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- MinIO 对象存储 -->
|
|
|
|
|
|
<minio.version>8.5.17</minio.version>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Swagger/OpenAPI 文档依赖版本 -->
|
|
|
|
|
|
<springdoc.version>2.8.13</springdoc.version>
|
|
|
|
|
|
</properties>
|
|
|
|
|
|
<dependencyManagement>
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
|
<!-- Spring相关依赖 -->
|
|
|
|
|
|
<!-- 覆盖SpringFramework的依赖配置-->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
|
|
<artifactId>spring-framework-bom</artifactId>
|
|
|
|
|
|
<version>${spring-framework.version}</version>
|
|
|
|
|
|
<type>pom</type>
|
|
|
|
|
|
<scope>import</scope>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<!-- SpringBoot 依赖配置 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-dependencies</artifactId>
|
|
|
|
|
|
<version>${spring-boot.version}</version>
|
|
|
|
|
|
<type>pom</type>
|
|
|
|
|
|
<scope>import</scope>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
|
|
<version>${spring-boot.version}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<!-- SpringCloud 微服务 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
|
|
<artifactId>spring-cloud-dependencies</artifactId>
|
|
|
|
|
|
<version>${spring-cloud.version}</version>
|
|
|
|
|
|
<type>pom</type>
|
|
|
|
|
|
<scope>import</scope>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- SpringCloud Alibaba 微服务 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
|
|
|
|
<artifactId>spring-cloud-alibaba-dependencies</artifactId>
|
|
|
|
|
|
<version>${spring-cloud-alibaba.version}</version>
|
|
|
|
|
|
<type>pom</type>
|
|
|
|
|
|
<scope>import</scope>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Dubbo -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.apache.dubbo</groupId>
|
|
|
|
|
|
<artifactId>dubbo-bom</artifactId>
|
|
|
|
|
|
<version>${dubbo.version}</version>
|
|
|
|
|
|
<type>pom</type>
|
|
|
|
|
|
<scope>import</scope>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<!-- Nacos -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
|
|
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
|
|
|
|
|
<version>${nacos.version}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
|
|
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
|
|
|
|
|
|
<version>${nacos.version}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<!-- Sentinel -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.alibaba.csp</groupId>
|
|
|
|
|
|
<artifactId>sentinel-spring-boot-starter</artifactId>
|
|
|
|
|
|
<version>${sentinel.version}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 数据库 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.postgresql</groupId>
|
|
|
|
|
|
<artifactId>postgresql</artifactId>
|
|
|
|
|
|
<version>${postgresql.version}</version>
|
|
|
|
|
|
<scope>runtime</scope>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-starter-jdbc</artifactId>
|
|
|
|
|
|
<version>${spring-boot.version}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.mysql</groupId>
|
|
|
|
|
|
<artifactId>mysql-connector-j</artifactId>
|
|
|
|
|
|
<version>${mysql.version}</version>
|
|
|
|
|
|
<scope>runtime</scope>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-starter-data-jdbc</artifactId>
|
|
|
|
|
|
<version>${spring-boot.version}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.zaxxer</groupId>
|
|
|
|
|
|
<artifactId>HikariCP</artifactId>
|
|
|
|
|
|
<version>${hikaricp.version}</version>
|
|
|
|
|
|
</dependency>
|
2025-12-05 15:34:02 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.mybatis</groupId>
|
|
|
|
|
|
<artifactId>mybatis</artifactId>
|
|
|
|
|
|
<version>${mybatis.version}</version>
|
|
|
|
|
|
<scope>provided</scope>
|
|
|
|
|
|
</dependency>
|
2025-12-02 13:21:18 +08:00
|
|
|
|
|
|
|
|
|
|
<!-- MyBatis Spring Boot Starter (base) -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.mybatis.spring.boot</groupId>
|
|
|
|
|
|
<artifactId>mybatis-spring-boot-starter</artifactId>
|
|
|
|
|
|
<version>${mybatis.spring.boot.version}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<!-- MyBatis-Plus (可选,如不需要增强 CRUD 可移除) -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.baomidou</groupId>
|
|
|
|
|
|
<artifactId>mybatis-plus-boot-starter</artifactId>
|
|
|
|
|
|
<version>${mybatis.plus.version}</version>
|
|
|
|
|
|
<exclusions>
|
|
|
|
|
|
<!-- 排除旧版 mybatis-spring,防止与 3.x 冲突 -->
|
|
|
|
|
|
<exclusion>
|
|
|
|
|
|
<groupId>org.mybatis</groupId>
|
|
|
|
|
|
<artifactId>mybatis-spring</artifactId>
|
|
|
|
|
|
</exclusion>
|
|
|
|
|
|
</exclusions>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<!-- 强制引入与 Spring Boot 3.x 匹配的 mybatis-spring 3.x -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.mybatis</groupId>
|
|
|
|
|
|
<artifactId>mybatis-spring</artifactId>
|
|
|
|
|
|
<version>${mybatis.spring.version}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- JSON 解析器和生成器 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.alibaba.fastjson2</groupId>
|
|
|
|
|
|
<artifactId>fastjson2</artifactId>
|
|
|
|
|
|
<version>${fastjson.version}</version>
|
|
|
|
|
|
</dependency>
|
2025-12-05 18:24:21 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.alibaba.fastjson2</groupId>
|
|
|
|
|
|
<artifactId>fastjson2-extension-spring6</artifactId>
|
|
|
|
|
|
<version>${fastjson.version}</version>
|
|
|
|
|
|
</dependency>
|
2025-12-02 13:21:18 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- urban-lifeline 系统 -->
|
|
|
|
|
|
<!-- API 模块 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.xyzh.apis</groupId>
|
|
|
|
|
|
<artifactId>api-all</artifactId>
|
|
|
|
|
|
<version>${urban-lifeline.version}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.xyzh.apis</groupId>
|
|
|
|
|
|
<artifactId>api-auth</artifactId>
|
|
|
|
|
|
<version>${urban-lifeline.version}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.xyzh.apis</groupId>
|
|
|
|
|
|
<artifactId>api-file</artifactId>
|
|
|
|
|
|
<version>${urban-lifeline.version}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.xyzh.apis</groupId>
|
|
|
|
|
|
<artifactId>api-message</artifactId>
|
|
|
|
|
|
<version>${urban-lifeline.version}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.xyzh.apis</groupId>
|
|
|
|
|
|
<artifactId>api-system</artifactId>
|
|
|
|
|
|
<version>${urban-lifeline.version}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.xyzh.apis</groupId>
|
|
|
|
|
|
<artifactId>api-log</artifactId>
|
|
|
|
|
|
<version>${urban-lifeline.version}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Common 模块 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.xyzh.common</groupId>
|
|
|
|
|
|
<artifactId>common-all</artifactId>
|
|
|
|
|
|
<version>${urban-lifeline.version}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.xyzh.common</groupId>
|
|
|
|
|
|
<artifactId>common-core</artifactId>
|
|
|
|
|
|
<version>${urban-lifeline.version}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.xyzh.common</groupId>
|
|
|
|
|
|
<artifactId>common-auth</artifactId>
|
|
|
|
|
|
<version>${urban-lifeline.version}</version>
|
|
|
|
|
|
</dependency>
|
2025-12-04 16:45:56 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.xyzh.common</groupId>
|
|
|
|
|
|
<artifactId>common-redis</artifactId>
|
|
|
|
|
|
<version>${urban-lifeline.version}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.xyzh.common</groupId>
|
|
|
|
|
|
<artifactId>common-utils</artifactId>
|
|
|
|
|
|
<version>${urban-lifeline.version}</version>
|
|
|
|
|
|
</dependency>
|
2025-12-02 13:21:18 +08:00
|
|
|
|
<!-- 服务模块 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.xyzh</groupId>
|
|
|
|
|
|
<artifactId>system</artifactId>
|
|
|
|
|
|
<version>${urban-lifeline.version}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.xyzh</groupId>
|
|
|
|
|
|
<artifactId>file</artifactId>
|
|
|
|
|
|
<version>${urban-lifeline.version}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>jakarta.servlet</groupId>
|
|
|
|
|
|
<artifactId>jakarta.servlet-api</artifactId>
|
|
|
|
|
|
<version>${jakarta.servlet.version}</version>
|
|
|
|
|
|
<scope>provided</scope>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
|
|
<version>${lombok.version}</version>
|
|
|
|
|
|
<scope>provided</scope>
|
|
|
|
|
|
</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>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
|
|
|
|
<artifactId>jjwt-jackson</artifactId>
|
|
|
|
|
|
<version>${jjwt.version}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Log4j2 依赖管理 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-starter-log4j2</artifactId>
|
|
|
|
|
|
<version>${spring-boot.version}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
|
|
<artifactId>log4j-core</artifactId>
|
|
|
|
|
|
<version>${log4j2.version}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
|
|
<artifactId>log4j-api</artifactId>
|
|
|
|
|
|
<version>${log4j2.version}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
|
|
<artifactId>log4j-slf4j2-impl</artifactId>
|
|
|
|
|
|
<version>${log4j2.version}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<!-- SLF4J API 明确声明,供各子模块直接编译依赖 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
|
|
<version>${slf4j.version}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<!-- Log4j2异步日志依赖 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.lmax</groupId>
|
|
|
|
|
|
<artifactId>disruptor</artifactId>
|
|
|
|
|
|
<version>3.4.4</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Swagger/OpenAPI 文档依赖管理 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springdoc</groupId>
|
|
|
|
|
|
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
|
|
|
|
|
|
<version>${springdoc.version}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Apache POI for Excel -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.apache.poi</groupId>
|
|
|
|
|
|
<artifactId>poi</artifactId>
|
|
|
|
|
|
<version>${poi.version}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.apache.poi</groupId>
|
|
|
|
|
|
<artifactId>poi-ooxml</artifactId>
|
|
|
|
|
|
<version>${poi.version}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- MinIO 对象存储 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>io.minio</groupId>
|
|
|
|
|
|
<artifactId>minio</artifactId>
|
|
|
|
|
|
<version>${minio.version}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
</dependencies>
|
|
|
|
|
|
</dependencyManagement>
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
|
|
<artifactId>spring-cloud-starter-bootstrap</artifactId>
|
|
|
|
|
|
<!-- 排除默认的logback依赖 -->
|
|
|
|
|
|
<exclusions>
|
|
|
|
|
|
<exclusion>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-starter-logging</artifactId>
|
|
|
|
|
|
</exclusion>
|
|
|
|
|
|
</exclusions>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<!-- Spring Security -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-starter-security</artifactId>
|
2025-12-05 15:34:02 +08:00
|
|
|
|
<exclusions>
|
|
|
|
|
|
<exclusion>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-starter-logging</artifactId>
|
|
|
|
|
|
</exclusion>
|
|
|
|
|
|
</exclusions>
|
2025-12-02 13:21:18 +08:00
|
|
|
|
</dependency>
|
2025-12-05 15:34:02 +08:00
|
|
|
|
|
2025-12-02 13:21:18 +08:00
|
|
|
|
<!-- Spring Boot Web -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
2025-12-05 15:34:02 +08:00
|
|
|
|
<exclusions>
|
|
|
|
|
|
<exclusion>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-starter-logging</artifactId>
|
|
|
|
|
|
</exclusion>
|
|
|
|
|
|
</exclusions>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Log4j2 日志(统一配置,所有子模块继承) -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-starter-log4j2</artifactId>
|
2025-12-02 13:21:18 +08:00
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- SpringDoc OpenAPI -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springdoc</groupId>
|
|
|
|
|
|
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
|
|
|
|
|
|
</dependency>
|
2025-12-05 15:34:02 +08:00
|
|
|
|
|
|
|
|
|
|
<!-- dubbo依赖管理 -->
|
2025-12-02 13:21:18 +08:00
|
|
|
|
<dependency>
|
2025-12-05 15:34:02 +08:00
|
|
|
|
<groupId>org.apache.dubbo</groupId>
|
|
|
|
|
|
<artifactId>dubbo-spring-boot-starter</artifactId>
|
2025-12-02 13:21:18 +08:00
|
|
|
|
<exclusions>
|
|
|
|
|
|
<exclusion>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-starter-logging</artifactId>
|
|
|
|
|
|
</exclusion>
|
|
|
|
|
|
</exclusions>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.apache.dubbo</groupId>
|
|
|
|
|
|
<artifactId>dubbo-nacos-spring-boot-starter</artifactId>
|
2025-12-05 15:34:02 +08:00
|
|
|
|
<exclusions>
|
|
|
|
|
|
<exclusion>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-starter-logging</artifactId>
|
|
|
|
|
|
</exclusion>
|
|
|
|
|
|
<exclusion>
|
|
|
|
|
|
<groupId>ch.qos.logback</groupId>
|
|
|
|
|
|
<artifactId>logback-classic</artifactId>
|
|
|
|
|
|
</exclusion>
|
|
|
|
|
|
<exclusion>
|
|
|
|
|
|
<groupId>ch.qos.logback</groupId>
|
|
|
|
|
|
<artifactId>logback-core</artifactId>
|
|
|
|
|
|
</exclusion>
|
|
|
|
|
|
</exclusions>
|
2025-12-02 13:21:18 +08:00
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 数据库连接池 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.postgresql</groupId>
|
|
|
|
|
|
<artifactId>postgresql</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.alibaba.fastjson2</groupId>
|
|
|
|
|
|
<artifactId>fastjson2</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
|
|
<scope>provided</scope>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
|
|
<build>
|
|
|
|
|
|
<plugins>
|
|
|
|
|
|
<plugin>
|
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
|
|
<configuration>
|
|
|
|
|
|
<source>${java.version}</source>
|
|
|
|
|
|
<target>${java.version}</target>
|
|
|
|
|
|
<encoding>${project.build.sourceEncoding}</encoding>
|
|
|
|
|
|
</configuration>
|
|
|
|
|
|
</plugin>
|
|
|
|
|
|
<plugin>
|
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
|
|
<configuration>
|
|
|
|
|
|
<source>${maven.compiler.source}</source>
|
|
|
|
|
|
<target>${maven.compiler.target}</target>
|
|
|
|
|
|
<annotationProcessorPaths>
|
|
|
|
|
|
<path>
|
|
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
|
|
</path>
|
|
|
|
|
|
</annotationProcessorPaths>
|
|
|
|
|
|
</configuration>
|
|
|
|
|
|
</plugin>
|
|
|
|
|
|
</plugins>
|
|
|
|
|
|
<pluginManagement>
|
|
|
|
|
|
<plugins>
|
|
|
|
|
|
<plugin>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
|
|
<version>${spring-boot.version}</version>
|
|
|
|
|
|
<executions>
|
|
|
|
|
|
<execution>
|
|
|
|
|
|
<goals>
|
|
|
|
|
|
<goal>repackage</goal>
|
|
|
|
|
|
</goals>
|
|
|
|
|
|
</execution>
|
|
|
|
|
|
</executions>
|
|
|
|
|
|
</plugin>
|
|
|
|
|
|
</plugins>
|
|
|
|
|
|
</pluginManagement>
|
|
|
|
|
|
</build>
|
|
|
|
|
|
|
|
|
|
|
|
<repositories>
|
|
|
|
|
|
<repository>
|
|
|
|
|
|
<id>public</id>
|
|
|
|
|
|
<name>aliyun nexus</name>
|
|
|
|
|
|
<url>https://maven.aliyun.com/repository/public</url>
|
|
|
|
|
|
<releases>
|
|
|
|
|
|
<enabled>true</enabled>
|
|
|
|
|
|
</releases>
|
|
|
|
|
|
</repository>
|
|
|
|
|
|
</repositories>
|
|
|
|
|
|
|
|
|
|
|
|
<pluginRepositories>
|
|
|
|
|
|
<pluginRepository>
|
|
|
|
|
|
<id>public</id>
|
|
|
|
|
|
<name>aliyun nexus</name>
|
|
|
|
|
|
<url>https://maven.aliyun.com/repository/public</url>
|
|
|
|
|
|
<releases>
|
|
|
|
|
|
<enabled>true</enabled>
|
|
|
|
|
|
</releases>
|
|
|
|
|
|
<snapshots>
|
|
|
|
|
|
<enabled>false</enabled>
|
|
|
|
|
|
</snapshots>
|
|
|
|
|
|
</pluginRepository>
|
|
|
|
|
|
</pluginRepositories>
|
|
|
|
|
|
</project>
|