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

Skip parsing of user info for file:// URLs

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.3.1
    • Fix Version/s: 3.3.2
    • Component/s: wagon-provider-api
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: