美文网首页
maven中setting.xml配置镜像原理的理解

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

作者: 逍遥无铭 | 来源:发表于2019-02-15 18:29 被阅读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这个仓库组,从仓库组配置的仓库列表中下载。

相关文章

网友评论

      本文标题:maven中setting.xml配置镜像原理的理解

      本文链接:https://www.haomeiwen.com/subject/dlvmeqtx.html