使用maven构建jquantlib时出错

时间:2013-05-11 23:54:53

标签: java maven build quantlib

我按照http://www.jquantlib.org/index.php/JQuantLib_Users_Guide#Building_JQuantLib_from_command_line中的说明尝试了安装jquantlib 但是,当我在jquantlib-all文件夹中运行“mvn clean install”时,出现以下错误。这是在我在jquantlib-parent文件夹btw中运行“mvn clean install”后,运行正常。有没有其他人遇到此问题或试图修复它?我尝试阅读错误消息建议的文章,但我无法从中得到很多帮助。

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.10:test (default-test) on project jquantlib: There are test failures.
[ERROR] 
[ERROR] Please refer to /home/harish/workspace/jquantlib/target/surefire-reports for the individual test results.
[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
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :jquantlib

1 个答案:

答案 0 :(得分:0)

此消息告诉您单元测试失败,因此构建已停止。您可以尝试通过运行以下命令跳过测试套件的执行:

mvn -DskipTests clean install