76 lines
2.4 KiB
XML
76 lines
2.4 KiB
XML
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|||
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|||
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|||
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|||
|
|
<parent>
|
|||
|
|
<groupId>com.nflg</groupId>
|
|||
|
|
<artifactId>product</artifactId>
|
|||
|
|
<version>1.0-SNAPSHOT</version>
|
|||
|
|
<relativePath>../pom.xml</relativePath>
|
|||
|
|
</parent>
|
|||
|
|
<modelVersion>4.0.0</modelVersion>
|
|||
|
|
<groupId>com.nflg.product.gateway</groupId>
|
|||
|
|
<artifactId>nflg-cloud-gateway</artifactId>
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
<dependencies>
|
|||
|
|
<!-- jeecg 微服务基础依赖-->
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>com.nflg.product.starter</groupId>
|
|||
|
|
<artifactId>nflg-boot-starter</artifactId>
|
|||
|
|
<version>${project.version}</version>
|
|||
|
|
|
|||
|
|
</dependency>
|
|||
|
|
<!-- spring-cloud网关-->
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>org.springframework.cloud</groupId>
|
|||
|
|
<artifactId>spring-cloud-starter-gateway</artifactId>
|
|||
|
|
</dependency>
|
|||
|
|
|
|||
|
|
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>com.nflg.product.base</groupId>
|
|||
|
|
<artifactId>nflg-common</artifactId>
|
|||
|
|
<version>1.0-SNAPSHOT</version>
|
|||
|
|
</dependency>
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
<!-- 熔断、降级 -->
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>org.springframework.cloud</groupId>
|
|||
|
|
<artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
|
|||
|
|
</dependency>
|
|||
|
|
<!--springboot2.X默认使用lettuce连接池,需要引入commons-pool2-->
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>org.apache.commons</groupId>
|
|||
|
|
<artifactId>commons-pool2</artifactId>
|
|||
|
|
</dependency>
|
|||
|
|
<!--server-api-->
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>javax.servlet</groupId>
|
|||
|
|
<artifactId>javax.servlet-api</artifactId>
|
|||
|
|
</dependency>
|
|||
|
|
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>com.nflg.product.base</groupId>
|
|||
|
|
<artifactId>nflg-common</artifactId>
|
|||
|
|
<version>1.0-SNAPSHOT</version>
|
|||
|
|
</dependency>
|
|||
|
|
</dependencies>
|
|||
|
|
<build>
|
|||
|
|
<plugins>
|
|||
|
|
<plugin>
|
|||
|
|
<groupId>org.springframework.boot</groupId>
|
|||
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|||
|
|
</plugin>
|
|||
|
|
</plugins>
|
|||
|
|
<resources>
|
|||
|
|
<resource>
|
|||
|
|
<directory>src/main/resources</directory>
|
|||
|
|
<filtering>true</filtering>
|
|||
|
|
</resource>
|
|||
|
|
</resources>
|
|||
|
|
</build>
|
|||
|
|
</project>
|