[英]Maven release plugin with git + developer connection
我正在嘗試使用 maven 發布插件從主干創建一個分支。
前任。 存儲庫.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>
在 svn 中,我們曾經通過使用 developerConnection 中 child1 的絕對路徑來實現這一點。
謝謝,
加亞特里
使用 Git 發布多模塊 maven 項目有幫助 + 你需要升級到 2.3.2 版本的 maven-release-plugin
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.