我的设置:-server git上的-repository Atlassian Stash和Atlassian Bamboo.我使用的是Maven 3.1.1与release-plugin 2.3.2.该计划Bamboo看起来像这样:
git-repository退房clean installrelease:prepare和release:perform与ignoreSnapshots=true和resume=false直到最后一步的一切都运行良好,但Maven声明它无法标记版本,因为标签已经存在.这是日志:
build 26-Nov-2013 10:36:37 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.3.2:prepare (default-cli) on project [PROJECT-NAME]: Unable to tag SCM
build 26-Nov-2013 10:36:37 [ERROR] Provider message:
build 26-Nov-2013 10:36:37 [ERROR] The git-tag command failed.
build 26-Nov-2013 10:36:37 [ERROR] Command output:
build 26-Nov-2013 10:36:37 [ERROR] fatal: tag '[PROJECT-NAME]-6.2.2' already exists …Run Code Online (Sandbox Code Playgroud)