65 lines
2.2 KiB
XML
65 lines
2.2 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>
|
|
<artifactId>xsnb-dev</artifactId>
|
|
<groupId>com.xsnb</groupId>
|
|
<version>1.0.0</version>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>xsnb-gateway</artifactId>
|
|
|
|
<dependencies>
|
|
<!-- 公共模块 -->
|
|
<dependency>
|
|
<groupId>com.xsnb</groupId>
|
|
<artifactId>xsnb-common</artifactId>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>com.baomidou</groupId>
|
|
<artifactId>mybatis-plus</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>com.baomidou</groupId>
|
|
<artifactId>mybatis-plus-boot-starter</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<!-- 网关依赖 -->
|
|
<!-- SpringCloud Gateway -->
|
|
<dependency>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-starter-gateway</artifactId>
|
|
</dependency>
|
|
<!-- SpringCloud Alibaba Sentinel Gateway -->
|
|
<dependency>
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
<artifactId>spring-cloud-alibaba-sentinel-gateway</artifactId>
|
|
</dependency>
|
|
<!-- 引入阿里巴巴sentinel限流 依赖-->
|
|
<dependency>
|
|
<groupId>com.alibaba.csp</groupId>
|
|
<artifactId>sentinel-spring-cloud-gateway-adapter</artifactId>
|
|
</dependency>
|
|
</dependencies>
|
|
<build>
|
|
<finalName>${project.artifactId}</finalName>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>repackage</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|
|
|