๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
๋ฐ˜์‘ํ˜•

๋ฉ”์ด๋ธ3

[Maven] ๋งฅ์— ๋ฉ”์ด๋ธ ์„ค์น˜ํ•˜๊ธฐ, local repository ์œ„์น˜ ์ฐพ๊ธฐ https://maven.apache.org/download.cgi Maven – Download Apache Maven Downloading Apache Maven 3.8.6 Apache Maven 3.8.6 is the latest release and recommended version for all users. The currently selected download mirror is https://dlcdn.apache.org/. If you encounter a problem with this mirror, please select another mirror. I maven.apache.org ์œ„ ์‚ฌ์ดํŠธ์—์„œ ํŒŒ์ผ์„ ๋‹ค์šด๋กœ๋“œ ๋ฐ›๋Š”๋‹ค. 1. ํ„ฐ๋ฏธ๋„ ์˜คํ”ˆ 2. ๋‹ค์šด๋กœ๋“œ ๋ฐ›์€ ํŒŒ์ผ /usr/local.. 2022. 7. 1.
[Maven] ๋ฉ”์ด๋ธ repository์— ์—†๋Š” ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ์ถ”๊ฐ€ํ•˜๊ธฐ ํ•„์š”ํ•œ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๋ฅผ build.gradle์ด๋‚˜ pom.xml์˜ dependency์— ๋ช…์‹œ์— ์ฃผ๊ธฐ๋งŒ ํ•˜๋ฉด maven repository์—์„œ ์•Œ์•„์„œ ๊ฐ€์ ธ์™€์ค€๋‹ค. ํ•˜์ง€๋งŒ ํšŒ์‚ฌ์˜ ๋‚ด๋ถ€๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ์™€ ๊ฐ™์€ maven repository์— ์—†๋Š” ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๊ฐ€ ์žˆ๋‹ค๋ฉด ์–ด๋–ป๊ฒŒ ํ•ด์•ผํ• ๊นŒ? ๋ฐฉ๋ฒ•1 pom.xml์— ๋จผ์ € ๋ช…์‹œํ–ˆ์„ ๊ฒฝ์šฐ maven repository์— ํ•ด๋‹น ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๊ฐ€ ์กด์žฌํ•˜์ง€ ์•Š์•„ ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ•œ๋‹ค. ๋กœ์ปฌ์˜ maven repository ์— ๊ฐ€๋ณด๋ฉด ๋””๋ ‰ํ† ๋ฆฌ๊ฐ€ ์ƒ์„ฑ๋˜์–ด ์žˆ๋‹ค. ์—ฌ๊ธฐ์— test-1.0.0.jar ํŒŒ์ผ์„ ์ถ”๊ฐ€ํ•ด์ฃผ๋ฉด pom.xml์˜ ์—๋Ÿฌ๊ฐ€ ์‚ฌ๋ผ์ง„๋‹ค. ๋ฐฉ๋ฒ•2 mvn install:install-file -Dfile=D:\test-1.0.0.jar -DgroupId=com.test.ynzu -Dartifact.. 2022. 2. 3.
[Maven] ์œˆ๋„์šฐ์— ๋ฉ”์ด๋ธ ์„ค์น˜ ๋ฐ ํ™˜๊ฒฝ ๋ณ€์ˆ˜ ์„ค์ • 1. Mavne ์‚ฌ์ดํŠธ์—์„œ ๋‹ค์šด๋กœ๋“œ ์ž„์˜์˜ ์œ„์น˜์— ๋‹ค์šด๋กœ๋“œ ํ›„ ์••์ถ• ํ•ด์ œ Maven – Welcome to Apache Maven Welcome to Apache Maven Apache Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a project's build, reporting and documentation from a central piece of information. If you maven.apache.org 2. ์‹œ์Šคํ…œ์˜ PATH ํ™˜๊ฒฝ ๋ณ€์ˆ˜์— mavne bin ๋””๋ ‰ํ† ๋ฆฌ ๋“ฑ๋ก ์ œ์–ดํŒ>์‹œ์Šคํ…œ ๋ฐ ๋ณด์•ˆ>์‹œ.. 2021. 12. 30.
728x90
๋ฐ˜์‘ํ˜•