jenkins maven 빌드 에러 문의입니다.
- 작성자 :
- 김*환
- 작성일 :
- 2024-01-12 17:18:00
- 조회수 :
- 781
- 구분 :
- 개발환경 / 3.7
- 진행상태 :
- 완료
Q
jenkins 에서 maven으로 빌드시에 아래와 같은 에러가 발생합니다.
maven version은 3.9.3 과 3.9.6 으로 테스트하였습니다.
결과는 동일합니다.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.560 s
[INFO] Finished at: 2024-01-12T17:12:54+09:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project test: Could not resolve dependencies for project compony:test:war:1.0.0: Failed to collect dependencies at egovframework.rte:egovframework.rte.ptl.mvc:jar:3.7.0: Failed to read artifact descriptor for egovframework.rte:egovframework.rte.ptl.mvc:jar:3.7.0: The following artifacts could not be resolved: egovframework.rte:egovframework.rte.ptl.mvc:pom:3.7.0 (absent): Could not transfer artifact egovframework.rte:egovframework.rte.ptl.mvc:pom:3.7.0 from/to maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for repositories: [egovframe (http://www.egovframe.go.kr/maven/, default, releases), egovframe2 (http://maven.egovframe.kr:8080/maven/, default, releases)] -> [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/DependencyResolutionException
Build step 'Invoke top-level Maven targets' marked build as failure
SSH: Current build result is [FAILURE], not going to run.
Finished: FAILURE
maven version은 3.9.3 과 3.9.6 으로 테스트하였습니다.
결과는 동일합니다.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.560 s
[INFO] Finished at: 2024-01-12T17:12:54+09:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project test: Could not resolve dependencies for project compony:test:war:1.0.0: Failed to collect dependencies at egovframework.rte:egovframework.rte.ptl.mvc:jar:3.7.0: Failed to read artifact descriptor for egovframework.rte:egovframework.rte.ptl.mvc:jar:3.7.0: The following artifacts could not be resolved: egovframework.rte:egovframework.rte.ptl.mvc:pom:3.7.0 (absent): Could not transfer artifact egovframework.rte:egovframework.rte.ptl.mvc:pom:3.7.0 from/to maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for repositories: [egovframe (http://www.egovframe.go.kr/maven/, default, releases), egovframe2 (http://maven.egovframe.kr:8080/maven/, default, releases)] -> [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/DependencyResolutionException
Build step 'Invoke top-level Maven targets' marked build as failure
SSH: Current build result is [FAILURE], not going to run.
Finished: FAILURE
환경정보
-
- OS 정보 : linux
- 표준프레임워크 버전 : 3.7
- JDK(JRE) 정보 : 1.8
- WAS 정보 : tomcat
- DB 정보 : mysql
- 기타 환경 정보 :
A
안녕하세요.
표준프레임워크 센터입니다.
maven 3.8.1 이상에서
HTTP를 막는 설정이 default로 변경 되었습니다.
https://maven.apache.org/docs/3.8.1/release-notes.html
세부적인 사항은 다음 자주 묻는 질문을 참고 하시면 좋을듯 합니다.
https://www.egovframe.go.kr/home/faqinfo/faqinfoRead.do?pagerOffset=0&searchKey=&searchValue=&menuNo=68&faqId=FAQ_0000000000000761
또한 표준프레임워크 maven repository에 관련하여서는 다음 링크를 참고 바랍니다.
https://www.egovframe.go.kr/home/faqinfo/faqinfoRead.do?pagerOffset=0&searchKey=&searchValue=&menuNo=68&faqId=FAQ_0000000000000751
감사합니다.
표준프레임워크 센터입니다.
maven 3.8.1 이상에서
HTTP를 막는 설정이 default로 변경 되었습니다.
https://maven.apache.org/docs/3.8.1/release-notes.html
세부적인 사항은 다음 자주 묻는 질문을 참고 하시면 좋을듯 합니다.
https://www.egovframe.go.kr/home/faqinfo/faqinfoRead.do?pagerOffset=0&searchKey=&searchValue=&menuNo=68&faqId=FAQ_0000000000000761
또한 표준프레임워크 maven repository에 관련하여서는 다음 링크를 참고 바랍니다.
https://www.egovframe.go.kr/home/faqinfo/faqinfoRead.do?pagerOffset=0&searchKey=&searchValue=&menuNo=68&faqId=FAQ_0000000000000751
감사합니다.