Uploaded image for project: 'Maven SCM'
  1. Maven SCM
  2. SCM-498

git providers should use the fetch and push URLs instead of 'origin'

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2
    • 1.3
    • None

    Description

      Currently we use 'origin' and the configuration behind it in .git/config [remotes] when e.g. pushing to the upstream repo.

      This causes problems if a -Dusername or -Dpassword is supplied, because 'origin' still doesn't reflect those settings.

      solution:
      we should use the dynamically created URL (with applied username and password) for each and every location reference in the maven-scm-providers-git.

      While doing this, we should also consider to maintain 2 separate URLs for fetching and pushing.

      Attachments

        Issue Links

          Activity

            People

              struberg Mark Struberg
              struberg Mark Struberg
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: