git providers should use the fetch and push URLs instead of 'origin'
---------------------------------------------------------------------
Key: SCM-498
URL: http://jira.codehaus.org/browse/SCM-498
Project: Maven SCM
Issue Type: Bug
Components: maven-scm-provider-git
Affects Versions: 1.2
Reporter: Mark Struberg
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.
--
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
|