You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
118 lines
3.9 KiB
118 lines
3.9 KiB
12 months ago
|
<?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>huoran</artifactId>
|
||
|
<groupId>com.huoran.parent</groupId>
|
||
|
<version>1.0-SNAPSHOT</version>
|
||
|
</parent>
|
||
|
<modelVersion>4.0.0</modelVersion>
|
||
|
|
||
|
<groupId>com.huoran.common</groupId>
|
||
|
<artifactId>gateway</artifactId>
|
||
|
<version>1.0.0</version>
|
||
|
<name>gateway</name>
|
||
|
<description>或然项目子工程-网关微服务</description>
|
||
|
|
||
|
<properties>
|
||
|
<java.version>1.8</java.version>
|
||
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||
|
</properties>
|
||
|
|
||
|
<dependencies>
|
||
|
|
||
|
<!-- <dependency>
|
||
|
<groupId>com.alibaba.cloud</groupId>
|
||
|
<artifactId>spring-cloud-alibaba-sentinel-gateway</artifactId>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
||
|
</dependency>-->
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>com.huoran.common</groupId>
|
||
|
<artifactId>common</artifactId>
|
||
|
<version>0.0.1-SNAPSHOT</version>
|
||
|
<exclusions>
|
||
|
<exclusion>
|
||
|
<artifactId>spring-boot-starter-web</artifactId>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
</exclusion>
|
||
|
<exclusion>
|
||
|
<groupId>com.alibaba.cloud</groupId>
|
||
|
<artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
|
||
|
</exclusion>
|
||
|
</exclusions>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>com.huoran.api</groupId>
|
||
|
<artifactId>api</artifactId>
|
||
|
<version>1.0-SNAPSHOT</version>
|
||
|
<exclusions>
|
||
|
<exclusion>
|
||
|
<artifactId>spring-boot-starter-web</artifactId>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
</exclusion>
|
||
|
</exclusions>
|
||
|
<scope>compile</scope>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- 网关 -->
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.cloud</groupId>
|
||
|
<artifactId>spring-cloud-starter-gateway</artifactId>
|
||
|
</dependency>
|
||
|
|
||
|
<!--服务注册-->
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.cloud</groupId>
|
||
|
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
||
|
</dependency>
|
||
|
|
||
|
<!--服务注册-->
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.cloud</groupId>
|
||
|
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
|
||
|
</dependency>
|
||
|
|
||
|
<!--服务调用-->
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.cloud</groupId>
|
||
|
<artifactId>spring-cloud-starter-openfeign</artifactId>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- <dependency>-->
|
||
|
<!-- <groupId>org.springframework.cloud</groupId>-->
|
||
|
<!-- <artifactId>spring-cloud-loadbalancer</artifactId>-->
|
||
|
<!-- </dependency>-->
|
||
|
|
||
|
<!--客户端负载均衡loadbalancer-->
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.cloud</groupId>
|
||
|
<artifactId>spring-cloud-starter-loadbalancer</artifactId>
|
||
|
</dependency>
|
||
|
|
||
|
|
||
|
<!--gson-->
|
||
|
<dependency>
|
||
|
<groupId>com.google.code.gson</groupId>
|
||
|
<artifactId>gson</artifactId>
|
||
|
</dependency>
|
||
|
|
||
|
</dependencies>
|
||
|
|
||
|
<build>
|
||
|
<plugins>
|
||
|
<plugin>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
||
|
</plugin>
|
||
|
</plugins>
|
||
|
</build>
|
||
|
|
||
|
</project>
|