[ 
https://issues.apache.org/jira/browse/SCM-498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17964677#comment-17964677
 ] 

Olivier Lamy commented on SCM-498:
----------------------------------

This project has moved from Jira to GitHub Issues. This issue was migrated to 
[apache/maven-scm#711|https://github.com/apache/maven-scm/issues/711]. 

> git providers should use the fetch and push URLs instead of 'origin' 
> ---------------------------------------------------------------------
>
>                 Key: SCM-498
>                 URL: https://issues.apache.org/jira/browse/SCM-498
>             Project: Maven SCM (Moved to GitHub Issues)
>          Issue Type: Bug
>          Components: maven-scm-provider-gitexe
>    Affects Versions: 1.2
>            Reporter: Mark Struberg
>            Assignee: Mark Struberg
>            Priority: Major
>             Fix For: 1.3
>
>
> 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 was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to