简体   繁体   English

Artifactory中的Google Maven存储库-无法连接

[英]Google Maven repository in Artifactory - can't connect

I tried to add a remote proxy repository in Artifactory. 我试图在Artifactory中添加远程代理存储库。 I tried both: 我都尝试过:
1. https://dl.google.com/dl/android/maven2/ 1. https://dl.google.com/dl/android/maven2/
2. https://maven.google.com/ 2. https://maven.google.com/

I clicked on the 'Test' button and it works, but when I browsed the repository under 'Artifacts', nothing is shown. 我单击了“测试”按钮,它起作用了,但是当我在“工件”下浏览存储库时,什么都没有显示。 When I tried the same for Maven Central repository, it works. 当我对Maven Central存储库尝试同样的方法时,它可以工作。 Is there anything I am missing here? 我在这里想念什么吗?

Browsing only shows the artifacts that were already downloaded. 浏览仅显示已下载的工件。 A fresh repository has not downloaded anything. 全新的存储库尚未下载任何内容。 JCenter is a special case because it downloads a catalogue. JCenter是一种特殊情况,因为它会下载目录。

When you build against one of the google repositories, they will start to download the relevant artifacts and you will start seeing files in the browsing view. 当您针对其中一个Google存储库进行构建时,它们将开始下载相关的工件,并且您将开始在浏览视图中查看文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM