JFrog Artifactory Cloud 配置远程仓库

JFrog Artifactory Cloud Configurate Remote Repository

在为 adobe public 创建一个远程存储库时,我正在努力使用 JFrog Artifactory Cloud 进行简单测试。

我将远程配置为 maven 存储库,在 URL 我已经插入 https://repo.adobe.com/nexus/content/repositories/public 并在名称上测试正常只需提供一个 adobe-public 名称并单击保存并完成.

之后我试图从 https:///xxxx/artifactory/adobe-public/com/day/jcr/vault/... 获取现有的(在 repo.adobe.com 中)pom,但我无法获取任何 pom。

我尝试更改多个缓存设置或离线设置,但问题始终是“消息”:“adobe-public:处于离线状态”。状态 404。

在日志上,https://cccc/ui/admin/artifactory/advanced/system_logs 也没有任何有用的东西。

先谢谢你。

使用指向 https://repo.adobe.com/nexus/content/repositories/public 的 Maven 存储库进行类似设置,并成功下载 pom 文件,请参考以下代码片段,

$ wget --user=admin --password=Password https://myartifactory/artifactory/adobe-repo/ant/ant/1.5.1/ant-1.5.1.pom --2020-11-01 10:27:54-- https://myartifactory/artifactory/adobe-repo/ant/ant/1.5.1/ant-1.5.1.pom Resolving myartifactory (myartifactory)... 1.2.3.4, 2.1.3.5, 3.7.7.4 Connecting to myartifactory (myartifactory)|1.2.3.6|:443... connected. HTTP request sent, awaiting response... 401 Unauthorized Authentication selected: Basic realm="Artifactory Realm" Reusing existing connection to myartifactory:443. HTTP request sent, awaiting response... 200 OK Length: 140 [application/x-maven-pom+xml] Saving to: ‘ant-1.5.1.pom’ ant-1.5.1.pom 100%[====================================>] 140 --.-KB/s in 0s 2020-11-01 10:27:59 (5.14 MB/s) - ‘ant-1.5.1.pom’ saved [140/140]

像我一样使用 wget 并尝试下载文件。此外,错误“离线”表示存储库处于离线状态且无法下载,请转到 Artifactory UI --> Admin --> Repositories | 下的存储库配置页面。 Adobe-public 在“基本”选项卡下,向下滚动并查找“离线”,如果选中“离线”,请取消选中并重试。

这是由于全局离线模式被激活造成的。

我有同样的问题。

已解决:“https://.../ui/admin/artifactory/configuration/artifactory_general” - 关闭“全局离线模式”并保存。