码迷,mamicode.com
首页 > 其他好文 > 详细

setting配置,引入阿里的maven仓库

时间:2018-02-25 01:11:14      阅读:143      评论:0      收藏:0      [点我收藏+]

标签:pos   blog   span   oss   purpose   nbsp   ups   class   path   

  <mirrors>
    <mirror>
        <id>nexus-aliyun</id>
        <mirrorOf>*</mirrorOf>
        <name>Nexus aliyun</name>
        <url>http://maven.aliyun.com/nexus/content/groups/public</url>
    </mirror>

    <!-- mirror
     | Specifies a repository mirror site to use instead of a given repository. The repository that
     | this mirror serves has an ID that matches the mirrorOf element of this mirror. IDs are used
     | for inheritance and direct lookup purposes, and must be unique across the set of mirrors.
     |
    <mirror>
      <id>mirrorId</id>
      <mirrorOf>repositoryId</mirrorOf>
      <name>Human Readable Name for this Mirror.</name>
      <url>http://my.repository.com/repo/path</url>
    </mirror>
     -->
  </mirrors>

setting配置,引入阿里的maven仓库

标签:pos   blog   span   oss   purpose   nbsp   ups   class   path   

原文地址:https://www.cnblogs.com/lcs-java/p/8468035.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!