首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法解析下列工件:exexal.gearman.service:gearman:jar:0.6.6

无法解析下列工件:exexal.gearman.service:gearman:jar:0.6.6
EN

Stack Overflow用户
提问于 2020-05-05 09:21:37
回答 1查看 360关注 0票数 1

我使用JFrog Artifactory和settings.xml作为

https://pastebin.com/thKdzie3

我正在使用pom.xml文件构建一个jar项目,如

https://pastebin.com/0QndKK8H

我运行"mvn干净安装“,并面临以下错误。

代码语言:javascript
复制
> [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]

我怎样才能解决这个问题?可能是外部的jars没有下载。请指点。

EN

回答 1

Stack Overflow用户

发布于 2020-05-05 09:51:37

如果repo中的依赖项正确,则可以尝试使用-U选项强制更新。

从mvn --救命

代码语言:javascript
复制
-U,--update-snapshots               Forces a check for missing
                                    releases and updated snapshots on
                                    remote repositories
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/61609800

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档