-
Notifications
You must be signed in to change notification settings - Fork 0
05.2) Looking at pom.xml
pom.xml ์์ฒด๊ฐ ๊ณ์ธต ๊ตฌ์กฐ๋ก ์ด๋ฃจ์ด์ ธ์๋ค.
spring-boot-starter-parent : ctrl + ๋ง์ฐ์คํด๋ฆญ -> ๋ค์ด๊ฐ์ง
spring-boot-dependendies : ๋ฒ์ ์ ๋ค ๋ช ์ํด ๋์.
dependencyManagement : ๊ฐ๊ฐ์ dependency ๋ฒ์ ๋ฑ์ ์ค์ ํด์ฃผ๋ ๋ถ๋ถ, ์์์ ๋ฐ์.
๋ถ๋ชจ๊ฐ ์ค์ ํด๋ ๊ฐ์ properties ์์ ์ฌ์ ์๊ฐ ๊ฐ๋ฅํ๋ค.
pluginManagement : plugin์ ๊ดํ ์ค์ ์ ๋ณด
์ผ๋ฐ์ ์ผ๋ก ๋ค ์ค์ ํด๋์ ๊ฒ์ ์์๋ฐ์์ ์ฌ์ฉํ๋ค.
spring-boot-starter-web : ์น๊ฐ๋ฐํ๋๋ฐ ํ์ํ ๋ผ์ด๋ธ๋ฌ๋ฆฌ, ์ค์ ์๋์ ์ผ๋ก ๊ตฌ์ถ
Theย Spring Boot Maven Pluginย provides Spring Boot support in Maven, letting you
- package executable jar or war archives
- run spring boot applications
Fat jar๋ฅผ ๋ง๋ ๋ค. (๊ธฐ์กด JAR์ ๊ฐ์ข ์์กด์ฑ, tomcat์ด ๋ค์ด๊ฐ)
repackage ํด์, Fat jar ๊ฐ ๋ง๋ค์ด์ง - spring-boot์ ๊ด๊ณ๋ jar ํ์ผ