pom.xml 3.1 KB
Newer Older
pig_冷冷's avatar
pig_冷冷 已提交
1 2
<?xml version="1.0" encoding="UTF-8"?>
<!--
3 4 5 6 7 8 9 10 11 12 13 14 15
  ~ 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.
pig_冷冷's avatar
pig_冷冷 已提交
16 17 18 19 20 21 22 23
  -->

<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>
24
		<version>3.3.1</version>
pig_冷冷's avatar
pig_冷冷 已提交
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
	</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>
pig_冷冷's avatar
pig_冷冷 已提交
42 43 44 45 46
		<!--注册中心客户端-->
		<dependency>
			<groupId>com.alibaba.cloud</groupId>
			<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
		</dependency>
pig_冷冷's avatar
pig_冷冷 已提交
47 48
		<!--配置中心客户端-->
		<dependency>
pig_冷冷's avatar
pig_冷冷 已提交
49 50
			<groupId>com.alibaba.cloud</groupId>
			<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
pig_冷冷's avatar
pig_冷冷 已提交
51
		</dependency>
52
		<!--断路器依赖-->
53 54 55 56
		<dependency>
			<groupId>com.alibaba.cloud</groupId>
			<artifactId>spring-cloud-alibaba-sentinel-gateway</artifactId>
		</dependency>
57
		<dependency>
58 59 60 61 62 63 64
			<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>
65
		</dependency>
66
		<!--验证码 源码: https://github.com/pig-mesh/easy-captcha -->
pig_冷冷's avatar
pig_冷冷 已提交
67
		<dependency>
68
			<groupId>com.pig4cloud.plugin</groupId>
69
			<artifactId>captcha-spring-boot-starter</artifactId>
70
			<version>${captcha.version}</version>
pig_冷冷's avatar
pig_冷冷 已提交
71
		</dependency>
72 73 74 75 76
		<!-- 工具包依赖 -->
		<dependency>
			<groupId>com.pig4cloud</groupId>
			<artifactId>pig-common-core</artifactId>
		</dependency>
77 78
		<!--接口文档-->
		<dependency>
79 80
			<groupId>com.pig4cloud</groupId>
			<artifactId>pig-common-swagger</artifactId>
81
		</dependency>
pig_冷冷's avatar
pig_冷冷 已提交
82 83 84 85 86 87 88 89
	</dependencies>

	<build>
		<plugins>
			<plugin>
				<groupId>org.springframework.boot</groupId>
				<artifactId>spring-boot-maven-plugin</artifactId>
			</plugin>
90 91 92 93
			<plugin>
				<groupId>io.fabric8</groupId>
				<artifactId>docker-maven-plugin</artifactId>
			</plugin>
pig_冷冷's avatar
pig_冷冷 已提交
94 95 96 97
		</plugins>
	</build>

</project>