带有git+;开发者连接

带有git+;开发者连接,git,maven,maven-release-plugin,Git,Maven,Maven Release Plugin,我正在尝试使用maven发布插件从主干创建分支 例如repository.git/ 孩子1/ 孩子2/ 该插件创建了一个包含我的整个存储库的新分支。 如何限制它以创建只包含child1的分支 目前pom.xml连接、开发者连接和url如下: <scm> <connection>scm:git:ssh://githost/repository.git</connection> <developerConnection>scm:git:ssh:

我正在尝试使用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>

scm:git:ssh://githost/repository.git
scm:git:ssh://githost/repository.git
scm:git:ssh://githost/repository.git
头
在svn中,我们使用developerConnection中child1的绝对路径来实现这一点

谢谢


Gayathri

帮助+您需要升级到maven release plugin的2.3.2版本

git中的分支来自SVN中的分支。你到底想干什么?将存储库一分为二,或者别的什么?比如说,我只想发布child1。所以我不希望child2出现在child1的发布分支中。换句话说,我不想增加child2 helped的版本