maven中setting.xml配置镜像原理的理解

2019-02-15  本文已影响0人  逍遥无铭

<mirror>

    <id>nexus</id> 

    <name>Nexus Repository</name>

    <url>http://10.10.0.225:8181/nexus/content/groups/public</url>

    <mirrorOf>central</mirrorOf>

</mirror>

    <id>nexus</id> 这里id随便取。
    <mirrorOf>central</mirrorOf>表示对central仓库的请求都被代理到public这个仓库组,从仓库组配置的仓库列表中下载。

上一篇 下一篇

猜你喜欢

热点阅读