idea Auto build completed with errors
1.本地的原因是
'dependencies.dependency.systemPath' for :jar should not point at files within the
pom.xml 的配置文件,
路径由 project.basedir 改成了 pom.basedir
<!-- 中文分词 project.basedir -->
<dependency>
<groupId>org.wltea</groupId>
<artifactId>analyzer</artifactId>
<version>2012_u6</version>
<scope>system</scope>
<systemPath>${pom.basedir}/src/main/webapp/WEB-INF/lib/analyzer-2012_u6.jar</systemPath>
</dependency>
- 有些jar 包是重复配置了,两遍,guava 包被配置了两次,造成编译的问题。
Some problems were encountered while building the effective model for com.ambition.agile:rpd:war:1.2.7
'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: com.google.guava:guava:jar -> version ${guava.version} vs 20.0 @ line 731, column 15
It is highly recommended to fix these problems because they threaten the stability of your build.
For this reason, future Maven versions might no longer support building such malformed projects.
本文暂时没有评论,来添加一个吧(●'◡'●)