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

ASF GitHub Bot commented on SCM-662:
------------------------------------

jira-importer opened a new issue, #873:
URL: https://github.com/apache/maven-scm/issues/873

   **[Daniel 
Spilker](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=daniel.spil...@hamburg.de)**
 opened 
**[SCM-662](https://issues.apache.org/jira/browse/SCM-662?redirect=false)** and 
commented
   
   When trying to perform a release on a Windows machine with localCheckout set 
to true, I get the following error message. The path 
'C:\Users\daspilker\workspaces\myproject' is a git repository.
   
   ```
   [ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-release-plugin:2.1:perform (default-cli) on 
project warp:
   Unable to checkout from SCM
   [ERROR] Provider message:
   [ERROR] The git-clone command failed.
   [ERROR] Command output:
   [ERROR] fatal: 'C\Users\daspilker\workspaces\myproject' does not appear to 
be a git repository
   [ERROR] fatal: The remote end hung up unexpectedly
   [ERROR] -> [Help 1]
   [ERROR]
   [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
   [ERROR] Re-run Maven using the -X switch to enable full debug logging.
   [ERROR]
   [ERROR] For more information about the errors and possible solutions, please 
read the following articles:
   [ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
   [ERROR]
   [ERROR] After correcting the problems, you can resume the build with the 
command
   [ERROR]   mvn <goals> -rf :myproject
   ```
   
   
   
   ---
   
   **Affects:** 1.6
   
   **Attachments:**
   - 
[GitScmProviderRepository.patch](https://issues.apache.org/jira/secure/attachment/12718865/GitScmProviderRepository.patch)
 (_1.53 kB_)
   
   **Issue Links:**
   - [SCM-637](https://issues.apache.org/jira/browse/SCM-637) parsing of git 
urls fails on windows
    (_**"duplicates"**_)
   
   15 votes, 8 watchers
   




> Performing a release with localCheckout fail on Windows
> -------------------------------------------------------
>
>                 Key: SCM-662
>                 URL: https://issues.apache.org/jira/browse/SCM-662
>             Project: Maven SCM (Moved to GitHub Issues)
>          Issue Type: Bug
>          Components: maven-scm-provider-gitexe
>    Affects Versions: 1.6
>         Environment: Windows Vista, msysgit, Maven 3.0.0
>            Reporter: Daniel Spilker
>            Assignee: Mark Struberg
>            Priority: Minor
>         Attachments: GitScmProviderRepository.patch
>
>
> When trying to perform a release on a Windows machine with localCheckout set 
> to true, I get the following error message. The path 
> 'C:\Users\daspilker\workspaces\myproject' is a git repository.
> {code}
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-release-plugin:2.1:perform (default-cli) on 
> project warp:
> Unable to checkout from SCM
> [ERROR] Provider message:
> [ERROR] The git-clone command failed.
> [ERROR] Command output:
> [ERROR] fatal: 'C\Users\daspilker\workspaces\myproject' does not appear to be 
> a git repository
> [ERROR] fatal: The remote end hung up unexpectedly
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please 
> read the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the 
> command
> [ERROR]   mvn <goals> -rf :myproject
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to