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>
|
|
|
|
|
|
<parent>
|
|
|
|
|
|
<groupId>org.xyzh</groupId>
|
|
|
|
|
|
<artifactId>urban-lifeline</artifactId>
|
|
|
|
|
|
<version>1.0.0</version>
|
|
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
|
|
|
|
<groupId>org.xyzh</groupId>
|
|
|
|
|
|
<artifactId>log</artifactId>
|
|
|
|
|
|
<version>${urban-lifeline.version}</version>
|
|
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
|
<properties>
|
|
|
|
|
|
<maven.compiler.source>21</maven.compiler.source>
|
|
|
|
|
|
<maven.compiler.target>21</maven.compiler.target>
|
|
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.xyzh.apis</groupId>
|
|
|
|
|
|
<artifactId>api-log</artifactId>
|
|
|
|
|
|
<version>${urban-lifeline.version}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 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>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Dubbo Spring Boot Starter -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.apache.dubbo</groupId>
|
|
|
|
|
|
<artifactId>dubbo-spring-boot-starter</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Dubbo Nacos Spring Boot Starter (服务注册与发现) -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.apache.dubbo</groupId>
|
|
|
|
|
|
<artifactId>dubbo-nacos-spring-boot-starter</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Spring Cloud Alibaba Nacos Discovery (可选,用于服务发现) -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
|
|
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<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>
|
|
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
|
|
</project>
|