开发者

Wrong working directory used when tagging Maven release

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜