Return-Path: Delivered-To: apmail-maven-dev-archive@www.apache.org Received: (qmail 24383 invoked from network); 19 Jan 2006 17:41:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 Jan 2006 17:41:30 -0000 Received: (qmail 93230 invoked by uid 500); 19 Jan 2006 17:40:44 -0000 Delivered-To: apmail-maven-dev-archive@maven.apache.org Received: (qmail 92793 invoked by uid 500); 19 Jan 2006 17:40:41 -0000 Mailing-List: contact dev-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Developers List" Reply-To: "Maven Developers List" Delivered-To: mailing list dev@maven.apache.org Received: (qmail 92499 invoked by uid 99); 19 Jan 2006 17:40:39 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Jan 2006 09:40:39 -0800 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [63.246.20.114] (HELO 63-246-20-114.contegix.com) (63.246.20.114) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Jan 2006 09:40:38 -0800 Received: (qmail 7730 invoked by uid 89); 19 Jan 2006 17:40:18 -0000 Received: from unknown (HELO codehaus01.managed.contegix.com) (127.0.0.1) by smtp.domain.com with SMTP; 19 Jan 2006 17:40:18 -0000 Message-ID: <112265781.1137692418239.JavaMail.haus-jira@codehaus01.managed.contegix.com> Date: Thu, 19 Jan 2006 11:40:18 -0600 (CST) From: "Brett Porter (JIRA)" To: dev@maven.apache.org Subject: [jira] Closed: (MNG-1972) cannot pass a username to the scp command In-Reply-To: <73961715.1137516460147.JavaMail.haus-jira@codehaus01.managed.contegix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-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 [ http://jira.codehaus.org/browse/MNG-1972?page=all ] Brett Porter closed MNG-1972: ----------------------------- Resolution: Cannot Reproduce Fix Version: (was: 2.0.3) > cannot pass a username to the scp command > ----------------------------------------- > > Key: MNG-1972 > URL: http://jira.codehaus.org/browse/MNG-1972 > Project: Maven 2 > Type: Bug > Components: POM, Command Line > Versions: 2.0, 2.0.1, 2.0.2 > Environment: Linux > Reporter: Adrian > Priority: Blocker > > > Maven ignores the username set in settings.xml for the server used as the deploy repository. > We are running continuum as root on startup of our build server, thus maven runs as root. We want maven to connect to our deploy server as the user named "build". We have created ssh rsa keys for connecting that work fine and can ssh without a password using these keys. The issue we are having is that the scp command ignores the settings in settings.xml telling it to use the build user and instead attempts to login as root. > The deployment repository is set up as follows: > --------------------------------------------------------------------- > > ukdev-repo > Central repository on ukdev > scp:/// > > --------------------------------------------------------------------- > The settings xml is as follows: > --------------------------------------------------------------------- > > > > ukdev-repo > build > > > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org For additional commands, e-mail: dev-help@maven.apache.org