Return-Path: Delivered-To: apmail-commons-dev-archive@www.apache.org Received: (qmail 15351 invoked from network); 28 May 2008 20:54:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 May 2008 20:54:02 -0000 Received: (qmail 29396 invoked by uid 500); 28 May 2008 20:54:02 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 29319 invoked by uid 500); 28 May 2008 20:54:02 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 29308 invoked by uid 99); 28 May 2008 20:54:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 May 2008 13:54:02 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [62.179.121.49] (HELO viefep31-int.chello.at) (62.179.121.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 May 2008 20:53:06 +0000 Received: from [192.168.1.101] (really [84.113.196.60]) by viefep31-int.chello.at (InterMail vM.7.08.02.02 201-2186-121-104-20070414) with ESMTP id <20080528205328.RCVX7633.viefep31-int.chello.at@[192.168.1.101]> for ; Wed, 28 May 2008 22:53:28 +0200 Subject: Re: Deploying a snapshot From: simon To: Commons Developers List In-Reply-To: <31cc37360805281149k45e2d730i60b1d28ded70349e@mail.gmail.com> References: <31cc37360805280155t637b2c9bt6d3c671ec6ed5795@mail.gmail.com> <31cc37360805280904q5e346d4bo3a4b2876953c7d85@mail.gmail.com> <1211993573.29824.87.camel@balin.russel.org.uk> <31cc37360805281149k45e2d730i60b1d28ded70349e@mail.gmail.com> Content-Type: text/plain Date: Wed, 28 May 2008 22:53:28 +0200 Message-Id: <1212008008.6342.3.camel@simon-laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On Wed, 2008-05-28 at 11:49 -0700, Henri Yandell wrote: > On Wed, May 28, 2008 at 9:52 AM, Russel Winder > wrote: > > On Wed, 2008-05-28 at 09:04 -0700, Henri Yandell wrote: > > > >> Thanks - currently it gets to the password prompt and then refuses to > >> accept my password. Do I need something in ~/.m2/settings.xml? > >> Currently I don't have one. > > > > You will definitely need a ~/.m2/settings.xml and it needs an entry such > > as: > > > > > > > > dav.codehaus.org > > russel > > XXXX > > > > > > > > Only for the Apache servers rather than the Codehaus servers > > obviously :-) > > Ahhh. It doesn't know the username :) So it's probably trying to login > as 'hen'. I know I don't usually put the password in there, but always > forget about the username bit. Yep. It defaults to your local username, which ain't good if your remote server account is different. Just for the record, you can also do apache.snapshots myusername /home/me/.ssh/mykey 775 664 If the key has a passphrase, then just run "ssh-add" before running "mvn -Prc deploy". Regards, Simon --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org