2019-02-01 21:06:59 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!--
|
2020-09-14 21:39:42 +08:00
|
|
|
~ Copyright (c) 2020 pig4cloud Authors. All Rights Reserved.
|
|
|
|
~
|
|
|
|
~ Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
~ you may not use this file except in compliance with the License.
|
|
|
|
~ You may obtain a copy of the License at
|
|
|
|
~
|
|
|
|
~ http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
~
|
|
|
|
~ Unless required by applicable law or agreed to in writing, software
|
|
|
|
~ distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
~ See the License for the specific language governing permissions and
|
|
|
|
~ limitations under the License.
|
2019-02-01 21:06:59 +08:00
|
|
|
-->
|
|
|
|
|
|
|
|
<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.pig4cloud</groupId>
|
|
|
|
<artifactId>pig</artifactId>
|
2021-05-21 11:45:25 +08:00
|
|
|
<version>3.2.0</version>
|
2019-02-01 21:06:59 +08:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<artifactId>pig-gateway</artifactId>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
|
|
|
<description>pig 服务网关,基于 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>
|
2019-11-29 17:20:52 +08:00
|
|
|
<!--注册中心客户端-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
|
|
|
</dependency>
|
2019-02-01 21:06:59 +08:00
|
|
|
<!--配置中心客户端-->
|
|
|
|
<dependency>
|
2019-11-29 17:20:52 +08:00
|
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
|
2019-02-01 21:06:59 +08:00
|
|
|
</dependency>
|
2020-06-11 16:52:05 +08:00
|
|
|
<!--断路器依赖-->
|
2020-06-11 22:48:42 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
|
|
<artifactId>spring-cloud-alibaba-sentinel-gateway</artifactId>
|
|
|
|
</dependency>
|
2020-06-11 16:52:05 +08:00
|
|
|
<dependency>
|
2020-12-23 12:22:02 +08:00
|
|
|
<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>
|
2020-06-11 16:52:05 +08:00
|
|
|
</dependency>
|
2020-10-04 14:30:40 +08:00
|
|
|
<!--验证码 源码: https://github.com/pig-mesh/easy-captcha -->
|
2019-02-01 21:06:59 +08:00
|
|
|
<dependency>
|
2020-07-30 15:06:09 +08:00
|
|
|
<groupId>com.pig4cloud.plugin</groupId>
|
2020-10-04 19:51:12 +08:00
|
|
|
<artifactId>captcha-spring-boot-starter</artifactId>
|
2020-07-29 11:56:33 +08:00
|
|
|
<version>${captcha.version}</version>
|
2019-02-01 21:06:59 +08:00
|
|
|
</dependency>
|
2020-12-23 12:22:02 +08:00
|
|
|
<!-- 工具包依赖 -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.pig4cloud</groupId>
|
|
|
|
<artifactId>pig-common-core</artifactId>
|
|
|
|
</dependency>
|
2019-11-28 08:20:49 +08:00
|
|
|
<!--接口文档-->
|
|
|
|
<dependency>
|
2020-10-04 14:30:40 +08:00
|
|
|
<groupId>com.pig4cloud</groupId>
|
|
|
|
<artifactId>pig-common-swagger</artifactId>
|
2019-11-28 08:20:49 +08:00
|
|
|
</dependency>
|
2019-02-01 21:06:59 +08:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
</plugin>
|
2020-01-17 20:46:22 +08:00
|
|
|
<plugin>
|
|
|
|
<groupId>io.fabric8</groupId>
|
|
|
|
<artifactId>docker-maven-plugin</artifactId>
|
|
|
|
</plugin>
|
2019-02-01 21:06:59 +08:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
</project>
|