org.apache.dubbo
dubbo-dependencies-bom
${dubbo.version}
pom
import
io.netty
netty-all
4.1.25.Final
org.apache.dubbo
dubbo
${dubbo.version}
org.apache.dubbo
dubbo-dependencies-zookeeper
${dubbo.version}
pom
org.apache.dubbo
dubbo-spring-boot-starter
${dubbo.version}
org.apache.dubbo
dubbo-registry-multicast
${dubbo.version}
org.apache.zookeeper
zookeeper
3.4.7
com.github.sgroschupf
zkclient
0.1
org.projectlombok
lombok
1.16.16
com.fasterxml.jackson.core
jackson-databind
2.11.0
compile
com.fasterxml.jackson.datatype
jackson-datatype-jdk8
2.11.0
compile
org.slf4j
slf4j-log4j12
1.7.25
compile
commons-io
commons-io
2.7
compile
org.apache.commons
commons-lang3
3.10
compile
io.springfox
springfox-swagger2
2.5.0
io.springfox
springfox-swagger-ui
2.5.0
《dubbo实战》系列的二方库
-
涉及到多个工程之间的服务调用,因此要有个工程保存公用的数据结构、接口定义等,因此新建名为practiceinterface的子工程;
-
practiceinterface工程的pom.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”>
dubbopractice
com.bolingcavalry
1.0-SNAPSHOT
…/pom.xml
4.0.0
com.bolingcavalry
practiceinterface