0
maven을 사용하여 SAKAI를 만들려고하면 다음 오류가 발생합니다. 같은 문제에 직면 한 사람이 있습니까? 또한 첫째로 나는 sakai 소스 폴더 (sakai-src)에 master 폴더를 빌드한다. .m2 폴더 (c:/user/pc-user/.m2
) 안에 repository라는 폴더가 있어야하지만 존재하지 않아야한다.목표 org.apache.maven.plugins를 실행하지 못했습니다 : maven-surefire-plugin : 2.16 : SAKAI의 테스트 오류
- 사카이 10.7
- 메이븐 3.3.1
- 톰캣 7.0.72
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.16:test (default-test) on project external-calendaring-service-impl: There are test failures.
[ERROR]
[ERROR] Please refer to C:\apache\sakai-src\external-calendaring-service\impl\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 :external-calendaring-service-impl
첫째 정말 고마워, 당신이 내 문제를 해결할 것을 제안하지만 왜 .m2 폴더에 저장소 폴더를 만들 수 없습니다 두 번째 해결책? –
전체 로그를 제공하면 추측 할 수 있습니다. 처음에는 [INSTALL] 태그에 대한 로그를 확인할 수 있습니다. 항아리가 저장 될 경로를 보여줍니다. Maven보다 [INSTALL]이있는 행을 찾을 수 없으면 실패한 테스트에서 종속성 다운로드를 취소 할 수 있습니다. 또한 폴더가 숨겨져있을 수도 있습니다. – 0x44656e6e795279616e