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"
|
2022-03-27 23:18:38 +08:00
|
|
|
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>
|
2024-01-03 14:41:20 +08:00
|
|
|
<version>3.7.3</version>
|
2022-03-27 23:18:38 +08:00
|
|
|
</parent>
|
2019-02-01 21:06:59 +08:00
|
|
|
|
2022-03-27 23:18:38 +08:00
|
|
|
<artifactId>pig-gateway</artifactId>
|
|
|
|
<packaging>jar</packaging>
|
2019-02-01 21:06:59 +08:00
|
|
|
|
2022-03-27 23:18:38 +08:00
|
|
|
<description>pig 服务网关,基于 spring cloud gateway</description>
|
2019-02-01 21:06:59 +08:00
|
|
|
|
2022-03-27 23:18:38 +08:00
|
|
|
<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>
|
|
|
|
<!-- LB 扩展 -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
<artifactId>spring-cloud-starter-loadbalancer</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<!--caffeine 替换LB 默认缓存实现-->
|
2023-07-09 13:40:36 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.ben-manes.caffeine</groupId>
|
|
|
|
<artifactId>caffeine</artifactId>
|
|
|
|
</dependency>
|
2022-03-27 23:18:38 +08:00
|
|
|
<!--验证码 源码: https://github.com/pig-mesh/easy-captcha -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.pig4cloud.plugin</groupId>
|
|
|
|
<artifactId>captcha-spring-boot-starter</artifactId>
|
|
|
|
<version>${captcha.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- 工具包依赖 -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.pig4cloud</groupId>
|
|
|
|
<artifactId>pig-common-core</artifactId>
|
|
|
|
</dependency>
|
2022-10-10 15:34:59 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>cn.hutool</groupId>
|
|
|
|
<artifactId>hutool-crypto</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>cn.hutool</groupId>
|
|
|
|
<artifactId>hutool-http</artifactId>
|
|
|
|
</dependency>
|
2022-03-27 23:18:38 +08:00
|
|
|
<!--接口文档-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springdoc</groupId>
|
2022-12-23 12:29:45 +08:00
|
|
|
<artifactId>springdoc-openapi-starter-webflux-ui</artifactId>
|
2022-03-27 23:18:38 +08:00
|
|
|
</dependency>
|
2023-09-06 14:20:02 +08:00
|
|
|
<!--引入Knife4j的官方ui包-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.springboot</groupId>
|
|
|
|
<artifactId>knife4j-openapi3-ui</artifactId>
|
|
|
|
</dependency>
|
2022-03-27 23:18:38 +08:00
|
|
|
</dependencies>
|
2019-02-01 21:06:59 +08:00
|
|
|
|
2022-03-27 23:18:38 +08:00
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>io.fabric8</groupId>
|
|
|
|
<artifactId>docker-maven-plugin</artifactId>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2019-02-01 21:06:59 +08:00
|
|
|
|
|
|
|
</project>
|