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 35DAC4BDF for ; Thu, 19 May 2011 10:52:49 +0000 (UTC) Received: (qmail 6252 invoked by uid 500); 19 May 2011 10:52:49 -0000 Delivered-To: apmail-continuum-issues-archive@continuum.apache.org Received: (qmail 6220 invoked by uid 500); 19 May 2011 10:52:49 -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 6212 invoked by uid 99); 19 May 2011 10:52:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 May 2011 10:52:49 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [63.246.2.115] (HELO codehaus01.managed.contegix.com) (63.246.2.115) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 May 2011 10:52:43 +0000 Received: from codehaus01.managed.contegix.com (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id 2857E4581ED for ; Thu, 19 May 2011 05:52:22 -0500 (CDT) Date: Thu, 19 May 2011 05:52:22 -0500 (CDT) From: "Maria Odea Ching (JIRA)" To: issues@continuum.apache.org Message-ID: <3147499.76040.1305802342146.JavaMail.haus-jira@codehaus01.managed.contegix.com> In-Reply-To: <27016192.75980.1305793342198.JavaMail.haus-jira@codehaus01.managed.contegix.com> Subject: [jira] Closed: (CONTINUUM-2627) Unable to add a project that are in private Github repositories MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 4e90ceb663894a42f12c0e28abbab431 X-Virus-Checked: Checked by ClamAV on apache.org [ http://jira.codehaus.org/browse/CONTINUUM-2627?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Maria Odea Ching closed CONTINUUM-2627. --------------------------------------- Resolution: Fixed Fixed in continuum trunk [-r1124681|http://svn.apache.org/viewvc?rev=1124681&view=rev] with the following changes: * upgrade httpclient and httpcore to 4.1.1 and use pre-emptive authn if initial attempt to get the pom metadata during project add failed > Unable to add a project that are in private Github repositories > --------------------------------------------------------------- > > Key: CONTINUUM-2627 > URL: http://jira.codehaus.org/browse/CONTINUUM-2627 > Project: Continuum > Issue Type: Bug > Components: SCM > Affects Versions: 1.4.0 (Beta) > Reporter: Maria Odea Ching > Assignee: Maria Odea Ching > Fix For: 1.4.1 (Beta) > > > Github returns 404 when Continuum tries to download the POM file. > You'll get the following error in the logs: > 2011-05-19 16:15:39,009 [btpool0-8] INFO action#create-projects-from-metadata - checking for settings auth setup > 2011-05-19 16:15:39,010 [btpool0-8] INFO org.apache.maven.continuum.project.builder.maven.MavenTwoContinuumProjectBuilder - Downloading https://USERNAME:*****@github.com/myproject/raw/master/pom.xml > 2011-05-19 16:15:44,102 [btpool0-8] WARN org.apache.maven.continuum.project.builder.maven.MavenTwoContinuumProjectBuilder - skip non handled http return code 404 > It seems github behaves that way for private repositories (see http://support.github.com/discussions/repos/6007-how-to-grap-a-single-file-using-https-when-the-repository-is-private) > For wget, you need to add the --auth-no-challenge parameter in order to get the pom file. -- 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