简体   繁体   English

Artifactory Maven虚拟存储库404s

[英]Artifactory maven virtual repository 404s

I am trying to use a maven virtual repository that is linked up to an SBT local repository to resolve dependencies, but I keep getting 404s when I try to download the artifacts. 我正在尝试使用链接到SBT本地存储库的Maven虚拟存储库来解决依赖关系,但是当我尝试下载工件时,我总是收到404。 They are listed fine on the UI, but right clicking on the artifacts and hitting "Download" give me a 404 error. 它们在UI上列出的很好,但是右键单击工件并单击“下载”会给我404错误。 Has anyone run into this problem. 有没有人遇到这个问题。 We're using JFrogs cloud hosted version of Artifactory on AWS. 我们正在AWS上使用JFrogs云托管的Artifactory托管版本。 Our virtual Gradle repository is setup the same way and works as expected ... 我们的虚拟Gradle存储库以相同的方式设置并按预期工作...

mvn install output: mvn安装输出:

[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building my-app 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for com.example:myjar:jar:1.0-SNAPSHOT is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.220 s
[INFO] Finished at: 2018-04-13T10:41:55-03:00
[INFO] Final Memory: 9M/309M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project my-app: Could not resolve dependencies for project com.mycompany.app:my-app:jar:1.0-SNAPSHOT: Failure to find com.example:myjar:jar:1.0-SNAPSHOT in https://example.jfrog.io/example/maven was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]

It seems that there are differences between snapshot policies between your local repositories referenced from the virtual one. 似乎从虚拟数据库引用的本地存储库之间的快照策略之间存在差异。

https://www.jfrog.com/jira/browse/RTFACT-17521 https://www.jfrog.com/jira/browse/RTFACT-17521

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

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