2022-08-17 18:12:43 +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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
<parent>
|
2022-09-17 12:48:40 +08:00
|
|
|
<artifactId>zyjblogs-cloud-dependencies</artifactId>
|
2022-08-17 18:12:43 +08:00
|
|
|
<groupId>cn.zyjblogs</groupId>
|
|
|
|
<version>1.0-SNAPSHOT</version>
|
2022-09-17 12:48:40 +08:00
|
|
|
<relativePath/>
|
2022-08-17 18:12:43 +08:00
|
|
|
</parent>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
2022-08-18 18:52:02 +08:00
|
|
|
<groupId>cn.zyjblogs.pubilc</groupId>
|
2022-08-17 18:12:43 +08:00
|
|
|
<artifactId>zyjblogs-gateway</artifactId>
|
2022-08-26 00:35:57 +08:00
|
|
|
<version>1.0-SNAPSHOT</version>
|
2022-08-17 18:12:43 +08:00
|
|
|
|
|
|
|
<properties>
|
|
|
|
<maven.compiler.source>11</maven.compiler.source>
|
|
|
|
<maven.compiler.target>11</maven.compiler.target>
|
|
|
|
</properties>
|
|
|
|
|
2022-08-18 18:52:02 +08:00
|
|
|
<dependencies>
|
|
|
|
<!-- 加入sentinel-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
|
|
<artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- 加入actuator -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-pool2</artifactId>
|
|
|
|
</dependency>
|
2022-08-26 00:35:57 +08:00
|
|
|
<dependency>
|
|
|
|
<artifactId>zyjblogs-web-spring-boot-starter</artifactId>
|
|
|
|
<groupId>cn.zyjblogs.starter</groupId>
|
2022-08-26 16:27:03 +08:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2022-08-26 00:35:57 +08:00
|
|
|
</dependency>
|
2022-09-17 12:48:40 +08:00
|
|
|
<!-- 集成redis-->
|
|
|
|
<!-- <dependency>-->
|
|
|
|
<!-- <groupId>cn.zyjblogs.starter</groupId>-->
|
|
|
|
<!-- <artifactId>zyjblogs-redis-spring-boot-starter</artifactId>-->
|
|
|
|
<!-- </dependency>-->
|
|
|
|
|
2022-08-18 18:52:02 +08:00
|
|
|
<!-- 集成nacos-->
|
2022-09-17 12:48:40 +08:00
|
|
|
<!-- 集成 Nacos 作为服务注册中心配置 -->
|
2022-08-18 18:52:02 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<!-- 集成 Nacos 作为服务注册中心配置 -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
|
|
|
</dependency>
|
2022-09-17 12:48:40 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
<artifactId>spring-cloud-starter-loadbalancer</artifactId>
|
|
|
|
</dependency>
|
2022-08-18 18:52:02 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
<artifactId>spring-cloud-starter-openfeign</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<!-- 网关 配置 -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
<artifactId>spring-cloud-starter-gateway</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<!--sentinel持久化存储-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.alibaba.csp</groupId>
|
|
|
|
<artifactId>sentinel-datasource-nacos</artifactId>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2022-08-17 18:12:43 +08:00
|
|
|
</project>
|