简体   繁体   English

无法解析以下工件:external.gearman.service:gearman:jar:0.6.6

[英]The following artifacts could not be resolved: external.gearman.service:gearman:jar:0.6.6

I am using JFrog Artifactory with settings.xml as我正在使用 JFrog Artifactory 和 settings.xml 作为

https://pastebin.com/thKdzie3

I am building a jar of a project with pom.xml file as我正在用 pom.xml 文件构建一个项目的 jar 作为

https://pastebin.com/0QndKK8H

I run "mvn clean install" and face the following error.我运行“mvn clean install”并遇到以下错误。

> [ERROR] Failed to execute goal on project scrybe_cronjobs: Could not
> resolve dependencies for project
> com.abc:scrybe_cronjobs:jar:PHP7-1.0: The following artifacts could
> not be resolved: external.gearman.service:gearman:jar:0.6.6,
> external.smack:smack-core:jar:0.1, external.apns:apns:jar:1.0: Failure
> to find external.gearman.service:gearman:jar:0.6.6 in
> http://maven-repo.abc.net:8081/artifactory/libs-release 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] [ERROR]

How can I fix this issue?我该如何解决这个问题? Might be external jars are not being download.可能是外部 jars 没有被下载。 Please guide.请指导。

if dependencies are correctly in repo, you can try -U option to force update如果 repo 中的依赖关系正确,你可以尝试 -U 选项来强制更新

from mvn --help来自 mvn --help

-U,--update-snapshots               Forces a check for missing
                                    releases and updated snapshots on
                                    remote repositories

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

相关问题 以下工件无法解析:org.apache.hbase:hbase:jar:0.96.1.1-hadoop2 - The following artifacts could not be resolved: org.apache.hbase:hbase:jar:0.96.1.1-hadoop2 “以下工件无法解决”:Maven / Android / Eclipse - “The following artifacts could not be resolved” : Maven / Android / Eclipse 无法解决以下工件:javax.sql:jdbc-stdext:jar:2.0,javax.transaction:jta:jar:1.0.1B: - The following artifacts could not be resolved: javax.sql:jdbc-stdext:jar:2.0, javax.transaction:jta:jar:1.0.1B: Java-Gearman-Service - 处理GearmanJobEventCallback <T> :: onEvent和Gear []中的byte [] - Java-Gearman-Service - Handle GearmanJobEventCallback<T>::onEvent and byte[] in GearmanFunction Gearman-计算统计 - Gearman - Calculating Statistics 当以下工件虽然位于Maven缓存中却无法解决时,这在Maven中意味着什么? - What does it mean in Maven when it says the following artifacts could not be resolved although they are in Maven cache? com.itextpdf:book:war:5.3.1-SNAPSHOT:无法解决以下工件: - com.itextpdf:book:war:5.3.1-SNAPSHOT: The following artifacts could not be resolved: Jenkins Gearman插件配置groovy - Jenkins Gearman plugin configuration groovy 适用于任何语言的不同Gearman库 - Different gearman libraries for any language PHP-Java互操作 - Gearman还是PJB? - PHP-Java interop - Gearman or PJB?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM