You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
85 lines
2.5 KiB
85 lines
2.5 KiB
<?xml version="1.0" encoding="UTF-8"?> |
|
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" |
|
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>com.cloud</groupId> |
|
<artifactId>kicc</artifactId> |
|
<version>1.0.0</version> |
|
</parent> |
|
|
|
<artifactId>kicc-gateway</artifactId> |
|
<packaging>jar</packaging> |
|
|
|
<description>kicc 服务网关,基于 spring cloud gateway</description> |
|
|
|
<dependencies> |
|
<!--gateway 网关依赖,内置webflux 依赖--> |
|
<dependency> |
|
<groupId>org.springframework.cloud</groupId> |
|
<artifactId>spring-cloud-starter-gateway</artifactId> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.springframework.boot</groupId> |
|
<artifactId>spring-boot-starter-data-redis-reactive</artifactId> |
|
</dependency> |
|
<!--注册中心客户端--> |
|
<dependency> |
|
<groupId>com.alibaba.cloud</groupId> |
|
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId> |
|
</dependency> |
|
<!--配置中心客户端--> |
|
<dependency> |
|
<groupId>com.alibaba.cloud</groupId> |
|
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId> |
|
</dependency> |
|
<!--断路器依赖--> |
|
<dependency> |
|
<groupId>com.alibaba.cloud</groupId> |
|
<artifactId>spring-cloud-alibaba-sentinel-gateway</artifactId> |
|
</dependency> |
|
<dependency> |
|
<groupId>com.alibaba.cloud</groupId> |
|
<artifactId>spring-cloud-starter-alibaba-sentinel</artifactId> |
|
</dependency> |
|
<!-- LB 扩展 --> |
|
<dependency> |
|
<groupId>org.springframework.cloud</groupId> |
|
<artifactId>spring-cloud-starter-loadbalancer</artifactId> |
|
</dependency> |
|
<!--caffeine 替换LB 默认缓存实现--> |
|
<dependency> |
|
<groupId>com.github.ben-manes.caffeine</groupId> |
|
<artifactId>caffeine</artifactId> |
|
</dependency> |
|
<!--验证码处理 --> |
|
<dependency> |
|
<groupId>com.pig4cloud.plugin</groupId> |
|
<artifactId>captcha-spring-boot-starter</artifactId> |
|
</dependency> |
|
<!--工具包依赖 --> |
|
<dependency> |
|
<groupId>com.cloud</groupId> |
|
<artifactId>kicc-common-core</artifactId> |
|
</dependency> |
|
<!--接口文档--> |
|
<dependency> |
|
<groupId>com.cloud</groupId> |
|
<artifactId>kicc-common-swagger</artifactId> |
|
</dependency> |
|
</dependencies> |
|
|
|
<build> |
|
<plugins> |
|
<plugin> |
|
<groupId>io.fabric8</groupId> |
|
<artifactId>docker-maven-plugin</artifactId> |
|
</plugin> |
|
<plugin> |
|
<groupId>org.springframework.boot</groupId> |
|
<artifactId>spring-boot-maven-plugin</artifactId> |
|
</plugin> |
|
</plugins> |
|
</build> |
|
|
|
</project>
|
|
|