Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 98846 invoked from network); 14 Dec 2005 10:41:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Dec 2005 10:41:41 -0000 Received: (qmail 83339 invoked by uid 500); 14 Dec 2005 10:41:40 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 83286 invoked by uid 500); 14 Dec 2005 10:41:39 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 83275 invoked by uid 99); 14 Dec 2005 10:41:39 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Dec 2005 02:41:39 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of elecharny@gmail.com designates 64.233.162.193 as permitted sender) Received: from [64.233.162.193] (HELO zproxy.gmail.com) (64.233.162.193) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Dec 2005 02:41:38 -0800 Received: by zproxy.gmail.com with SMTP id 4so84492nzn for ; Wed, 14 Dec 2005 02:41:18 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:subject:from:to:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=uTuz5qT+YmdXPrkmgcD8xwAGFSVLO34VMmo/jKxX6LyeoFthwE9628mrZ90cHi+lvNrfLTVRR3xMzqdKvFrpmiRjb09VfKhooDgIjJVcm3u/wcG3i56soAHqf7LIp/RXl3e5xVoB9QMbnkuSyNMuwThtM+iHV7s6Rp4NF9ZOqhs= Received: by 10.65.139.11 with SMTP id r11mr294295qbn; Wed, 14 Dec 2005 02:41:17 -0800 (PST) Received: from ?192.168.0.2? ( [82.66.216.176]) by mx.gmail.com with ESMTP id e18sm240114qba.2005.12.14.02.41.17; Wed, 14 Dec 2005 02:41:17 -0800 (PST) Subject: Problem deploying jars From: Emmanuel Lecharny To: Apache Directory Developers List In-Reply-To: <439FEDC8.8030005@trillian.se> References: <20051214092113.30772.qmail@web26309.mail.ukl.yahoo.com> <439FEDC8.8030005@trillian.se> Content-Type: text/plain Date: Wed, 14 Dec 2005 11:41:24 +0100 Message-Id: <1134556884.17355.68.camel@portable> Mime-Version: 1.0 X-Mailer: Evolution 2.2.1.1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi all, I had problem deploying jars lately. First, I thought it could be a ssh key problem, as pointed out by Brett, and as I had regenerated my keys, but no way. I can perfectly scp a jar to cvs.apache.org: /scp ldap-clients-0.9.4-SNAPSHOT.jar elecharny@cvs.apache.org:/www/cvs.apache.org/repository/directory-asn1/jars works well. (note: I will discuss this command line further) But when I do a : maven multiproject:deploy, I get this result : jar:jar: [jar] Building jar: /home/elecharny/apacheds/directory3/directory/asn1/trunk/codec/target/asn1-codec-0.3.4-SNAPSHOT.jar jar:deploy: [echo] maven.repo.list is set - using artifact deploy mode Will deploy to 1 repository(ies): apachecvs Deploying to repository: apachecvs Using private key: /home/elecharny/.ssh/id_dsa com.jcraft.jsch.JSchException: Auth fail at com.jcraft.jsch.Session.connect(Unknown Source) at org.apache.maven.deploy.deployers.GenericSshDeployer.init(GenericSshDeployer.java:181) ... (60 totally useless lines) ... at com.werken.forehead.Forehead.run(Forehead.java:551) at com.werken.forehead.Forehead.main(Forehead.java:581) Failed to deploy to: apachecvs Reason: Cannot connect. Reason: Auth fail BUILD FAILED File...... /home/elecharny/.maven/cache/maven-multiproject-plugin-1.3.1/plugin.jelly Element... maven:reactor Line...... 217 Column.... 9 Unable to obtain goal [multiproject:deploy-callback] -- /home/elecharny/.maven/cache/maven-artifact-plugin-1.4.1/plugin.jelly:94:13: Unable to deploy to any repositories Total time: 8 seconds Finished at: Wed Dec 14 11:30:08 CET 2005 I have a Auth Fail for a reason I can't explain. My build.properties file looks like : maven.username=elecharny maven.remote.group=directory # User must specify: maven.repo.apachecvs.username=elecharny # Repository to deploy snapshots maven.repo.apachecvs=scp://cvs.apache.org maven.repo.apachecvs.directory=/www/cvs.apache.org/repository maven.repo.apachecvs.group=directory maven.repo.apachecvs.privatekey=/home/elecharny/.ssh/id_dsa I can perfectly connect myself to both people.apache.org and cvs.apache.org without having to type my password. I noted some strange things however : - we are members of directory group while all other projects on www/cvs.apache.org/repository belong to group apcvs. I don't think it makes any difference, but we are alone doing that... - The subdirectory /www/cvs.apache.org/repository/directory-clients/jars and poms are owned by akarasulu (which is ok) but the directory group does not have write access (which is not good). I think that alex has to cleanup it if we want to deploy jars in it ;) Note about the scp command line : as you can see, I try to copy ldap-client jar in asn1 directory : this is a side effect of the second strange thing I saw. I couldn't scp this jar in the correct location, so I tried to put it elsewhere. Don't worry : I have cleaned it after the scp ;)