«

»

Oct 27

Maven 설치 요약 (Windows)

1. 설치

- Maven 2.2.1(zip) 다운로드
- apache-maven-2.2.1-bin.zip를 원하는 디렉토리에 압축을 푼다.



  • e.g. C:\Dev\apache-maven-2.2.1

2. 설정

- 시스템 등록정보(WinKey + Pause)를 열고 고급탭으로 이동한다.
- 다음 각각의 환경변수를 등록한다.



  • M2_HOME: C:\Dev\apache-maven-2.2.1

  • M2: %M2_HOME%\bin

  • JAVA_HOME: C:\Program Files\Java\jdk1.5.0_20\

사용자 삽입 이미지


- PATH 환경변수에 다음 항목들을 추가(확인)한다.



  • %JAVA_HOME%\bin

  • %M2%

3. 확인

- 새로운 명령 프롬프트(Winkey + R, cmd)를 열고 다음 명령을 수행하여 설치를 확인한다.



  • mvn –version

사용자 삽입 이미지


4. 참고

- Apache Maven Project: http://maven.apache.org/
- Maven Download: http://maven.apache.org/download.html
- Settings reference: http://maven.apache.org/settings.html



About the author

박경서

Software Engineer

2 comments

1 ping

  1. 남윤혁

    깔끔한 정리군용!!!!

    1. Mr.朴

      원래 간단해!!!

  1. Challenge In 20s Ph.D.

    PrismTech OpenSplice Adds to Open Source SOA 기사 참고: http://www.idevnews.com/stories/4103/PrismTech-OpenSplice-Adds-to-Open-Source-SOA PrismTech is bringing DDS support to Apache Camel with the release of its OpenSplice DDS Connector. Developed under a c..

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>