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 AC5BF10B5C for ; Sat, 28 Feb 2015 20:00:13 +0000 (UTC) Received: (qmail 17933 invoked by uid 500); 28 Feb 2015 20:00:13 -0000 Delivered-To: apmail-continuum-issues-archive@continuum.apache.org Received: (qmail 17904 invoked by uid 500); 28 Feb 2015 20:00:13 -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 17893 invoked by uid 99); 28 Feb 2015 20:00:13 -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 20:00:13 +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 20:00:08 +0000 Received: from codehaus01 (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id 2D090B1170 for ; Sat, 28 Feb 2015 13:59:18 -0600 (CST) Date: Sat, 28 Feb 2015 13:59:18 -0600 (CST) From: "Brent N Atkinson (JIRA)" To: issues@continuum.apache.org Message-ID: In-Reply-To: References: Subject: [jira] (CONTINUUM-2578) Consult settings.xml for credentials when fetching maven metadata 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=364262#comment-364262 ] Brent N Atkinson commented on CONTINUUM-2578: --------------------------------------------- After doing more investigating, this appears to have been taken care of in r475457 when the {{CreateProjectsFromMetadataAction}} was made settings-aware. I tested adding projects with and without a settings file after making some small logging some improvements and saw the following behavior: With a settings.xml containing a relevant server configuration: {noformat} 2015-02-28 14:41:38,236 INFO [qtp1080187003-51] action#create-projects-from-metadata - consulting settings for credentials to svn.apache.org 2015-02-28 14:41:38,236 INFO [qtp1080187003-51] action#create-projects-from-metadata - credentials found in settings, will fetch metadata as exampleuser {noformat} Without a settings.xml file: {noformat} 2015-02-28 14:45:58,872 INFO [qtp1080187003-52] action#create-projects-from-metadata - consulting settings for credentials to svn.apache.org 2015-02-28 14:45:58,872 INFO [qtp1080187003-52] action#create-projects-from-metadata - credentials not found for server svn.apache.org {noformat} I verified that the credentials are indeed being set for the HTTP fetch as well. > Consult settings.xml for credentials when fetching maven metadata > ----------------------------------------------------------------- > > 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)