DEV tools/Eclipse
pom.xml에서 Dependency 검색이 되지 않을 때 - Index download
defacto standard
2017. 11. 11. 19:08
maven project에서 라이브러리를 사용할 때, pom.xml에 Dependency를 기술하여야 한다.
pom.xml에서 Dependency를 검색할 때 다음과 같이 검색이 되지 않는 경우가 있다.
"index downloads are disabled, search results may be incomplete" 라는 경고가 뜬다.
1. Eclipse의 Windows - Preferences - Maven - Download repository index updates on startup 을 체크
2. Window - Show view - Maven - maven Repositories - OK (하단에 Repositories라는 View가 생김)
- Global Repositories - central 우클릭 - Update index
업데이트가 완료되면 정상적으로 검색이 된다.