项目场景:
dubbo项目+zookeeper
是dubbo项目,分为interface层(需要注册的接口),provider(接口实现,真实提供服务),consumer(消费接口)。其中需要将interface模块进行打包,然后作为其他两个模块的依赖引入。除了打包interface模块,还要打包provider模块和consumer模块。
问题描述
provider模块打包报错时,interface模块的pom文件:
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.lkz</groupId>
<artifactId>Springboot</artifactId>
<version>1.0-SNAPSHOT</version>
</parent>
<artifactId>dubbo-interface</artifactId>
<name>dubbo-interface Maven Webapp</name