2022-05-05 17:31:24 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
2023-02-10 07:42:01 +00:00
|
|
|
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">
|
2022-05-05 17:31:24 +00:00
|
|
|
<parent>
|
|
|
|
<artifactId>yudao</artifactId>
|
|
|
|
<groupId>cn.iocoder.cloud</groupId>
|
|
|
|
<version>${revision}</version>
|
|
|
|
</parent>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>yudao-gateway</artifactId>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
|
|
|
<name>${project.artifactId}</name>
|
|
|
|
<description>API 服务网关,基于 Spring Cloud Gateway 实现</description>
|
|
|
|
<url>https://github.com/YunaiV/yudao-cloud</url>
|
|
|
|
|
|
|
|
<dependencies>
|
2022-06-04 15:50:46 +00:00
|
|
|
<!-- Spring Cloud 基础 -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
<artifactId>spring-cloud-starter-bootstrap</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
2022-06-02 17:11:13 +00:00
|
|
|
<!-- 业务组件 -->
|
2022-06-18 01:22:38 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>cn.iocoder.cloud</groupId>
|
|
|
|
<artifactId>yudao-spring-boot-starter-banner</artifactId>
|
2023-02-10 07:42:01 +00:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.springdoc</groupId>
|
|
|
|
<artifactId>springdoc-openapi-webmvc-core</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2022-06-18 01:22:38 +00:00
|
|
|
</dependency>
|
2022-06-02 17:11:13 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>cn.iocoder.cloud</groupId>
|
|
|
|
<artifactId>yudao-module-system-api</artifactId>
|
|
|
|
<version>${revision}</version>
|
2023-02-10 07:42:01 +00:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.springdoc</groupId>
|
|
|
|
<artifactId>springdoc-openapi-webmvc-core</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2022-06-02 17:11:13 +00:00
|
|
|
</dependency>
|
|
|
|
|
2022-06-02 15:43:34 +00:00
|
|
|
<!-- Gateway 网关相关 -->
|
2022-05-05 17:31:24 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
<artifactId>spring-cloud-starter-gateway</artifactId>
|
|
|
|
</dependency>
|
2022-06-02 15:43:34 +00:00
|
|
|
|
2023-12-08 16:54:34 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
2022-11-11 15:16:36 +00:00
|
|
|
<dependency>
|
2023-03-04 07:40:50 +00:00
|
|
|
<groupId>com.github.xiaoymin</groupId> <!-- 接口文档 -->
|
2023-03-04 09:57:58 +00:00
|
|
|
<artifactId>knife4j-gateway-spring-boot-starter</artifactId>
|
2022-11-11 15:16:36 +00:00
|
|
|
</dependency>
|
|
|
|
|
2022-06-02 15:43:34 +00:00
|
|
|
<!-- RPC 远程调用相关 -->
|
|
|
|
<dependency>
|
2022-06-11 15:13:58 +00:00
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
<artifactId>spring-cloud-starter-loadbalancer</artifactId>
|
2022-06-02 15:43:34 +00:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- Registry 注册中心相关 -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
2022-06-04 15:50:46 +00:00
|
|
|
<!-- Config 配置中心相关 -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
|
|
|
|
</dependency>
|
2022-06-18 01:22:38 +00:00
|
|
|
|
|
|
|
<!-- 监控相关 -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>cn.iocoder.cloud</groupId>
|
|
|
|
<artifactId>yudao-spring-boot-starter-monitor</artifactId>
|
|
|
|
</dependency>
|
2023-03-05 12:28:12 +00:00
|
|
|
|
|
|
|
<!-- 工具类相关 -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
<artifactId>guava</artifactId>
|
|
|
|
</dependency>
|
2022-05-05 17:31:24 +00:00
|
|
|
</dependencies>
|
|
|
|
|
2022-10-27 02:21:15 +00:00
|
|
|
|
2022-06-04 11:14:35 +00:00
|
|
|
<build>
|
|
|
|
<!-- 设置构建的 jar 包名 -->
|
|
|
|
<finalName>${project.artifactId}</finalName>
|
|
|
|
<plugins>
|
|
|
|
<!-- 打包 -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
2023-03-14 14:36:46 +00:00
|
|
|
<version>${spring.boot.version}</version> <!-- 如果 spring.boot.version 版本修改,则这里也要跟着修改 -->
|
2022-06-04 11:14:35 +00:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>repackage</goal> <!-- 将引入的 jar 打入其中 -->
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
2022-05-05 17:31:24 +00:00
|
|
|
</project>
|