2025-12-30 03:14:25 +00: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>com.tacit</groupId>
|
|
|
|
|
|
<artifactId>tacit-parent</artifactId>
|
|
|
|
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
|
|
|
|
<packaging>pom</packaging>
|
|
|
|
|
|
|
|
|
|
|
|
<name>Tacit Parent</name>
|
|
|
|
|
|
<description>Tacit App Microservice Architecture Parent Project</description>
|
|
|
|
|
|
|
2025-12-30 06:05:31 +00:00
|
|
|
|
|
|
|
|
|
|
<modules>
|
|
|
|
|
|
<module>tacit-gateway</module>
|
|
|
|
|
|
<module>tacit-admin</module>
|
|
|
|
|
|
<module>tacit-app-api</module>
|
|
|
|
|
|
<module>tacit-common</module>
|
|
|
|
|
|
</modules>
|
|
|
|
|
|
|
2025-12-30 03:14:25 +00:00
|
|
|
|
<properties>
|
|
|
|
|
|
<java.version>21</java.version>
|
2026-01-04 01:18:51 +00:00
|
|
|
|
<spring-boot.version>3.1.12</spring-boot.version>
|
|
|
|
|
|
<spring-cloud.version>2022.0.4</spring-cloud.version>
|
2025-12-30 03:14:25 +00:00
|
|
|
|
<spring-cloud-alibaba.version>2023.0.1.0</spring-cloud-alibaba.version>
|
|
|
|
|
|
<mybatis-plus.version>3.5.5</mybatis-plus.version>
|
|
|
|
|
|
<lombok.version>1.18.30</lombok.version>
|
|
|
|
|
|
<jjwt.version>0.11.5</jjwt.version>
|
2025-12-30 06:05:31 +00:00
|
|
|
|
<resilience4j.version>2.1.0</resilience4j.version>
|
2025-12-30 08:48:44 +00:00
|
|
|
|
<springdoc.version>2.3.0</springdoc.version>
|
|
|
|
|
|
<commons-lang3.version>3.14.0</commons-lang3.version>
|
2025-12-30 03:14:25 +00:00
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
|
|
|
|
<dependencyManagement>
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
|
<!-- Spring Boot -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-dependencies</artifactId>
|
|
|
|
|
|
<version>${spring-boot.version}</version>
|
|
|
|
|
|
<type>pom</type>
|
|
|
|
|
|
<scope>import</scope>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Spring Cloud -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
|
|
<artifactId>spring-cloud-dependencies</artifactId>
|
|
|
|
|
|
<version>${spring-cloud.version}</version>
|
|
|
|
|
|
<type>pom</type>
|
|
|
|
|
|
<scope>import</scope>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Spring Cloud 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>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- MyBatis Plus -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.baomidou</groupId>
|
|
|
|
|
|
<artifactId>mybatis-plus-boot-starter</artifactId>
|
|
|
|
|
|
<version>${mybatis-plus.version}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Lombok -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
|
|
<version>${lombok.version}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- JJWT -->
|
|
|
|
|
|
<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>
|
|
|
|
|
|
<scope>runtime</scope>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
|
|
|
|
<artifactId>jjwt-jackson</artifactId>
|
|
|
|
|
|
<version>${jjwt.version}</version>
|
|
|
|
|
|
<scope>runtime</scope>
|
|
|
|
|
|
</dependency>
|
2026-01-04 01:18:51 +00:00
|
|
|
|
<!-- Nacos Config & Discovery -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
|
|
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
|
|
|
|
|
|
<version>2023.0.1.0</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
|
|
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
|
|
|
|
|
<version>2023.0.1.0</version>
|
|
|
|
|
|
</dependency>
|
2025-12-30 06:05:31 +00:00
|
|
|
|
|
2025-12-30 08:48:44 +00:00
|
|
|
|
<!-- SpringDoc -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springdoc</groupId>
|
|
|
|
|
|
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
|
|
|
|
|
|
<version>${springdoc.version}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Commons Lang3 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
|
|
<artifactId>commons-lang3</artifactId>
|
|
|
|
|
|
<version>${commons-lang3.version}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
2025-12-30 06:05:31 +00:00
|
|
|
|
<!-- Resilience4j -->
|
|
|
|
|
|
<!-- Spring Boot 3集成模块,提供自动配置、注解支持和健康指标,是与Spring Boot集成的核心依赖 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>io.github.resilience4j</groupId>
|
|
|
|
|
|
<artifactId>resilience4j-spring-boot3</artifactId>
|
|
|
|
|
|
<version>${resilience4j.version}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<!-- 断路器模式 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>io.github.resilience4j</groupId>
|
|
|
|
|
|
<artifactId>resilience4j-circuitbreaker</artifactId>
|
|
|
|
|
|
<version>${resilience4j.version}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<!-- 限流功能 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>io.github.resilience4j</groupId>
|
|
|
|
|
|
<artifactId>resilience4j-ratelimiter</artifactId>
|
|
|
|
|
|
<version>${resilience4j.version}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<!-- 重试机制 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>io.github.resilience4j</groupId>
|
|
|
|
|
|
<artifactId>resilience4j-retry</artifactId>
|
|
|
|
|
|
<version>${resilience4j.version}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<!-- 舱壁隔离 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>io.github.resilience4j</groupId>
|
|
|
|
|
|
<artifactId>resilience4j-bulkhead</artifactId>
|
|
|
|
|
|
<version>${resilience4j.version}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<!-- 控制操作执行时间 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>io.github.resilience4j</groupId>
|
|
|
|
|
|
<artifactId>resilience4j-timelimiter</artifactId>
|
|
|
|
|
|
<version>${resilience4j.version}</version>
|
|
|
|
|
|
</dependency>
|
2025-12-30 03:14:25 +00:00
|
|
|
|
</dependencies>
|
|
|
|
|
|
</dependencyManagement>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<repositories>
|
|
|
|
|
|
<repository>
|
|
|
|
|
|
<id>central</id>
|
|
|
|
|
|
<name>Maven Central Repository</name>
|
|
|
|
|
|
<url>https://repo1.maven.org/maven2/</url>
|
|
|
|
|
|
<layout>default</layout>
|
|
|
|
|
|
<releases>
|
|
|
|
|
|
<enabled>true</enabled>
|
|
|
|
|
|
</releases>
|
|
|
|
|
|
<snapshots>
|
|
|
|
|
|
<enabled>false</enabled>
|
|
|
|
|
|
</snapshots>
|
|
|
|
|
|
</repository>
|
|
|
|
|
|
</repositories>
|
|
|
|
|
|
|
|
|
|
|
|
<pluginRepositories>
|
|
|
|
|
|
<pluginRepository>
|
|
|
|
|
|
<id>central</id>
|
|
|
|
|
|
<name>Maven Central Repository</name>
|
|
|
|
|
|
<url>https://repo1.maven.org/maven2/</url>
|
|
|
|
|
|
<layout>default</layout>
|
|
|
|
|
|
<releases>
|
|
|
|
|
|
<enabled>true</enabled>
|
|
|
|
|
|
</releases>
|
|
|
|
|
|
<snapshots>
|
|
|
|
|
|
<enabled>false</enabled>
|
|
|
|
|
|
</snapshots>
|
|
|
|
|
|
</pluginRepository>
|
|
|
|
|
|
</pluginRepositories>
|
|
|
|
|
|
|
|
|
|
|
|
<build>
|
|
|
|
|
|
<plugins>
|
|
|
|
|
|
<plugin>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
|
|
<version>${spring-boot.version}</version>
|
|
|
|
|
|
<configuration>
|
|
|
|
|
|
<skip>true</skip>
|
|
|
|
|
|
</configuration>
|
|
|
|
|
|
</plugin>
|
|
|
|
|
|
<plugin>
|
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
|
|
<version>3.11.0</version>
|
|
|
|
|
|
<configuration>
|
|
|
|
|
|
<source>${java.version}</source>
|
|
|
|
|
|
<target>${java.version}</target>
|
|
|
|
|
|
<encoding>UTF-8</encoding>
|
|
|
|
|
|
</configuration>
|
|
|
|
|
|
</plugin>
|
|
|
|
|
|
</plugins>
|
|
|
|
|
|
</build>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</project>
|