具有git +开发人员连接的Maven发布插件

问题描述 投票:4回答:1

我正在尝试使用Maven版本插件从主干创建分支。

例如repository.git /儿童1 /儿童2 /

该插件会创建一个包含我的整个存储库的新分支。我如何限制它来创建仅包含child1的分支?

当前pom.xml连接,开发人员连接和url如下:

<scm>
  <connection>scm:git:ssh://githost/repository.git</connection>
  <developerConnection>scm:git:ssh://githost/repository.git</developerConnection>
  <url>scm:git:ssh://githost/repository.git</url>
  <tag>HEAD</tag>
</scm>

在svn中,我们曾经通过使用developerConnection中child1的绝对路径来实现这一点。

谢谢,

Gayathri

git maven maven-release-plugin
1个回答
6
投票

Releasing a multi-module maven project with Git帮助+您需要升级到2.3.2版本的maven-release-plugin

© www.soinside.com 2019 - 2024. All rights reserved.