Uploaded image for project: 'Continuum'
  1. Continuum
  2. CONTINUUM-2627

Unable to add a project that are in private Github repositories

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.4.0 (Beta)
    • 1.4.1
    • SCM
    • None

    Description

      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.

      Attachments

        Activity

          People

            oching Maria Odea B. Ching
            oching Maria Odea B. Ching
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: