试图释放,我总是得到这个:
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Unable to commit files
Provider message:
The git-commit command failed.
Command output:
“命令输出”没有任何内容。
是否有一些 secret 的配置技巧可以让 maven 与 git 一起玩得很好?
最佳答案
我看到 git-commit 命令输出为空的唯一情况是在 issue 556 上,其中提出了以下解决方案:
I had exactly the same problem as you; and:
- removing the
release.properties
and- putting back my
pom
version to aSNAPSHOT
(it was previously changed by the plugin) versionresolved the problem; the process ended successfully.
关于git - 如何获得与 git 一起工作的 Maven 版本?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5438710/