2020-06-24 18:20:09 +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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
2020-09-01 20:00:08 +08:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
2020-06-24 18:20:09 +08:00
|
|
|
<parent>
|
2020-09-01 20:00:08 +08:00
|
|
|
<artifactId>youlai-mall</artifactId>
|
|
|
|
<groupId>com.youlai</groupId>
|
2023-06-06 01:02:44 +08:00
|
|
|
<version>3.0.0</version>
|
2020-06-24 18:20:09 +08:00
|
|
|
</parent>
|
2020-09-01 20:00:08 +08:00
|
|
|
|
2020-06-28 23:40:56 +08:00
|
|
|
<artifactId>youlai-gateway</artifactId>
|
2021-01-26 20:17:51 +08:00
|
|
|
<packaging>jar</packaging>
|
2020-06-28 23:40:56 +08:00
|
|
|
|
2020-12-05 12:17:09 +08:00
|
|
|
<properties>
|
2022-03-16 15:21:53 +08:00
|
|
|
<service.port>9999</service.port>
|
|
|
|
<service.nodeport>32006</service.nodeport>
|
2020-12-05 12:17:09 +08:00
|
|
|
</properties>
|
|
|
|
|
2020-06-24 18:20:09 +08:00
|
|
|
<dependencies>
|
2021-04-01 18:08:29 +08:00
|
|
|
<!--Spring Cloud & Alibaba-->
|
2020-09-01 20:00:08 +08:00
|
|
|
<dependency>
|
2021-01-26 20:17:51 +08:00
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
<artifactId>spring-cloud-starter-bootstrap</artifactId>
|
2020-09-01 20:00:08 +08:00
|
|
|
</dependency>
|
|
|
|
|
2020-06-24 18:20:09 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
2020-08-23 14:26:47 +08:00
|
|
|
<artifactId>spring-cloud-starter-gateway</artifactId>
|
2020-06-24 18:20:09 +08:00
|
|
|
</dependency>
|
2020-09-01 20:00:08 +08:00
|
|
|
|
2021-04-01 18:08:29 +08:00
|
|
|
<!-- 注册中心-->
|
2020-06-24 18:20:09 +08:00
|
|
|
<dependency>
|
2020-09-01 20:00:08 +08:00
|
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
2020-06-24 18:20:09 +08:00
|
|
|
</dependency>
|
2020-08-23 14:26:47 +08:00
|
|
|
|
2021-04-02 22:49:15 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
<artifactId>spring-cloud-starter-loadbalancer</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
2021-04-01 18:08:29 +08:00
|
|
|
<!-- 配置中心 -->
|
2020-06-24 18:20:09 +08:00
|
|
|
<dependency>
|
2020-09-01 20:00:08 +08:00
|
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
2022-10-31 01:00:01 +08:00
|
|
|
<!-- OAuth2 Client -->
|
2020-09-01 20:00:08 +08:00
|
|
|
<dependency>
|
2022-10-31 01:00:01 +08:00
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-oauth2-client</artifactId>
|
2020-09-01 20:00:08 +08:00
|
|
|
</dependency>
|
2021-01-26 20:17:51 +08:00
|
|
|
|
2022-07-25 00:53:06 +08:00
|
|
|
<!-- Sentinel -->
|
2021-01-26 20:17:51 +08:00
|
|
|
<dependency>
|
2021-04-01 18:08:29 +08:00
|
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
|
|
<artifactId>spring-cloud-alibaba-sentinel-gateway</artifactId>
|
|
|
|
</dependency>
|
2022-07-25 00:53:06 +08:00
|
|
|
|
2021-04-01 18:08:29 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
|
|
<artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
|
2021-01-26 20:17:51 +08:00
|
|
|
</dependency>
|
2021-04-05 23:59:32 +08:00
|
|
|
|
2021-04-04 17:11:21 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.alibaba.csp</groupId>
|
|
|
|
<artifactId>sentinel-datasource-nacos</artifactId>
|
|
|
|
</dependency>
|
2021-01-26 20:17:51 +08:00
|
|
|
|
2021-04-01 18:08:29 +08:00
|
|
|
<!-- Api文档 -->
|
2021-01-26 20:17:51 +08:00
|
|
|
<dependency>
|
2021-04-01 18:08:29 +08:00
|
|
|
<groupId>com.github.xiaoymin</groupId>
|
2023-06-06 01:02:44 +08:00
|
|
|
<artifactId>knife4j-gateway-spring-boot-starter</artifactId>
|
2021-01-26 20:17:51 +08:00
|
|
|
</dependency>
|
|
|
|
|
2021-04-01 18:08:29 +08:00
|
|
|
<!-- 配置读取 -->
|
2021-01-27 15:45:03 +08:00
|
|
|
<dependency>
|
2021-03-12 01:18:30 +08:00
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
2021-01-27 15:45:03 +08:00
|
|
|
</dependency>
|
2021-02-25 20:08:21 +08:00
|
|
|
|
2021-04-01 18:08:29 +08:00
|
|
|
<!-- 公共依赖 -->
|
2021-02-25 20:08:21 +08:00
|
|
|
<dependency>
|
2021-04-01 18:08:29 +08:00
|
|
|
<groupId>com.youlai</groupId>
|
|
|
|
<artifactId>common-core</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
2021-08-29 00:56:16 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.youlai</groupId>
|
|
|
|
<artifactId>common-log</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
2021-04-01 18:08:29 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.youlai</groupId>
|
|
|
|
<artifactId>common-redis</artifactId>
|
2021-02-25 20:08:21 +08:00
|
|
|
</dependency>
|
2020-06-24 18:20:09 +08:00
|
|
|
</dependencies>
|
|
|
|
|
2020-12-03 23:55:36 +08:00
|
|
|
<build>
|
2021-08-13 17:53:59 +08:00
|
|
|
<finalName>${project.artifactId}</finalName>
|
2020-12-03 23:55:36 +08:00
|
|
|
<plugins>
|
2020-12-05 12:17:09 +08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
2022-05-27 22:54:29 +08:00
|
|
|
|
|
|
|
<configuration>
|
|
|
|
|
|
|
|
<excludes>
|
|
|
|
<!-- 打包忽略lombok(作用于编译阶段)-->
|
|
|
|
<exclude>
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
</exclude>
|
|
|
|
</excludes>
|
|
|
|
|
|
|
|
</configuration>
|
2020-12-05 12:17:09 +08:00
|
|
|
</plugin>
|
2020-12-03 23:55:36 +08:00
|
|
|
</plugins>
|
|
|
|
</build>
|
2021-06-07 01:49:41 +08:00
|
|
|
|
2020-08-23 14:26:47 +08:00
|
|
|
</project>
|