프로그래밍-2/eclipse
maven repository setting
daslyee
2019. 8. 5. 23:10
728x90
1. D:\tomtom\workspace 폴더 생성(이클립스 시작시 여기폴더 지정)
2. D:\tomtom\repository 폴더 생성(maven 관련 리소스 관리)
(1) settings.xml 생성(txt가 아니라 xml로 생성)
(2) settings.xml 내용 추가(표시안에 maven이 저장될 폴더를 지정해줌.)
ex )
<settings xmlns="http:"
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
http://maven.apache.org/xsd/settings-1.0.0.xsd">
<localRepository>D:/tomtom/repository</localRepository>
<interactiveMode>true</interactiveMode>
<offline>false</offline>
</settings>
(3) 이클립스 실행 후
- 이클립스 window>preferences>Maven>User Settings 화면에서 아래와 같이 설정
728x90