【问题标题】:Maven release plugin with git + developer connection带有 git + 开发者连接的 Maven 发布插件
【发布时间】:2012-08-30 03:31:07
【问题描述】:

我正在尝试使用 maven 发布插件从主干创建分支。

例如。存储库.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 的绝对路径来实现这一点。

谢谢,

盖亚特里

【问题讨论】:

标签: git maven maven-release-plugin


【解决方案1】:

Releasing a multi-module maven project with Githelp + 你需要升级到2.3.2版本的maven-release-plugin

【讨论】:

    猜你喜欢
    • 2012-10-14
    • 2015-04-01
    • 1970-01-01
    • 2011-03-05
    • 1970-01-01
    • 1970-01-01
    • 2013-10-16
    • 2014-08-05
    • 2017-06-04
    相关资源
    最近更新 更多