2013-05-11 105 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