2025-12-18 15:13:23 +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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
<parent>
|
2025-12-22 13:10:51 +08:00
|
|
|
|
<groupId>com.mtkj</groupId>
|
|
|
|
|
|
<artifactId>MTKJPAY</artifactId>
|
|
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
|
|
<relativePath>../pom.xml</relativePath>
|
2025-12-18 15:13:23 +08:00
|
|
|
|
</parent>
|
|
|
|
|
|
<groupId>com.mtkj</groupId>
|
|
|
|
|
|
<artifactId>mt-pay</artifactId>
|
|
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
2025-12-19 18:33:25 +08:00
|
|
|
|
<packaging>jar</packaging>
|
2025-12-18 15:13:23 +08:00
|
|
|
|
<name>mt-pay</name>
|
|
|
|
|
|
<description>mt-pay</description>
|
|
|
|
|
|
<url/>
|
|
|
|
|
|
<licenses>
|
|
|
|
|
|
<license/>
|
|
|
|
|
|
</licenses>
|
|
|
|
|
|
<developers>
|
|
|
|
|
|
<developer/>
|
|
|
|
|
|
</developers>
|
|
|
|
|
|
<scm>
|
|
|
|
|
|
<connection/>
|
|
|
|
|
|
<developerConnection/>
|
|
|
|
|
|
<tag/>
|
|
|
|
|
|
<url/>
|
|
|
|
|
|
</scm>
|
|
|
|
|
|
<properties>
|
|
|
|
|
|
<java.version>17</java.version>
|
|
|
|
|
|
</properties>
|
|
|
|
|
|
<dependencies>
|
2025-12-19 18:33:25 +08:00
|
|
|
|
<!-- Spring Boot Web -->
|
2025-12-18 15:13:23 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
2025-12-19 18:33:25 +08:00
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
2025-12-18 15:13:23 +08:00
|
|
|
|
</dependency>
|
|
|
|
|
|
|
2025-12-19 18:33:25 +08:00
|
|
|
|
<!-- Spring Boot DevTools -->
|
2025-12-18 15:13:23 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-devtools</artifactId>
|
|
|
|
|
|
<scope>runtime</scope>
|
|
|
|
|
|
<optional>true</optional>
|
|
|
|
|
|
</dependency>
|
2025-12-19 18:33:25 +08:00
|
|
|
|
|
|
|
|
|
|
<!-- MySQL 驱动 -->
|
2025-12-18 15:13:23 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.mysql</groupId>
|
|
|
|
|
|
<artifactId>mysql-connector-j</artifactId>
|
|
|
|
|
|
<scope>runtime</scope>
|
|
|
|
|
|
</dependency>
|
2025-12-19 18:33:25 +08:00
|
|
|
|
|
2025-12-22 13:10:51 +08:00
|
|
|
|
<!-- MyBatis-Plus (升级到 3.5.8,兼容 Spring Boot 3.2.0) -->
|
2025-12-18 17:40:15 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.baomidou</groupId>
|
|
|
|
|
|
<artifactId>mybatis-plus-boot-starter</artifactId>
|
2025-12-22 13:10:51 +08:00
|
|
|
|
<version>${mybatis-plus.version}</version>
|
|
|
|
|
|
<exclusions>
|
|
|
|
|
|
<!-- 排除旧版本的 mybatis-spring,强制使用 3.0.3 -->
|
|
|
|
|
|
<exclusion>
|
|
|
|
|
|
<groupId>org.mybatis</groupId>
|
|
|
|
|
|
<artifactId>mybatis-spring</artifactId>
|
|
|
|
|
|
</exclusion>
|
|
|
|
|
|
<!-- 排除 commons-logging 冲突 -->
|
|
|
|
|
|
<exclusion>
|
|
|
|
|
|
<groupId>commons-logging</groupId>
|
|
|
|
|
|
<artifactId>commons-logging</artifactId>
|
|
|
|
|
|
</exclusion>
|
|
|
|
|
|
</exclusions>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<!-- 强制使用 mybatis-spring 3.0.3(兼容 Spring 6.x) -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.mybatis</groupId>
|
|
|
|
|
|
<artifactId>mybatis-spring</artifactId>
|
|
|
|
|
|
<version>${mybatis-spring.version}</version>
|
2025-12-18 17:40:15 +08:00
|
|
|
|
</dependency>
|
2025-12-19 16:40:21 +08:00
|
|
|
|
|
|
|
|
|
|
<!-- 阿里云OSS SDK -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.aliyun.oss</groupId>
|
|
|
|
|
|
<artifactId>aliyun-sdk-oss</artifactId>
|
|
|
|
|
|
<version>3.17.4</version>
|
2025-12-22 13:10:51 +08:00
|
|
|
|
<exclusions>
|
|
|
|
|
|
<!-- 排除 commons-logging 冲突 -->
|
|
|
|
|
|
<exclusion>
|
|
|
|
|
|
<groupId>commons-logging</groupId>
|
|
|
|
|
|
<artifactId>commons-logging</artifactId>
|
|
|
|
|
|
</exclusion>
|
|
|
|
|
|
</exclusions>
|
2025-12-19 16:40:21 +08:00
|
|
|
|
</dependency>
|
2025-12-19 18:33:25 +08:00
|
|
|
|
|
2025-12-18 17:40:15 +08:00
|
|
|
|
<!-- Druid数据源 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
|
|
|
<artifactId>druid-spring-boot-3-starter</artifactId>
|
|
|
|
|
|
<version>1.2.20</version>
|
2025-12-22 13:10:51 +08:00
|
|
|
|
<exclusions>
|
|
|
|
|
|
<!-- 排除 commons-logging 冲突 -->
|
|
|
|
|
|
<exclusion>
|
|
|
|
|
|
<groupId>commons-logging</groupId>
|
|
|
|
|
|
<artifactId>commons-logging</artifactId>
|
|
|
|
|
|
</exclusion>
|
|
|
|
|
|
</exclusions>
|
2025-12-18 17:40:15 +08:00
|
|
|
|
</dependency>
|
2025-12-19 18:33:25 +08:00
|
|
|
|
|
|
|
|
|
|
<!-- Spring Boot Validation -->
|
2025-12-18 17:40:15 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-starter-validation</artifactId>
|
|
|
|
|
|
</dependency>
|
2025-12-19 18:33:25 +08:00
|
|
|
|
|
|
|
|
|
|
<!-- Lombok -->
|
2025-12-18 15:13:23 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
|
|
<optional>true</optional>
|
|
|
|
|
|
</dependency>
|
2025-12-19 18:33:25 +08:00
|
|
|
|
|
|
|
|
|
|
<!-- Spring Boot Test -->
|
2025-12-18 15:13:23 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
2025-12-19 18:33:25 +08:00
|
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
2025-12-18 15:13:23 +08:00
|
|
|
|
<scope>test</scope>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
|
|
<build>
|
|
|
|
|
|
<plugins>
|
|
|
|
|
|
<plugin>
|
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
|
|
<configuration>
|
|
|
|
|
|
<annotationProcessorPaths>
|
|
|
|
|
|
<path>
|
|
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
|
|
<artifactId>lombok</artifactId>
|
2025-12-19 18:33:25 +08:00
|
|
|
|
<version>${lombok.version}</version>
|
2025-12-18 15:13:23 +08:00
|
|
|
|
</path>
|
|
|
|
|
|
</annotationProcessorPaths>
|
|
|
|
|
|
</configuration>
|
|
|
|
|
|
</plugin>
|
|
|
|
|
|
<plugin>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
|
|
<configuration>
|
|
|
|
|
|
<excludes>
|
|
|
|
|
|
<exclude>
|
|
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
|
|
</exclude>
|
|
|
|
|
|
</excludes>
|
|
|
|
|
|
</configuration>
|
|
|
|
|
|
</plugin>
|
2025-12-19 18:33:25 +08:00
|
|
|
|
<plugin>
|
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
|
|
<configuration>
|
|
|
|
|
|
<skipTests>true</skipTests>
|
|
|
|
|
|
</configuration>
|
|
|
|
|
|
</plugin>
|
2025-12-18 15:13:23 +08:00
|
|
|
|
</plugins>
|
|
|
|
|
|
</build>
|
|
|
|
|
|
|
|
|
|
|
|
</project>
|