一 问题标错
1.1. 说明
Some problem were encountered while building the effective for com.pab.dpscn.apaas.parent:dpscn-business-dao:jar:2:0.6
‘dependencies.dependency.(groupId:artifactId:type:classifier)’ must be unique: com.pab.dpscn.apaas.parnet:dpscn-apaas-parnet-common:jar -> duplicate declaration of version (?) @com.pab.dpscn.apaas.parnet:dpscn-apaas-business-dao:[unkonwn-version],D:\dpscn-apaas\dpscn-apaas-business-dao\pom.xml, line 111,column 21
It is higly recommended to fix these problems because they threaten the stability of your build .
For this reason, future maven versions might no logger supprt building such malformed projects.
解释说明:
蓝色部分说明: com.pab.dpscn.apaas.parent:dpscn-business-dao:jar:2:0.6 此包构建有问题
红色部分说明: com.pab.dpscn.apaas.parnet:dpscn-apaas-parnet-common:jar 此依赖包声明的版本必须唯一,说明此依赖坐标存在多个版本
绿色部分说明: 在dpscn-apaas-business-dao这个模块下的pom文件的line 111,column 21标记的依赖dpscn-apaas-parnet-common 有问题,此dpscn-apaas-parnet-common依赖可能存在不止一个,
解决办法:将将多余重复的dpscn-apaas-parnet-commo依赖进行删除。