2014-02-26 3 views
-1

Maven-3.0.4jdk 1.6.0_45을 사용하여 응용 프로그램을 빌드하려고합니다. 응용 프로그램을 성공적으로 구축하려면 세 가지 작업 (세 가지 중 하나는 성공하지만 네 번째는 반복적으로 실패하는 작업)을 수행해야합니다.Java - 목표 org.apache.maven.plugins를 실행하지 못했습니다. maven-surefire-plugin : 2.7.2 (또는 2.12.4 또는 2.16) : 테스트

(상태와 함께)하는 작업은 다음과 같습니다 -

[INFO] Eureka! Clinical Analytics ........................ SUCCESS [15.788s] 
[INFO] Eureka Common ..................................... SUCCESS [4:45.548s] 
[INFO] Eureka WebApp ..................................... SUCCESS [6:46.893s] 
[INFO] Eureka Services ................................... FAILURE [8:59.532s] 
[INFO] Eureka Protempa ETL ............................... SKIPPED 
[INFO] Eureka EAR ........................................ SKIPPED 

이 그것은 '할 수 받는다는 - 확실한 - 플러그인 in order to succeed at the 유레카 Services` 작업이 특정 테스트가 있습니다 필요합니다.

내가 플러그인의 maven-surefire-plugin:2.7.2\2.12.4\2.16 버전을 사용하여 시도했지만 오류가 항상 동일 다음과 같이됩니다 : -

[INFO] ------------------------------------------------------------------------ 
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.7.2 (or 2.12.4 or 2.16):test (default-test) on project eureka-services: There are test failures. 
[ERROR] 
[ERROR] Please refer to /home/user/eureka-1.8.2/eureka-services/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 

지금 무엇을 이해할 수 없습니다입니다. 제발 조언.

참고 : - 이클립스에 대해 많이 알지 못하므로 터미널에서이를 수행하고 있습니다.

+0

개별 테스트 결과는 /home/user/eureka-1.8.2/eureka-services/target/surefire-reports에서 확인하십시오. – user1717259

+0

나는 가지고 있지만 뭘 찾아야할지 모른다. – kusur

+0

테스트가 실패했을 가능성이 큽니다. 테스트 결과는 지정된 디렉토리에 있습니다. – user1717259

답변

-1

유레카 서비스 패키지의 테스트를 해결해야합니다.

여기 /home/user/eureka-1.8.2/eureka-services/target/surefire-reports에서 로그를 찾을 수 있습니다.

관련 문제