58 lines
2.2 KiB
XML
58 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>pqs-common</artifactId>
|
||
|
|
<groupId>com.njcn</groupId>
|
||
|
|
<version>1.0.0</version>
|
||
|
|
</parent>
|
||
|
|
<modelVersion>4.0.0</modelVersion>
|
||
|
|
<artifactId>common-microservice</artifactId>
|
||
|
|
<name>聚合spring cloud等微服务组件的公共信息</name>
|
||
|
|
|
||
|
|
<properties>
|
||
|
|
<maven.compiler.source>8</maven.compiler.source>
|
||
|
|
<maven.compiler.target>8</maven.compiler.target>
|
||
|
|
</properties>
|
||
|
|
|
||
|
|
<dependencies>
|
||
|
|
<dependency>
|
||
|
|
<groupId>com.njcn</groupId>
|
||
|
|
<artifactId>common-core</artifactId>
|
||
|
|
<version>${project.version}</version>
|
||
|
|
</dependency>
|
||
|
|
<!--springcloud alibaba nacos的服务发现-->
|
||
|
|
<dependency>
|
||
|
|
<groupId>com.alibaba.cloud</groupId>
|
||
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
||
|
|
</dependency>
|
||
|
|
<!--springcloud alibaba nacos的配置服务器-->
|
||
|
|
<dependency>
|
||
|
|
<groupId>com.alibaba.cloud</groupId>
|
||
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>com.alibaba.csp</groupId>
|
||
|
|
<artifactId>sentinel-datasource-nacos</artifactId>
|
||
|
|
</dependency>
|
||
|
|
<!--服务调用-->
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.springframework.cloud</groupId>
|
||
|
|
<artifactId>spring-cloud-starter-openfeign</artifactId>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>io.github.openfeign</groupId>
|
||
|
|
<artifactId>feign-okhttp</artifactId>
|
||
|
|
</dependency>
|
||
|
|
<!--服务治理,熔断、降级等-->
|
||
|
|
<dependency>
|
||
|
|
<groupId>com.alibaba.cloud</groupId>
|
||
|
|
<artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.springframework.boot</groupId>
|
||
|
|
<artifactId>spring-boot-starter-validation</artifactId>
|
||
|
|
</dependency>
|
||
|
|
</dependencies>
|
||
|
|
</project>
|