Maven 3.0.3 发布:在 Mac OS X 10.5.8 上准备失败

发布于 2024-11-09 09:56:21 字数 1253 浏览 3 评论 0原文

我正在尝试在 Mac OS X 10.5 上执行 mvn release:prepare,但失败并显示以下消息。

[INFO] Working directory: /Users/km/.../maven-release-project
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.043s
[INFO] Finished at: Sat May 21 19:23:29 CEST 2011
[INFO] Final Memory: 6M/528M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.1:prepare (default-cli) on project 900-release: Unable to check for local modifications
[ERROR] Provider message:
[ERROR] The svn command failed.
[ERROR] Command output:
[ERROR] /bin/sh: svn: command not found
[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 已安装并且工作没有任何问题。 (/opt/subversion/bin/svn)。

I'm trying to do a mvn release:prepare on a Mac OS X 10.5 which fails with the following message.

[INFO] Working directory: /Users/km/.../maven-release-project
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.043s
[INFO] Finished at: Sat May 21 19:23:29 CEST 2011
[INFO] Final Memory: 6M/528M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.1:prepare (default-cli) on project 900-release: Unable to check for local modifications
[ERROR] Provider message:
[ERROR] The svn command failed.
[ERROR] Command output:
[ERROR] /bin/sh: svn: command not found
[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

The problem is svn is installed and works without any problem. (/opt/subversion/bin/svn).

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

快乐很简单 2024-11-16 09:56:21

我创建了一个到 svn 二进制文件的符号链接,它有帮助:

ln -s /opt/subversion/bin/svn /bin/svn

I created a symlink to svn binary and it helped:

ln -s /opt/subversion/bin/svn /bin/svn
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文