2013-05-11 3 views
0

http://www.jquantlib.org/index.php/JQuantLib_Users_Guide#Building_JQuantLib_from_command_line 의 지침에 따라 jquantlib을 설치하려고했지만 jquantlib-all 폴더에서 "mvn clean install"을 실행하면 다음 오류가 발생합니다. 이것은 "mvn clean install"을 jquantlib-parent 폴더 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

관련 문제