본문 바로가기

OpenSource/Maven

Maven Repository 설정


1. Maven 이 설치된 곳으로 이동 : C:\apache-maven-2.2.0\conf
2. settings.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 http://maven.apache.org/xsd/settings-1.0.0.xsd">
  <!-- localRepository  -->
   | The path to the local repository maven will use to store artifacts.
   |
   | Default: ~/.m2/repository
  <localRepository>C:\apache-maven-2.2.0\repo</localRepository>