关于Maven

朋友们,有没有比较全的repository可以提供一下,谢谢啦
全部评论
直接把mavan 的配置文件 setting.xml里面 的mirrors 换成这个     <mirrors>         <!-- 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>         <mirror>             <id>alimaven</id>             <name>aliyun maven</name>             <url>http://maven.aliyun.com/nexus/content/groups/public/</url>             <mirrorOf>central</mirrorOf>         </mirror>         <mirror>             <id>alimaven</id>             <mirrorOf>central</mirrorOf>             <name>aliyun maven</name>             <url>http://maven.aliyun.com/nexus/content/repositories/central/</url>         </mirror>         <mirror>             <id>uk</id>             <mirrorOf>central</mirrorOf>             <name>Human Readable Name for this Mirror.</name>             <url>http://uk.maven.org/maven2/</url>         </mirror>         <mirror>             <id>CN</id>             <name>OSChina Central</name>             <url>http://maven.oschina.net/content/groups/public/</url>             <mirrorOf>central</mirrorOf>         </mirror>         <mirror>             <id>nexus</id>             <name>internal nexus repository</name>             <url>http://repo.maven.apache.org/maven2</url>             <mirrorOf>central</mirrorOf>         </mirror>         <mirror>             <id>ibiblio</id>             <mirrorOf>central</mirrorOf>             <name>Human Readable Name for this Mirror.</name>             <url>http://mirrors.ibiblio.org/pub/mirrors/maven2/</url>         </mirror>         <mirror>             <id>jboss-public-repository-group</id>             <mirrorOf>central</mirrorOf>             <name>JBoss Public Repository Group</name>             <url>http://repository.jboss.org/nexus/content/groups/public</url>         </mirror>         <mirror>             <id>central</id>             <name>Maven Repository Switchboard</name>             <url>http://repo1.maven.org/maven2/</url>             <mirrorOf>central</mirrorOf>         </mirror>         <mirror>             <id>repo2</id>             <mirrorOf>central</mirrorOf>             <name>Human Readable Name for this Mirror.</name>             <url>http://repo2.maven.org/maven2/</url>         </mirror>     </mirrors>
点赞 回复 分享
发布于 2019-04-14 12:59
用阿里maven啊
点赞 回复 分享
发布于 2019-04-14 12:11

相关推荐

11-15 16:33
已编辑
微软_sde(实习员工)
点赞 评论 收藏
分享
11-04 22:56
已编辑
门头沟学院 Java
点赞 评论 收藏
分享
评论
点赞
3
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务