【问题标题】:Maven Release Plugin and SVN commit errorMaven 发布插件和 SVN 提交错误
【发布时间】:2013-09-02 04:55:55
【问题描述】:

我是这个 Maven 的新手。目前我正在研究SVN。当我尝试应用“ mvn release:prepare ”命令时遇到问题。它显示错误,如下所示

错误:--

[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:03.733s
[INFO] Finished at: Mon Sep 02 10:17:17 GMT+05:30 2013
[INFO] Final Memory: 6M/81M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.2.1:prepare (default-cli) on project curo-fabric-component-rabbitmq-experiments: Unable to commit files
[ERROR] Provider message:
[ERROR] The svn command failed.
[ERROR] Command output:
[ERROR] svn: Commit failed (details follow):
[ERROR] svn: Commit blocked by pre-commit hook (exit code 1) with output:
[ERROR] Valid Radar/Espresso number is not given with commit.
[ERROR] Provide Radar number as rdar://12345678 OR Provide Espresso number as <exp2://Ticket/12345678>
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

请帮帮我。我已经检查了我本地的位置。然后我正在应用这个命令,它无法提交给 SVN。

欢迎提出任何建议。 提前谢谢你。

【问题讨论】:

    标签: svn maven-3 maven-release-plugin


    【解决方案1】:

    来自

    提供雷达编号为 rdar://12345678 或提供 Espresso 编号为

    我认为您的 svn 服务器要求您使用确切格式的消息提交。所以我认为您应该尝试使用上述格式之一:rdar://12345678&lt;exp2://Ticket/12345678&gt;

    【讨论】:

    • 感谢您的回答。但是,如何使用命令传递该参数。我已经尝试过 -Drdar=12345678。
    • 我不确定,但您可以在jlorenzen.blogspot.com/2008/10/… 尝试Tip #1 - Change Commmit Comment。祝你好运:D
    猜你喜欢
    • 2013-09-06
    • 1970-01-01
    • 2012-11-15
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-01-16
    • 2012-10-14
    相关资源
    最近更新 更多