사용자 도구

사이트 도구


wiki:spring:maven

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판
이전 판
wiki:spring:maven [2020/10/13 15:42]
hylee
wiki:spring:maven [2023/01/13 18:44] (현재)
줄 8: 줄 8:
 <WRAP clear/> <WRAP clear/>
  
 +===== repository 경로 변경 =====
 +
 +    * Window -> Preferences -> Maven -> User Settings
 +    * 그림과 같이 'Browse...' 클릭 후 
 +{{wiki:spring:maven_repository_경로_변경_1_.png}}
 +
 +    * 아래의 settings.xml를 새로 생성하여 (경로는 참고 사항)
 +
 +
 +settings.xml
 +<code xml>
 +<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
 +                      https://maven.apache.org/xsd/settings-1.0.0.xsd">
 +  <localRepository>D:/03.MAVEN/repository</localRepository>
 +</settings>
 +</code>
 +
 +{{wiki:spring:maven_repository_경로_변경_2_.png}}
 +   * settings.xml를 설정한 후에 Apply 클릭 (우측 하단에서 Maven 파일들이 다운되는 것을 확인한다.)
 +
 +
 +=== ref ===
 +[[https://mine-it-record.tistory.com/160|settings.xml 생성해서 경로 변경]]
 ===== Faq ===== ===== Faq =====
   * 메이븐 디펜던시(dependency) 추가 하기   * 메이븐 디펜던시(dependency) 추가 하기
줄 28: 줄 53:
 Goal? Goal?
   * Maven이 행할 수 있는 여러가지 동작을 수행하는 명령을 Goal이라고함   * Maven이 행할 수 있는 여러가지 동작을 수행하는 명령을 Goal이라고함
-  * 실행 방식, 체인 형태로 실행가능 +  * 실행 방식, 체인 형태로 실행가능 \\ 
- $ mvn [goal명령어] [goal명령어] [goal명령어]+ 
 +  $ mvn [goal명령어] [goal명령어] [goal명령어]
  
   * goal 종류   * goal 종류
줄 41: 줄 67:
   * [[https://jujupapa.tistory.com/22|[Maven] ojdbc6 받기 Missing artifact com.oracle:ojdbc6:jar:11.2.0.3]]   * [[https://jujupapa.tistory.com/22|[Maven] ojdbc6 받기 Missing artifact com.oracle:ojdbc6:jar:11.2.0.3]]
   * [[https://eclipse4j.tistory.com/275|eclipse(sts)에서 m2 repository 따로 지정하기]]   * [[https://eclipse4j.tistory.com/275|eclipse(sts)에서 m2 repository 따로 지정하기]]
 +  * [[https://wikidocs.net/18341|Goal정리]]
 +
  
-{{tag>주레피 maven}}+{{tag>주레피 도봉산핵주먹 maven}}
/volume1/web/dokuwiki/data/attic/wiki/spring/maven.1602571355.txt.gz · 마지막으로 수정됨: 2022/03/10 19:52 (바깥 편집)