mirror of
https://github.com/LiuYuYang01/ThriveX-Server.git
synced 2026-05-13 10:57:01 +08:00
187 lines
6.7 KiB
XML
Executable File
187 lines
6.7 KiB
XML
Executable File
<?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>liuyuyang.net</groupId>
|
|
<artifactId>ThriveX_Server</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
|
<packaging>pom</packaging>
|
|
|
|
<modules>
|
|
<!-- 实体类 -->
|
|
<module>model</module>
|
|
<!-- 核心业务 -->
|
|
<module>blog</module>
|
|
</modules>
|
|
|
|
<parent>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
<version>2.7.12</version>
|
|
</parent>
|
|
|
|
<properties>
|
|
<java.version>1.8</java.version>
|
|
<spring-boot.version>2.7.12</spring-boot.version>
|
|
<mybatis-plus.version>3.4.1</mybatis-plus.version>
|
|
<mysql.version>8.0.23</mysql.version>
|
|
<knife4j.version>4.4.0</knife4j.version>
|
|
<jwt.version>0.7.0</jwt.version>
|
|
<fastjson.version>1.2.29</fastjson.version>
|
|
<jackson.version>2.13.3</jackson.version>
|
|
<spring-beans.version>5.3.21</spring-beans.version>
|
|
<rome.version>1.18.0</rome.version>
|
|
<oshi.version>6.2.2</oshi.version>
|
|
<qiniu.version>7.13.0</qiniu.version>
|
|
<email.version>2.7.12</email.version>
|
|
<bucket4j.version>0.8.1</bucket4j.version>
|
|
<caffeine.version>2.9.3</caffeine.version>
|
|
</properties>
|
|
|
|
<!--配置dependencyManagement锁定依赖的版本-->
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<!-- spring boot热重载 -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-devtools</artifactId>
|
|
<version>${spring-boot.version}</version>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
|
|
<!-- 引入aop切面支持 -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-aop</artifactId>
|
|
<version>${spring-boot.version}</version>
|
|
</dependency>
|
|
|
|
<!-- mybatis-plus 持久层 -->
|
|
<dependency>
|
|
<groupId>com.baomidou</groupId>
|
|
<artifactId>mybatis-plus-boot-starter</artifactId>
|
|
<version>${mybatis-plus.version}</version>
|
|
</dependency>
|
|
|
|
<!-- mysql -->
|
|
<dependency>
|
|
<groupId>mysql</groupId>
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
<version>${mysql.version}</version>
|
|
</dependency>
|
|
|
|
<!-- redis -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-data-redis</artifactId>
|
|
</dependency>
|
|
|
|
<!-- 提供API文档生成和调试功能 -->
|
|
<dependency>
|
|
<groupId>com.github.xiaoymin</groupId>
|
|
<artifactId>knife4j-openapi2-spring-boot-starter</artifactId>
|
|
<version>${knife4j.version}</version>
|
|
</dependency>
|
|
|
|
<!-- jwt -->
|
|
<dependency>
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
<artifactId>jjwt</artifactId>
|
|
<version>${jwt.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-databind</artifactId>
|
|
<version>${jackson.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-beans</artifactId>
|
|
<version>${spring-beans.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.rometools</groupId>
|
|
<artifactId>rome</artifactId>
|
|
<version>${rome.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.github.oshi</groupId>
|
|
<artifactId>oshi-core</artifactId>
|
|
<version>${oshi.version}</version>
|
|
</dependency>
|
|
|
|
<!-- 七牛云对象存储 -->
|
|
<dependency>
|
|
<groupId>com.qiniu</groupId>
|
|
<artifactId>qiniu-java-sdk</artifactId>
|
|
<version>${qiniu.version}</version>
|
|
</dependency>
|
|
|
|
<!-- 发送邮件 -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-mail</artifactId>
|
|
<version>${email.version}</version>
|
|
</dependency>
|
|
<!-- 自定义模板 -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-thymeleaf</artifactId>
|
|
<version>${email.version}</version>
|
|
</dependency>
|
|
|
|
<!-- WebClient -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-webflux</artifactId>
|
|
<version>3.1.2</version>
|
|
</dependency>
|
|
|
|
<!-- 自定义模块 -->
|
|
<dependency>
|
|
<groupId>liuyuyang.net</groupId>
|
|
<artifactId>common</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>liuyuyang.net</groupId>
|
|
<artifactId>model</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
</dependency>
|
|
<!-- 基于令牌桶算法的Java限流库 -->
|
|
<dependency>
|
|
<groupId>com.giffing.bucket4j.spring.boot.starter</groupId>
|
|
<artifactId>bucket4j-spring-boot-starter</artifactId>
|
|
<version>${bucket4j.version}</version>
|
|
</dependency>
|
|
<!-- 单机缓存库 -->
|
|
<dependency>
|
|
<groupId>com.github.ben-manes.caffeine</groupId>
|
|
<artifactId>caffeine</artifactId>
|
|
<version>${caffeine.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.1</version>
|
|
|
|
<configuration>
|
|
<source>${java.version}</source>
|
|
<target>${java.version}</target>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project> |