论坛首页 Java企业应用论坛

maven 官方库在中国已经成为废物了么

浏览 26856 次
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (7)
作者 正文
   发表时间:2011-05-14  
maven 官方库在国内已经成为废物了吗?
总是访问不了,连maven install命令都不行了,下载不了插件。如此一个化标准的东西居然用得这么悲剧,难道想自己点开源小工具都要搭个私服么。
   发表时间:2011-05-14  
经常用,没发现访问不了。

0 请登录后投票
   发表时间:2011-05-14  
如果你说的是http://repo1.maven.org/,是,他最近换地方了貌似
0 请登录后投票
   发表时间:2011-05-14  
用sonatype那个吧
0 请登录后投票
   发表时间:2011-05-14   最后修改:2011-05-14
  
<mirrors>
<mirror>
      <id>repo2</id>
      <mirrorOf>central</mirrorOf>
      <name>Human Readable Name for this Mirror.</name>
      <url>http://repo2.maven.org/maven2/</url>
    </mirror>
<mirror>
      <id>net-cn</id>
      <mirrorOf>central</mirrorOf>
      <name>Human Readable Name for this Mirror.</name>
      <url>http://maven.net.cn/content/groups/public/</url>	
    </mirror>
<mirror>
      <id>ui</id>
      <mirrorOf>central</mirrorOf>
      <name>Human Readable Name for this Mirror.</name>
     <url>http://uk.maven.org/maven2/</url>
    </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>

丢给你....
2 请登录后投票
   发表时间:2011-05-15  
个人经常用,感觉还好。
搭建自己的私服吧,我用的是nexus。
0 请登录后投票
   发表时间:2011-05-15  
uk.maven.org
0 请登录后投票
   发表时间:2011-05-15  
很多文件在repo1.maven.org上是没有,在mirrors.ibiblio.org上有。

我一般是用 http://mvnrepository.com/ 来确定文件在哪里的。
0 请登录后投票
   发表时间:2011-05-15  
dwangel 写道
很多文件在repo1.maven.org上是没有,在mirrors.ibiblio.org上有。

我一般是用 http://mvnrepository.com/ 来确定文件在哪里的。


http://mvnrepository.com/ 这个上面的很多jar都好几年没更新了
0 请登录后投票
   发表时间:2011-05-15   最后修改:2011-05-15
maven中央仓库现在增加了个快速查询功能,和mvnrepository功能差不太多,
现在直接访问http://repo1.maven.org/maven2/、http://repo2.maven.org/maven2/会让你移步至http://search.maven.org
但其下边的子子目录一切正常(如http://repo2.maven.org/maven2/org/apache/),并不影响我们下载依赖包。如果它挂了,别的仓库还同步更新个P呀。
1 请登录后投票
论坛首页 Java企业应用版

跳转论坛:
Global site tag (gtag.js) - Google Analytics