开发者

Wrong working directory used when tagging Maven release

开发者 https://www.devze.com 2023-01-11 09:41 出处:网络
When I run release:prepare on my Maven project, it fails when attempting the scm-tag phase. My Maven project uses Bazaar for its SCM. My plugin versions are maven-release-plugin 2.0 and maven-scm-plu

When I run release:prepare on my Maven project, it fails when attempting the scm-tag phase.

My Maven project uses Bazaar for its SCM. My plugin versions are maven-release-plugin 2.0 and maven-scm-plugin 1.4

[INF开发者_运维知识库O] EXECUTING: cmd.exe /X /C "bzr tag myproj-pathway-0.0.2"
[ERROR]  Not a branch: "D:/proj/".

The problem of course, is that the actual working directory/branch is D:/proj/branch; the parent is just a normal directory.

I assume the problem is with tagging since the modified POM is successfully checked in. How do I configure things so that tagging actually works correctly?

0

精彩评论

暂无评论...
验证码 换一张
取 消