mirror of
https://gitee.com/mirrors/Spring-Cloud-Alibaba.git
synced 2021-06-26 13:25:11 +08:00
62 lines
1.9 KiB
XML
62 lines
1.9 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>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-alibaba-examples</artifactId>
|
|
<version>0.2.2.BUILD-SNAPSHOT</version>
|
|
<relativePath>../../pom.xml</relativePath>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
<artifactId>nacos-discovery-example</artifactId>
|
|
<packaging>pom</packaging>
|
|
<description>Example demonstrating how to use nacos discovery</description>
|
|
|
|
<properties>
|
|
<dubbo.version>2.6.5</dubbo.version>
|
|
</properties>
|
|
|
|
<modules>
|
|
<module>nacos-discovery-consumer-example</module>
|
|
<module>nacos-discovery-provider-example</module>
|
|
</modules>
|
|
|
|
<dependencies>
|
|
|
|
<!-- Dubbo Spring Boot Starter -->
|
|
<dependency>
|
|
<groupId>com.alibaba.boot</groupId>
|
|
<artifactId>dubbo-spring-boot-starter</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.alibaba</groupId>
|
|
<artifactId>dubbo</artifactId>
|
|
<version>${dubbo.version}</version>
|
|
</dependency>
|
|
|
|
<!-- Netty -->
|
|
<dependency>
|
|
<groupId>io.netty</groupId>
|
|
<artifactId>netty-all</artifactId>
|
|
</dependency>
|
|
|
|
<!-- Dubbo Nacos registry dependency -->
|
|
<dependency>
|
|
<groupId>com.alibaba</groupId>
|
|
<artifactId>dubbo-registry-nacos</artifactId>
|
|
</dependency>
|
|
|
|
<!-- Keep latest Nacos client version -->
|
|
<dependency>
|
|
<groupId>com.alibaba.nacos</groupId>
|
|
<artifactId>nacos-client</artifactId>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</project>
|