2026-04-02 10:58:56 +08:00
|
|
|
|
<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
<parent>
|
|
|
|
|
|
<groupId>org.nl</groupId>
|
|
|
|
|
|
<artifactId>omsCloud</artifactId>
|
|
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
|
|
<relativePath>../pom.xml</relativePath>
|
|
|
|
|
|
</parent>
|
|
|
|
|
|
<groupId>org.nl</groupId>
|
|
|
|
|
|
<artifactId>oms-gateway</artifactId>
|
|
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
|
|
<name>gateway</name>
|
|
|
|
|
|
<description>gateway</description>
|
|
|
|
|
|
<properties>
|
|
|
|
|
|
<java.version>17</java.version>
|
|
|
|
|
|
</properties>
|
|
|
|
|
|
<dependencies>
|
2026-04-03 16:14:47 +08:00
|
|
|
|
<!-- Spring Cloud Gateway(3.x官方网关) -->
|
2026-04-02 10:58:56 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
2026-04-03 16:14:47 +08:00
|
|
|
|
<artifactId>spring-cloud-starter-gateway</artifactId>
|
2026-04-02 10:58:56 +08:00
|
|
|
|
</dependency>
|
2026-04-03 16:14:47 +08:00
|
|
|
|
<!-- Nacos注册 -->
|
2026-04-02 10:58:56 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
|
|
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
|
|
|
|
|
</dependency>
|
2026-04-03 16:14:47 +08:00
|
|
|
|
<!-- 负载均衡(3.x必须加) -->
|
2026-04-02 10:58:56 +08:00
|
|
|
|
<dependency>
|
2026-04-03 16:14:47 +08:00
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
|
|
<artifactId>spring-cloud-starter-loadbalancer</artifactId>
|
2026-04-02 10:58:56 +08:00
|
|
|
|
</dependency>
|
|
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
|
|
<build>
|
|
|
|
|
|
<plugins>
|
|
|
|
|
|
<plugin>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
|
|
</plugin>
|
|
|
|
|
|
</plugins>
|
|
|
|
|
|
</build>
|
|
|
|
|
|
|
|
|
|
|
|
</project>
|