Maven发布插件与git +开发人员连接

cra*_*rty 4 git maven maven-release-plugin

我正在尝试使用maven release插件从trunk创建分支.

防爆.repository.git/child1/child2 /

该插件创建一个包含整个存储库的新分支.我怎样才能限制它来创建一个只包含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>
Run Code Online (Sandbox Code Playgroud)

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

谢谢,

Gayathri

cra*_*rty 6

使用Git发布多模块maven项目有助于+你需要升级到2.3.2版本的maven-release-plugin