【发布时间】:2017-04-26 12:51:19
【问题描述】:
当我使用命令 mvn release:prepare 时,它会显示以下错误。
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5.3:prepare (default-cli) on project MR-1: Unable to commit files
[ERROR] Provider message:
[ERROR] The git-push command failed.
[ERROR] Command output:
[ERROR] fatal: 'C:\Program Files\Git\https;\\github.com\Nivedha18-V\Maven-Release.git' does not appear to be a git repository
[ERROR] fatal: Could not read from remote repository.
[ERROR]
[ERROR] Please make sure you have the correct access rights
[ERROR] and the repository exists.
[ERROR] -> [Help 1]
请帮我解决这个问题。
【问题讨论】:
-
你能发布在你的 git 项目目录中执行的 git remote -v 命令的输出吗?
-
请出示您的 pom 文件...
-
不,我没有使用 git remote -v 命令@Martin
标签: maven