Uploaded image for project: 'Maven Wagon'
  1. Maven Wagon
  2. WAGON-556

Skip parsing of user info for file:// URLs

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.3.1
    • 3.3.2
    • wagon-provider-api
    • None

    Description

      As long as we don't have a fully compliant parser, it is best to skip this for file:// URLs.

      Jenkins fails with:

      org.apache.maven.wagon.TransferFailedException: Error getting file from SCM
      Caused by: org.apache.maven.scm.ScmException: 
      command failed: Cloning into 'checkout-org.apache.maven.wagon.providers.scm.UserSafeGitExeScmProvider'...
      fatal: '/m/wagon-providers/wagon-scm/target/test-classes/test-repo-git-test/' does not appear to be a git repository
      fatal: Could not read from remote repository.
      
      Please make sure you have the correct access rights
      and the repository exists.
      

      This is due to bad parsing of the URL containing an at sign as path component.

      Attachments

        Issue Links

          Activity

            People

              michael-o Michael Osipov
              michael-o Michael Osipov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: