IBM®
메인 컨텐츠로 가기
    Korea [국가변경]    이용약관
 
 
   
        제품    서비스 & 솔루션    고객지원 & 다운로드    회원 서비스    
메인 컨텐츠로 가기

한국 developerWorks  >  자바 | 오픈 소스  >

아파치 메이븐 2 시작하기 (한글)

developerWorks
Go to the previous page16 페이지 중 6 페이지Go to the next page

문서 옵션

샘플 코드


제안 및 의견
피드백

튜토리얼 평가

이 컨텐츠를 개선하기 위한 도움을 주십시오.


메이븐 다운로드와 설치

메이븐 2 distills를 다운로드하고 설치하는 과정은 다음과 같다.

  1. 공식 메이븐 프로젝트 사이트(참고자료를 보기 바란다)에서 메이븐 2 바이너리를 다운로드한다.
  2. 원하는 디렉터리에 배포본 바이너리 압축을 푼다.
  3. PATH 변수에 InstallationDirectory\bin 디렉터리를 추가한다.

설치를 확인하기 위해 커맨드 창에서 mvn -help를 입력한다. Listing 3에 있는 help 페이지를 볼 수 있을 것이다.


Listing 3. mvn -help 명령을 사용해 설치 확인
                    
C:\>mvn -help

usage: mvn [options] [<goal(s)>] [<phase(s)>]

Options:
 -C,--strict-checksums         Fail the build if checksums don't match
 -c,--lax-checksums            Warn if checksums don't match
 -P,--activate-profiles        Comma-delimited list of profiles to
                               activate
 -ff,--fail-fast               Stop at first failure in reactorized builds
 -fae,--fail-at-end            Only fail the build afterwards; allow all
                               non-impacted builds to continue
 -B,--batch-mode               Run in non-interactive (batch) mode
 -fn,--fail-never              NEVER fail the build, regardless of project
                               result
 -up,--update-plugins          Synonym for cpu
 -N,--non-recursive            Do not recurse into sub-projects
 -npr,--no-plugin-registry     Don't use ~/.m2/plugin-registry.xml for
                               plugin versions
 -U,--update-snapshots         Update all snapshots regardless of
                               repository policies
 -cpu,--check-plugin-updates   Force upToDate check for any relevant
                               registered plugins
 -npu,--no-plugin-updates      Suppress upToDate check for any relevant
                               registered plugins
 -D,--define                   Define a system property
 -X,--debug                    Produce execution debug output
 -e,--errors                   Produce execution error messages
 -f,--file                     Force the use of an alternate POM file.
 -h,--help                     Display help information
 -o,--offline                  Work offline
 -r,--reactor                  Execute goals for project found in the
                               reactor
 -s,--settings                 Alternate path for the user settings file
 -v,--version                  Display version information




위로



Go to the previous page16 페이지 중 6 페이지Go to the next page
    IBM 소개 개인정보 보호정책 문의