2024-01-21 17:37:03 +08:00
|
|
|
<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>
|
2024-03-31 20:27:28 +08:00
|
|
|
<parent>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
|
|
|
<version>3.0.2</version>
|
|
|
|
|
<relativePath/>
|
|
|
|
|
</parent>
|
2024-01-21 17:37:03 +08:00
|
|
|
<artifactId>api</artifactId>
|
|
|
|
|
<packaging>jar</packaging>
|
2024-05-06 11:40:35 +08:00
|
|
|
<version>2.0.0</version>
|
2024-01-21 17:37:03 +08:00
|
|
|
<name>api</name>
|
|
|
|
|
<url>http://maven.apache.org</url>
|
|
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
|
<java.version>17</java.version>
|
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
|
|
|
<spring-boot.version>3.0.2</spring-boot.version>
|
|
|
|
|
<spring-cloud-alibaba.version>2022.0.0.0</spring-cloud-alibaba.version>
|
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
<!-- <dependency>-->
|
|
|
|
|
<!-- <groupId>org.springframework.boot</groupId>-->
|
|
|
|
|
<!-- <artifactId>spring-boot-starter</artifactId>-->
|
|
|
|
|
<!-- <version>${spring-boot.version}</version>-->
|
|
|
|
|
<!-- </dependency>-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
|
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
|
|
|
|
<version>${spring-cloud-alibaba.version}</version>
|
|
|
|
|
</dependency>
|
2024-02-26 10:46:09 +08:00
|
|
|
<!-- <dependency>-->
|
|
|
|
|
<!-- <groupId>org.springframework.cloud</groupId>-->
|
|
|
|
|
<!-- <artifactId>spring-cloud-starter</artifactId>-->
|
|
|
|
|
<!-- <version>4.0.0</version>-->
|
|
|
|
|
<!-- </dependency>-->
|
2024-01-21 18:18:09 +08:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
|
<artifactId>spring-cloud-starter-loadbalancer</artifactId>
|
|
|
|
|
<version>4.0.0</version>
|
|
|
|
|
</dependency>
|
2024-01-21 17:37:03 +08:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
|
<artifactId>spring-cloud-starter-gateway</artifactId>
|
|
|
|
|
<version>4.0.0</version>
|
|
|
|
|
</dependency>
|
2024-08-04 15:38:00 +08:00
|
|
|
<!-- <dependency>-->
|
|
|
|
|
<!-- <groupId>org.springframework.cloud</groupId>-->
|
|
|
|
|
<!-- <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>-->
|
|
|
|
|
<!-- </dependency>-->
|
2024-01-25 20:31:16 +08:00
|
|
|
<!-- https://mvnrepository.com/artifact/com.alibaba.cloud/spring-cloud-starter-alibaba-sentinel -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
|
|
|
<artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
|
|
|
|
|
<version>${spring-cloud-alibaba.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- <dependency>-->
|
2024-02-26 10:46:09 +08:00
|
|
|
<!-- <groupId>org.springframework.security</groupId>-->
|
|
|
|
|
<!-- <artifactId>spring-security-config</artifactId>-->
|
|
|
|
|
<!-- </dependency>-->
|
|
|
|
|
<!-- <dependency>-->
|
|
|
|
|
<!-- <groupId>org.springframework.security</groupId>-->
|
|
|
|
|
<!-- <artifactId>spring-security-web</artifactId>-->
|
|
|
|
|
<!-- </dependency>-->
|
|
|
|
|
<!-- <dependency>-->
|
|
|
|
|
<!-- <groupId>junit</groupId>-->
|
|
|
|
|
<!-- <artifactId>junit</artifactId>-->
|
|
|
|
|
<!-- <version>4.13.2</version>-->
|
|
|
|
|
<!-- <scope>test</scope>-->
|
|
|
|
|
<!-- </dependency>-->
|
2024-01-22 14:35:36 +08:00
|
|
|
<!-- Token生成与解析-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
|
|
|
<artifactId>jjwt-api</artifactId>
|
|
|
|
|
<version>0.12.3</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
|
|
|
<artifactId>jjwt-impl</artifactId>
|
|
|
|
|
<version>0.12.3</version>
|
|
|
|
|
<scope>runtime</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
|
|
|
<artifactId>jjwt-jackson</artifactId>
|
|
|
|
|
<version>0.12.3</version>
|
|
|
|
|
<scope>runtime</scope>
|
|
|
|
|
</dependency>
|
2024-01-21 17:37:03 +08:00
|
|
|
</dependencies>
|
|
|
|
|
<dependencyManagement>
|
|
|
|
|
<dependencies>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-dependencies</artifactId>
|
|
|
|
|
<version>${spring-boot.version}</version>
|
|
|
|
|
<type>pom</type>
|
|
|
|
|
<scope>import</scope>
|
|
|
|
|
</dependency>
|
2024-08-04 15:38:00 +08:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
|
<artifactId>spring-cloud-dependencies</artifactId>
|
|
|
|
|
<version>2022.0.0</version> <!-- 对应你使用的Spring Cloud版本 -->
|
|
|
|
|
<type>pom</type>
|
|
|
|
|
<scope>import</scope>
|
|
|
|
|
</dependency>
|
2024-01-21 17:37:03 +08:00
|
|
|
<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>
|
|
|
|
|
</dependencies>
|
|
|
|
|
</dependencyManagement>
|
2024-03-31 20:27:28 +08:00
|
|
|
<build>
|
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
|
</plugin>
|
|
|
|
|
</plugins>
|
|
|
|
|
</build>
|
2024-01-21 17:37:03 +08:00
|
|
|
</project>
|