0
我正在尝试执行mvn发行版:准备在Mac OS X 10.5上失败并显示以下消息。Maven 3.0.3发布:在Mac OS X 10.5.8上准备失败
[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被安装并且没有任何问题。 (/选择/颠覆/斌/ SVN)。
猜SVN是不是在你的PATH。 – Raghuram 2011-05-23 05:57:59
svn在路径中...... svn输出/ opt/subversion/bin/svn,我可以从命令行调用它,没有任何问题。 – khmarbaise 2011-05-24 06:40:49
我实际上有同样的错误,但与mercurial而不是颠覆;问题是我没有初始化mercurial目录[$ hg init]。你确定你为svn做过吗? – 2011-06-06 20:27:17