pom.xml 2.8 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>2.10.0</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 58 59 60
		<dependency>
			<groupId>com.pig4cloud</groupId>
			<artifactId>pig-common-sentinel</artifactId>
		</dependency>
61
		<!--验证码 源码: https://github.com/pig-mesh/easy-captcha -->
pig_冷冷's avatar
pig_冷冷 已提交
62
		<dependency>
63
			<groupId>com.pig4cloud.plugin</groupId>
64 65
			<artifactId>easy-captcha</artifactId>
			<version>${captcha.version}</version>
pig_冷冷's avatar
pig_冷冷 已提交
66
		</dependency>
67 68
		<!--接口文档-->
		<dependency>
69 70
			<groupId>com.pig4cloud</groupId>
			<artifactId>pig-common-swagger</artifactId>
71
		</dependency>
pig_冷冷's avatar
pig_冷冷 已提交
72 73 74 75 76 77 78 79
	</dependencies>

	<build>
		<plugins>
			<plugin>
				<groupId>org.springframework.boot</groupId>
				<artifactId>spring-boot-maven-plugin</artifactId>
			</plugin>
80 81 82 83
			<plugin>
				<groupId>io.fabric8</groupId>
				<artifactId>docker-maven-plugin</artifactId>
			</plugin>
pig_冷冷's avatar
pig_冷冷 已提交
84 85 86 87
		</plugins>
	</build>

</project>