【发布时间】:2020-10-08 07:19:59
【问题描述】:
我们有一个多模块 Maven 项目,其中的模块也是 Git 子模块。
当我在父项目上执行 mvn release:prepare 时,我得到这个错误:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5.3:prepare (default-cli) on project big-project-parent: Unable to commit files
[ERROR] Provider message:
[ERROR] The git-add command failed.
[ERROR] Command output:
[ERROR] fatal: Pathspec 'basic-utils\pom.xml' is in submodule 'basic-utils'
【问题讨论】:
标签: git maven git-submodules maven-release-plugin