我使用JFrog Artifactory和settings.xml作为
我正在使用pom.xml文件构建一个jar项目,如
我运行"mvn干净安装“,并面临以下错误。
> [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没有下载。请指点。
发布于 2020-05-05 09:51:37
如果repo中的依赖项正确,则可以尝试使用-U选项强制更新。
从mvn --救命
-U,--update-snapshots Forces a check for missing
releases and updated snapshots on
remote repositorieshttps://stackoverflow.com/questions/61609800
复制相似问题