【发布时间】:2013-08-29 00:31:20
【问题描述】:
我使用的是 terracotta 3.7.0,最近我删除了整个 .m2 目录,所以我必须重新安装它。 但是构建卡住了错误
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project my-cache: Compilation failure
[ERROR] error: error reading C:\Users\me\.m2\repository\net\sf\ehcache\ehcache-terracotta\2.6.0\ehcache-terracotta-2.6.0.jar; error in opening zip file
[ERROR] -> [Help 1]
有人知道是什么原因造成的吗?
更新:当我再次删除整个 .m2 时,出现此错误。不再是兵马俑,而是 maven-jar-plugin。我感觉 maven 一定有问题。
[ERROR] Failed to parse plugin descriptor for org.apache.maven.plugins:maven-jar-plugin:2.4 (C:\Users\me\.m2\repository\org\apache\maven\plugins\maven-jar-plugin\2.4\maven-jar-plugin-2.4.jar):error in opening zip file -> [Help 1]
org.apache.maven.plugin.PluginDescriptorParsingException: Failed to parse plugin descriptor for
还有这个
[WARNING] Checksum validation failed, expected <html> but is 757a33a0a05930dd579796da4bb82a61f612f49a for http://archiva.openqa.org/repository/releases/org/apache/maven/plugins/maven-jar-plugin/2.4/maven-jar-plugin-2.4.jar
这会为任何人敲响警钟吗?
【问题讨论】:
-
如果您尝试使用 Winzip/Winrar/equivalent 打开
C:\Users\me\.m2\repository\net\sf\ehcache\ehcache-terracotta\2.6.0\ehcache-terracotta-2.6.0.jar会发生什么? -
我收到了同样的错误信息。
标签: java maven build ehcache terracotta