> Hmm, what version are you on? I've done it successfully, but it usually > requires some setup in your
Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200) I'm using POM configuration based on an identical parent as Mahout, but no success. Interestingly, the default scp (built-in) works on one server, but fails on another. I've seen tons of e-mails about this on the internet, but apparently the problem is due to an outdated jsch... It may be this particular server's SSH configuration, although command-line SCP does work (and so does SSH). I've tried in all possible configurations -- scp, scpexe (external scp), private key and password authentication. scpexe was the best of all the configurations and it worked from time to time... but not always. Can you see what your set of plugins is, Grant (if you issue mvn -X ... | grep "jsch" it'll print jsch plugins actually used). I did manage to set up an ftp deployment, so this is not crucial for me anymore, but I'd rather have scp than ftp. Thanks, Dawid ~/.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 > > >