我正在尝试将工件部署到提供公共 Maven 存储库的clojars 。
当我运行部署时,最后出现以下输出失败,显然是在 60 秒超时后:
[INFO] --- maven-deploy-plugin:2.7:deploy (default-deploy) @ clisk ---
Uploading: https://clojars.org/repo/net/mikera/clisk/0.3.0/clisk-0.3.0.jar
Uploading: https://clojars.org/repo/net/mikera/clisk/0.3.0/clisk-0.3.0.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2:13.466s
[INFO] Finished at: Tue Aug 07 08:51:00 SGT 2012
[INFO] Final Memory: 21M/253M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project clisk: Failed to deploy artifacts: Could not transfer artifact net.mikera:clisk:jar:0.3.0 from/to clojars (https://clojars.org/repo): No response received after 60000 -> [Help 1]
有趣的是,会发生以下情况:
- jar 和 pom已成功部署(我可以在 repo 中看到它们)
- 不生成各种 MD5/SHA1 校验和
更多链接:
我在 Eclipse Juno 中使用内置的 Maven 支持
我究竟做错了什么?