When creating a hadoop maven project, the jar package download is too slow, what should I do? ?

Problem description:
Create a hadoop maven project, but the jar download is too slow. Checking the information may be the problem of Alibaba Cloud mirroring, then change to Huawei Cloud~

Solution:
find the setting.xml of maven and join

<mirror>
    <id>huaweicloud</id>
    <mirrorOf>*</mirrorOf>
    <url>https://mirrors.huaweicloud.com/repository/maven/</url>
</mirror>

Insert picture description here

Guess you like

Origin blog.csdn.net/weixin_44695793/article/details/108089516