[英]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.