我有一个多模块项目,我正在尝试发布所有项目。它总是在准备步骤上失败。
mvn release:prepare -DautoVersionSubmodules=true -s c-settings.xml -X and throwing this exception. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5.1:prepare (default-cli) on project qa-parent: Unable to tag SCM
[ERROR] Provider message:
[ERROR] The git-push command failed.
[ERROR] Command output:
[ERROR] ERROR: Repository not found.
[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]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5.1:prepare (default-cli) on project qa-parent: Unable to tag SCM
Provider message:
The git-push command failed.
Command output:
ERROR: Repository not found.
fatal: Could not read from remote repository.
请确保您拥有正确的访问权限 存储库存在。
即使我拥有repo中的所有访问权限。我是所有者和管理员。不知道这里有什么不对。我的scm连接看起来像这样:
SCM连接:
<scm>
<connection>scm:git:git@github.corp.com:FDS/qa-tools.git</connection>
<developerConnection>scm:git:git@github.corp.com:FDS/qa-tools.git</developerConnection>
<url>https://github.corp.com/FDS/qa-tools</url>
<tag>HEAD</tag>
</scm>