【问题标题】:error when building jquantlib with maven使用 maven 构建 jquantlib 时出错
【发布时间】:2013-05-11 23:54:53
【问题描述】:

我尝试按照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

【问题讨论】:

    标签: java maven build quantlib


    【解决方案1】:

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

    mvn -DskipTests clean install
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-07-07
      • 1970-01-01
      • 2014-11-30
      • 2011-11-04
      • 2015-06-09
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多