当前位置:   article > 正文

Maven配置阿里云镜像

Maven配置阿里云镜像
  1. <mirrors>
  2. <!-- 阿里云Maven镜像配置 -->
  3. <mirror>
  4. <id>nexus-aliyun</id>
  5. <mirrorOf>*</mirrorOf>
  6. <name>Nexus aliyun</name>
  7. <url>http://maven.aliyun.com/nexus/content/groups/public</url>
  8. </mirror>
  9. <!-- mirror
  10. | Specifies a repository mirror site to use instead of a given repository. The repository that
  11. | this mirror serves has an ID that matches the mirrorOf element of this mirror. IDs are used
  12. | for inheritance and direct lookup purposes, and must be unique across the set of mirrors.
  13. |
  14. <mirror>
  15. <id>mirrorId</id>
  16. <mirrorOf>repositoryId</mirrorOf>
  17. <name>Human Readable Name for this Mirror.</name>
  18. <url>http://my.repository.com/repo/path</url>
  19. </mirror>
  20. -->
  21. </mirrors>

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/盐析白兔/article/detail/87422?site
推荐阅读
相关标签
  

闽ICP备14008679号