Maven - Error Releasing Code to GitHub (Hangs After Push)

前端 未结 8 1353
悲哀的现实
悲哀的现实 2020-12-02 15:11

I\'m attempting to run the mvn release:prepare goal and it\'s hanging after the push. Any idea what I could be doing wrong?

[INFO] [INFO] -----         


        
8条回答
  •  余生分开走
    2020-12-02 15:33

    Yet another reason it could hang is if github.com isn't in the known_hosts file. SSH will therefore hang waiting for the user to accept authenticity of the host.

    To add github.com to your known hosts just do a quick SSH to it: ssh github.com. The SSH client will then ask you to confirm the authenticity of the host. Type "Yes" and it'll say that its permanently added github.com to your list of known hosts.

提交回复
热议问题