134 lines
4.6 KiB
XML
134 lines
4.6 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>
|
|
<parent>
|
|
<groupId>org.xyzh</groupId>
|
|
<artifactId>school-news</artifactId>
|
|
<version>${school-news.version}</version>
|
|
</parent>
|
|
|
|
<groupId>org.xyzh</groupId>
|
|
<artifactId>auth</artifactId>
|
|
<version>${school-news.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</groupId>
|
|
<artifactId>common-core</artifactId>
|
|
<version>${school-news.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.xyzh</groupId>
|
|
<artifactId>common-dto</artifactId>
|
|
<version>${school-news.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.xyzh</groupId>
|
|
<artifactId>common-exception</artifactId>
|
|
<version>${school-news.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.xyzh</groupId>
|
|
<artifactId>common-redis</artifactId>
|
|
<version>${school-news.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.xyzh</groupId>
|
|
<artifactId>common-util</artifactId>
|
|
<version>${school-news.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.xyzh</groupId>
|
|
<artifactId>api-auth</artifactId>
|
|
<version>${school-news.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.xyzh</groupId>
|
|
<artifactId>api-system</artifactId>
|
|
<version>${school-news.version}</version>
|
|
</dependency>
|
|
|
|
|
|
<!-- Spring Boot Starter -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-web</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>
|
|
<!-- 排除默认的logback依赖 -->
|
|
<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>
|
|
</dependency>
|
|
<!-- JWT 依赖 -->
|
|
<dependency>
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
<artifactId>jjwt-api</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
<artifactId>jjwt-impl</artifactId>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
<artifactId>jjwt-jackson</artifactId>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
|
|
<!-- 配置处理 -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
|
|
<!-- 数据库 -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-data-jdbc</artifactId>
|
|
<!-- 排除默认的logback依赖 -->
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-logging</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.mysql</groupId>
|
|
<artifactId>mysql-connector-j</artifactId>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
</project> |