All Articles

Maven 설치 및 Intelij 설정

Maven

설치

mkdir d:\opt\maven
cd d:\opt\maven

curl -k -L -o apache-maven-3.5.3-bin.zip http://mirror.apache-kr.org/maven/maven-3/3.5.3/binaries/apache-maven-3.5.3-bin.zip
tar -xzvf apache-maven-3.5.3-bin.zip

setx -m MAVEN_HOME d:\opt\maven\apache-maven-3.5.3-bin
setx -m PATH %PATH%;%MAVEN_HOME%\bin;

mvn -version

repository path 변경

  • 기본 : %USERPROFILE%.m2\repository
  • %MAVEN_HOME%\conf\settings.xml
<!-- 주석 해제 후 설정 -->
<localRepository>d:\opt\maven\repo</localRepository>

intellij

설정

Published 2 Dec 2016

속도보다 방향이 중요하다!
nadawoom on Twitter