Maven清洁停止/卡在某一点

时间:2017-08-31 12:41:13

标签: java eclipse maven

我已经安装了maven并且之前运行良好但现在Maven清理停止/停留在某一点。我尝试重新启动eclipse但似乎没有用。

Eclipse版本:Luna Service Release 2(4.4.2)

非常感谢任何帮助。

[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model 
for com.sony.hrportal:hrportal:war:1.0-SNAPSHOT
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' 
must be unique: org.springframework:spring-jdbc:jar -> duplicate declaration 
of version 3.2.5.RELEASE @ line 245, column 15
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' 
must be unique: com.sun.el:el-ri:jar -> duplicate declaration of version 1.0 
@ line 291, column 15
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' 
must be unique: org.apache.poi:poi-ooxml:jar -> duplicate declaration of 
version 3.11 @ line 350, column 15
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they 
threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support 
building such malformed projects.
[WARNING] 
[INFO]                                                                         

[INFO] ---------------------------------------------------------------------
[INFO] Building hrportal Maven Webapp 1.0-SNAPSHOT
[INFO] ---------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ hrportal ---
[INFO] Deleting D:\Divagar_Workspace\hrportal\target

1 个答案:

答案 0 :(得分:0)

删除eclipse本地历史记录,索引和临时文件解决了这个问题。