이 누리집은 대한민국 공식 전자정부 누리집입니다.
적용 지원, FAQ, Q&A 게시판을 통해 기술 문제 해결을 지원합니다.
강*범
2022-08-06 14:50:24
2,275
개발환경 / 3.6
완료
메이븐 clean -> 메이븐 install 시 빌드 실패가 아래와 같이 나옵니다.
[INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.4/maven-install-plugin-2.4.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.427 s
[INFO] Finished at: 2022-08-06T14:25:24+09:00
[INFO] Final Memory: 7M/115M
[INFO] ------------------------------------------------------------------------
[ERROR] Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-install-plugin:jar:2.4: Could not transfer artifact org.apache.maven.plugins:maven-install-plugin:pom:2.4 from/to central (https://repo.maven.apache.org/maven2): Received fatal alert: protocol_version -> [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/PluginResolutionException
=============================================
시도한 조치는 로컬저장소 ../.m2/repository 삭제하고 이클립스 가동시켜 update(force update 체크박스 체크), clean, install 순으로 진행했습니다.
안녕하세요.
표준프레임워크센터입니다.
Maven Central Repository 정책 변화(20.01.15)로 인한 Maven install 에러로 보입니다.
현재 Maven 운용 시 JDK8 이상에서
TLS1.2 이상의 규격이 필요합니다.
따라서 개발환경 구동 및 운용 시
JDK8 이상을 기반으로 설정해 주셔야 합니다.
다음을 참고하여 repository 주소를 바꿔보시길 바랍니다.
https://www.egovframe.go.kr/home/faqinfo/faqinfoRead.do?pagerOffset=0&searchKey=&searchValue=&menuNo=68&faqId=FAQ_0000000000000761
https://www.egovframe.go.kr/home/faqinfo/faqinfoRead.do?pagerOffset=0&searchKey=&searchValue=&menuNo=68&faqId=FAQ_0000000000000751
감사합니다.