Maven won't use public key to deploy
Posted
by magneticMonster
on Stack Overflow
See other posts from Stack Overflow
or by magneticMonster
Published on 2010-05-09T01:32:55Z
Indexed on
2010/05/09
1:38 UTC
Read the original article
Hit count: 286
I'm using SSH to deploy my Java artifacts to a server. I have the keys set up so that I can interactively SSH to the server without requiring a password, but when I try to run the "mvn deploy
" or "mvn release:perform
" commands, it hangs (at what I assume is the password prompt).
My ~/.m2/settings.xml
file contains the username for the server (because it is different than my local username) and references the id
of the server that requires the different user.
© Stack Overflow or respective owner