我正在尝试将工件部署到clojars,它提供了一个公共Maven存储库。
当我运行部署时,最后会出现以下输出失败,显然是在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]
有趣的是,会发生以下情况:
更多链接:
我在Eclipse Juno中使用内置的Maven支持
我做错了什么?
答案 0 :(得分:0)
这不是一个完整的解决方案,而是我找到的解决方法,发布在这里以防其他人需要它。
pageant
。 SSH密钥必须与您在配置文件中为Clojars提供的公钥匹配运行以下命令:
pscp -scp * .pom * .jar clojars@clojars.org:
这似乎成功:Clojars本身将生成所需的校验和文件。