[ 
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

        

Reply via email to