chenyanbin

  只需要将maven的配置文件settings.xml修改如下即可

<?xml version="1.0" encoding="UTF-8"?>
<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 http://maven.apache.org/xsd/settings-1.0.0.xsd">
    <pluginGroups></pluginGroups>
    <proxies></proxies>
    <servers></servers>
    <mirrors>
        <!--maven代理开始-->
            <mirror>
                <id>huaweicloud</id>
                <mirrorOf>*</mirrorOf>
                <url>https://repo.huaweicloud.com/repository/maven/</url>
            </mirror>
        <!--maven代理结束-->
    </mirrors>
    <profiles>
    </profiles>
</settings>

 

分类:

技术点:

相关文章:

  • 2021-11-09
  • 2022-12-23
  • 2022-12-23
  • 2021-04-01
  • 2021-11-29
猜你喜欢
  • 2021-12-15
  • 2021-08-03
  • 2021-12-04
  • 2022-12-23
  • 2021-04-22
  • 2021-11-20
相关资源
相似解决方案