ํ‹ฐ์Šคํ† ๋ฆฌ ๋ทฐ

๐ŸŒ‹ Error Fixed

maven Blocked mirror for repositories

์ฃผ๋‡ฌ 2023. 10. 13. 17:07
๋ฐ˜์‘ํ˜•

๐Ÿ˜ฑ maven Blocked mirror for repositories

- Maven 3.8.1 ์ด์ƒ ๋ถ€ํ„ฐ ๋ณด์•ˆ์ƒ์˜ ์ด์œ ๋กœ HTTP ๋ ˆํฌ๋Š” ์ ‘๊ทผ์„ ๋ง‰์•˜๊ธฐ ๋•Œ๋ฌธ์— ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒ

~/.m2/settings.xml์— ๋ฏธ๋Ÿฌ ๋ ˆํฌ ์ถ”๊ฐ€ํ•˜์—ฌ ํ•ด๊ฒฐํ•ด๋ด…์‹œ๋‹ค.

POM.xml
<!-- nexus ์„œ๋ฒ„ -->
<repositories>
    <repository>
        <id>mynexus</id>
        <name>mynexus</name>
        <url>http://111.111.111.111/nexus/content/groups/public/</url>
        <releases>
            <enabled>true</enabled>
        </releases>
        <snapshots>
            <enabled>true</enabled>
        </snapshots>
    </repository>
</repositories>

vi ~/.m2/settings.xml ์—†์œผ๋ฉด ๋งŒ๋“ค๋ฉด ๋ฉ๋‹ˆ๋‹ค.

<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 https://maven.apache.org/xsd/settings-1.0.0.xsd">
    <mirrors>
        <mirror>
            <id>release-http-unblocker</id>
            <mirrorOf>mynexus</mirrorOf>
            <url>http://111.111.111.111/nexus/content/groups/public</url>
        </mirror>
    </mirrors>
</settings>
๊ณต์ง€์‚ฌํ•ญ
์ตœ๊ทผ์— ์˜ฌ๋ผ์˜จ ๊ธ€
์ตœ๊ทผ์— ๋‹ฌ๋ฆฐ ๋Œ“๊ธ€
Total
Today
Yesterday
๋งํฌ
ยซ   2024/12   ยป
์ผ ์›” ํ™” ์ˆ˜ ๋ชฉ ๊ธˆ ํ† 
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 31
๊ธ€ ๋ณด๊ด€ํ•จ
๋ถ„๋ฅ˜ ์ „์ฒด๋ณด๊ธฐ (80)
๐Ÿ“บ Develop (0)
๐ŸŒ‹ Error Fixed (5)
๐Ÿ— Tool (5)
๐Ÿ’ป MacBook M1 (15)
๐Ÿ“ฆ ETC (1)

์ด ํฌ์ŠคํŒ…์€ ์ฟ ํŒก ํŒŒํŠธ๋„ˆ์Šค ํ™œ๋™์˜ ์ผํ™˜์œผ๋กœ, ์ด์— ๋”ฐ๋ฅธ ์ผ์ •์•ก์˜ ์ˆ˜์ˆ˜๋ฃŒ๋ฅผ ์ œ๊ณต๋ฐ›์Šต๋‹ˆ๋‹ค.