달력

4

« 2024/4 »

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30

'maVen'에 해당되는 글 1

  1. 2007.01.07 3rd Party jar를 원격 리파지토리에 배포하기
mvn deploy:deploy-file -DgroupId=<group-id> \
        -DartifactId=<artifact-id> \
        -Dversion=<version> \
        -Dpackaging=<type-of-packaging> \
        -Dfile=<path-to-file> \
        -DrepositoryId=<id-to-map-on-server-section-of-settings.xml> \
        -Durl=<url-of-the-repositor-to-deploy>

위와 같은 명령을 이용하면 된다.

디폴트로 deploy:deploy-file 명령은 배포시 pom 파일을 생성한다. pom 파일 생성을 하지 않도록 하려면 아래 옵션을 추가하면 된다.

-DgeneratePom=false
:
Posted by codetemplate