0
点赞
收藏
分享

微信扫一扫

build(构建)--仓库

彩虹_bd07 2022-03-23 阅读 22


阿里云

官网

​​【FAQ】新版maven.aliyun.com答疑-云栖社区-阿里云​​

​​Maven 公共代理库-阿里云开发者社区​​

代理的仓库列表

仓库名称

代理源地址

使用地址

central

​​Central Repository:​​


​​https://maven.aliyun.com/repository/central​​

或 ​​https://maven.aliyun.com/nexus/content/repositories/central​​


jcenter

​​http://jcenter.bintray.com/​​


​​https://maven.aliyun.com/repository/jcenter​​

或 ​​https://maven.aliyun.com/nexus/content/repositories/jcenter​​


public

central仓和jcenter仓的聚合仓


https://maven.aliyun.com/repository/public

或​​https://maven.aliyun.com/nexus/content/groups/public​​


google

​​https://maven.google.com/​​


​​https://maven.aliyun.com/repository/google​​

或 ​​https://maven.aliyun.com/nexus/content/repositories/google​​


gradle-plugin

​​https://plugins.gradle.org/m2/​​


​​https://maven.aliyun.com/repository/gradle-plugin​​

或 ​​https://maven.aliyun.com/nexus/content/repositories/gradle-plugin​​


spring

​​JFrog​​


​​https://maven.aliyun.com/repository/spring​​

或 ​​https://maven.aliyun.com/nexus/content/repositories/spring​​


spring-plugin

​​JFrog​​


​​https://maven.aliyun.com/repository/spring-plugin​​

或 ​​https://maven.aliyun.com/nexus/content/repositories/spring-plugin​​


grails-core

​​JFrog​​


​​https://maven.aliyun.com/repository/grails-core​​

或 ​​https://maven.aliyun.com/nexus/content/repositories/grails-core​​


apache snapshots

​​Index of /groups/snapshots​​


​​https://maven.aliyun.com/repository/apache-snapshots​​

或 ​​https://maven.aliyun.com/nexus/content/repositories/apache-snapshots​​


问答

Q: 为什么访问​​maven.aliyun.com/nexus/content/groups/public​​会返回404错误页面?

A:新版​​maven.aliyun.com​​还不支持通过这种方式浏览仓库,但是并不影响正常的构建下载。如果想浏览仓库内容请访问​​maven.aliyun.com/mvn/view​​页面,点击对应的仓库进行树状结构浏览。

Q:为什么首页显示的仓库地址变了,比如public仓的地址为​​​https://maven.aliyun.com/repository/public​​​?

A:首页上显示的仓库地址为推荐使用的仓库地址。为了保证兼容性也也支持以前的仓库地址,用户仍然可以通过​​​http://maven.aliyun.com/nexus/content/groups/public​​​来使用服务。

Q:首页无法浏览public库的内容?

A:public库是group库,其实代理了​​maven central​​和​​jcenter​​仓库。你可以浏览proxy库central或jcenter的内容,凡是里面有的包都可以通过public库下载。

Q:maven central中有的包在maven.aliyun.com中搜索不到?

A:目前只有缓存过的包才能在搜索界面搜索到。这个并不影响正常的构建使用。

Q:无法获取仓库的maven indexer文件?

A:目前还未支持生成和下载maven indexer文件。

Q:以前将maven.aliyun.com作为代理,代理到了自己的私服。现在貌似不工作了?

A:请使用Nexus3及以上版本才可以代理新版maven.aliyun.com。老的maven.aliyun.com(IP为59.110.144.164)已经于2019年9月29日正式下线,请不要再使用该站点。


举报

相关推荐

0 条评论