2013-05-11 67 views
0

我按照http://www.jquantlib.org/index.php/JQuantLib_Users_Guide#Building_JQuantLib_from_command_line 中的说明尝试安装jquantlib但是,当我在jquantlib-all文件夹中运行“mvn clean install”时,出现以下错误。这是我在jquantlib-parent文件夹中运行“mvn clean install”btw并且工作正常。有没有其他人遇到过这个或试图解决它?我尝试阅读错误消息提示的文章,但我无法从中获得太多帮助。当使用maven构建jquantlib时出错

[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 

回答

0

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

mvn -DskipTests clean install 
+0

谢谢,修复它 – user1943079 2013-05-15 02:32:37