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

Ilya Basin edited comment on SCM-791 at 8/12/18 5:08 AM:
---------------------------------------------------------

BTW to make my patch work you need to make Cygwin git understand some valid 
Git-For-Windows URLs:
{code:java}
git config --global   url.file:///cygdrive/c.insteadOf   file:///C: file:///C:
git config --global   url.file:///cygdrive/c.insteadOf   file://C: file://C:
git config --global   url.file:////.insteadOf            file://///
{code}
This is unavoidable trade-off as I explained in my 
[mail|http://mail-archives.apache.org/mod_mbox/maven-dev/201807.mbox/%3C404008c7-7332-d599-f2a6-bd91dfc8fcd8%40gmail.com%3E]


was (Author: basinilya):
BTW to make my patch work you need to make Cygwin git understand some valid 
Git-For-Windows URLs:
{code:java}
git config --global   url.file:///cygdrive/c.insteadOf   file:///C: file:///C:
git config --global   url.file:///cygdrive/c.insteadOf   file://C: file://C:
git config --global   url.file:////.insteadOf            file://///
{code}

> maven-scm-provider-gitexe - Lastest version (1.9.2) doesn't work properly in 
> Cygwin
> -----------------------------------------------------------------------------------
>
>                 Key: SCM-791
>                 URL: https://issues.apache.org/jira/browse/SCM-791
>             Project: Maven SCM
>          Issue Type: Bug
>          Components: maven-scm-provider-gitexe
>    Affects Versions: 1.9.2
>         Environment: Cygwin under Windows 8
>            Reporter: Irineu Ruiz
>            Priority: Critical
>             Fix For: waiting-for-feedback
>
>         Attachments: bad-01ba0c0.txt, good-SCM-791.txt, 
> test_1.9.2_Cygwin.log, test_1.9.2_prompt.log, test_HEAD_Cygwin.log, 
> test_HEAD_prompt.log
>
>
> The tests of the maven-scm project fails in CygWin and passed in command 
> prompt, as you can see in the attachment.
> Also, using Cygwin under Windows 8, we can't execute a mvn release:prepare 
> properly, because pom.xml is not correct commited in tag and HEAD of 
> repository.
> The maven gives a false positive of Build Sucess, but the tag is incorret, 
> with the SNAPSHOT termination in version.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to