我正在尝试使用以下命令行构建一个 Maven 项目:
“mvn -U 全新安装”
我不断收到这个错误:
Downloading: http://repo1.maven.org/maven2/h2/h2/1.3.167/h2-1.3.167.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 38.547s
[INFO] Finished at: Tue Dec 04 10:23:13 CST 2012
[INFO] Final Memory: 42M/64M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project GenManagerEar: Could not resolve depen
dencies for project PCI:GenManagerEar:ear:5.2.1-SNAPSHOT: Could not find artifac
t h2:h2:jar:1.3.167 in internal (http://buildmachine:8080/archiva/repository/int
ernal)
在我的本地存储库中,我有这个用于 h2:
看起来它无法下载 h2 JAR 文件。这是为什么?