Skip to Content
자바 개발자를 위한 데브옵스 툴
book

자바 개발자를 위한 데브옵스 툴

by 스티븐 친, 멜리사 맥케이, 익스헬 루이츠, 바루크 사도구르스키, 정병열
April 2023
Beginner to intermediate
396 pages
8h 23m
Korean
Hanbit Media, Inc.
Content preview from 자바 개발자를 위한 데브옵스 툴
221
6
장
패키지 관리
6.5.1 6.5.1
메이븐 로컬 게시메이븐 로컬 게시
메이븐 로컬 리포지터리에 아티팩트를 게시하는 방법은 세 가지다. 그중 둘은 명시적이고 하
나는 암시적인 방법에 속한다. 사실 암시적인 게시 절차는 이번 장에서 이미 다룬 적이 있다.
메이븐이 원격 리포지터리의 정보를 통해 의존성을 해소할 때마다 아티팩트와 메타데이터
(
pompom
..
xmlxml
기준)의 사본이 메이븐 로컬 리포지터리에 배치된다. 이 과정이 바로 암시적인 메
이븐 로컬 게시다. 이 게시 절차가 필요한 이유는 메이븐이 로컬 리포지터리를 캐시로 활용하
기 때문이다. 메이븐 로컬에 한번 배치된 의존성 버전은 이후에 원격으로부터 다시 내려 받을
필요가 없다.
메이븐 로컬에 아티팩트를 게시하는 다른 두 방법은 아티팩트 파일을 리포지터리에 명시적으
로 ‘설치’하는 것이다. 메이븐은 일련의 라이프 사이클 페이즈가 있으며
installinstall
은 그중 하나다.
이 페이즈는 메이븐 로컬에 아티팩트를 컴파일, 테스트, 패키징, 설치할 때 사용되기 때문에 자
바 개발자는 대부분 익히 잘 알고 있다. 그만큼 남용되는 페이즈이기도 하다. 메이븐 라이프 사
이클 페이즈는 다음과 같이 사전에 결정된 순서를 따른다.
Available lifecycle phases are: validate, initialize, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

쿠버네티스를 활용한 클라우드 네이티브 데브옵스

쿠버네티스를 활용한 클라우드 네이티브 데브옵스

최경현, 저스틴 도밍거스, 존 어런들
클라우드 네이티브 애플리케이션 디자인 패턴

클라우드 네이티브 애플리케이션 디자인 패턴

카순 인드라시리, 스리스칸다라자 수호티얀
클라우드 엔지니어를 위한 97가지 조언

클라우드 엔지니어를 위한 97가지 조언

Emily Freeman, Nathen Harvey, 정기훈(Jung Ki Hun)

Publisher Resources

ISBN: 9791169210935