Hmm, what version are you on? I've done it successfully, but it usually requires some setup in your ~/.m2/settings.xml file to incorporate your public key, etc. I think Mahout has it configured. Check the How To Release page on the Wiki.
On Feb 23, 2010, at 3:16 AM, Dawid Weiss wrote: > There are many folks knowledgeable about maven on this list, so I > thought I'd ask -- I'm trying to write a POM with scp deployment, but > maven consistently fails for me with authentication errors -- this is > most likely caused by an outdated (and buggy) jsch dependency (0.1.38 > instead of 0.1.42). Anybody knows how to override this dependency from > within the POM for wagon-ssh? I tried a dozen different > configurations, but none work. > > Dawid