Return-Path: X-Original-To: apmail-continuum-issues-archive@www.apache.org Delivered-To: apmail-continuum-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9BF611095C for ; Sat, 28 Feb 2015 18:23:43 +0000 (UTC) Received: (qmail 91513 invoked by uid 500); 28 Feb 2015 18:23:43 -0000 Delivered-To: apmail-continuum-issues-archive@continuum.apache.org Received: (qmail 91483 invoked by uid 500); 28 Feb 2015 18:23:43 -0000 Mailing-List: contact issues-help@continuum.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@continuum.apache.org Delivered-To: mailing list issues@continuum.apache.org Received: (qmail 91467 invoked by uid 99); 28 Feb 2015 18:23:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Feb 2015 18:23:43 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [199.193.192.100] (HELO codehaus01.managed.contegix.com) (199.193.192.100) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Feb 2015 18:23:38 +0000 Received: from codehaus01 (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id 78353B1175 for ; Sat, 28 Feb 2015 12:23:18 -0600 (CST) Date: Sat, 28 Feb 2015 12:23:18 -0600 (CST) From: "Brent N Atkinson (JIRA)" To: issues@continuum.apache.org Message-ID: In-Reply-To: References: Subject: [jira] (CONTINUUM-2578) Configure SCM username/password from settings.xml doesn't work for xmlrpc MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 22cf62d5d84cf5bea94eb3b65e0ebd09 X-Virus-Checked: Checked by ClamAV on apache.org [ https://jira.codehaus.org/browse/CONTINUUM-2578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=364258#comment-364258 ] Brent N Atkinson commented on CONTINUUM-2578: --------------------------------------------- The patch no longer applied cleanly, but I was able to adapt it to the current codebase. However, after initial testing this does not appear to have a perceivable effect. When I tested, the scm checkout successfully used the username and password from settings. However, this is unrelated and existing behavior and was a side effect of testing on a server that allowed anonymous access as well as authenticated. My understanding is that the technique is inadequate in its approach: * Correct scm configuration requires construction of the maven project metadata (a {{MavenProject}}) * The {{MavenProject}} is built from a pom * Continuum can not access the pom without a correct username and password Looking carefull at the patch, the scm url is identified by using the maven project. This can not be correct. > Configure SCM username/password from settings.xml doesn't work for xmlrpc > ------------------------------------------------------------------------- > > Key: CONTINUUM-2578 > URL: https://jira.codehaus.org/browse/CONTINUUM-2578 > Project: Continuum > Issue Type: New Feature > Reporter: Luca > Assignee: Brent N Atkinson > Fix For: 1.5.0 > > Attachments: configure-scm-credentials-from-settings.diff > > > The attached patch is to configure the scm username/password from settings.xml when building a project from a pom file. It attempts to match the SCM server host name to the id of a server in the section. -- This message was sent by Atlassian JIRA (v6.1.6#6162)