[Maven]添加新仓库或者新发布依赖后却获取不到问题的解决方案
来源:互联网 发布:用qq群推广淘宝客 编辑:程序博客网 时间:2024/05/22 09:39
tags: maven
[ERROR] Failed to execute goal on project settings: Could not resolve dependencies for project com.netease.mail:settings:war:1.0.0: The following artifacts could not be resolved: newbee:cmproxy:jar:1.0-45241, toolbox:cache-annotations:jar:1.1.27406.0, toolbox:mailsender:jar:1.1.0, newbee:ntescode:jar:1.0.21214.0, netease:dfs:jar:1.0: Failure to find newbee:cmproxy:jar:1.0-45241 in http://192.168.33.234/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced -> [Help 1]org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project settings: Could not resolve dependencies for project com.netease.mail:settings:war:1.0.0: The following artifacts could not be resolved: newbee:cmproxy:jar:1.0-45241, toolbox:cache-annotations:jar:1.1.27406.0, toolbox:mailsender:jar:1.1.0, newbee:ntescode:jar:1.0.21214.0, netease:dfs:jar:1.0: Failure to find newbee:cmproxy:jar:1.0-45241 in http://192.168.33.234/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced
已经将第三方依赖jar部署到私有仓库,但是在更新应用依赖时,仍然报找不到依赖文件。最终要的提示信息为上日志中间的那个提示:
resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced -> [Help 1]
类似与缓存未清理或者last-visit这种提示信息。如何强制要求从私有仓库进行尝试获取依赖文件呢?
参考了Nexus添加新Repository后Maven仍找不到jar包的解决方案,
命令行下:其中提到了使用-U参数(-U,--update-snapshots Forces a check for updated releases and snapshots on remote repositories
),
Eclipse中:在eclipse Run Configuration中勾选Update Snapshots,再run后依赖可以获取。
0 0
- [Maven]添加新仓库或者新发布依赖后却获取不到问题的解决方案
- Nexus添加新Repository后Maven仍找不到jar包的解决方案
- Nexus添加新Repository后Maven仍找不到jar包的解决方案
- Nexus添加新Repository后Maven仍找不到jar包的解决方案
- Nexus添加新Repository后Maven仍找不到jar包的解决方案
- Nexus添加新Repository后Maven仍找不到jar包的解决方案
- nexus添加新仓库
- maven2之m2eclipse使用手册之五添加新的依赖项目到本地仓库
- gradle添加新的代码仓库
- 本地新创建工程添加到新的远程仓库
- maven -- 创建新的项目,该项目需要依赖上一发布的项目
- 关于Maven添加hibernate-validator依赖后项目报错的解决方案
- 手动添加依赖的jar文件到maven仓库
- 手动添加依赖的jar文件到maven仓库
- maven教程之二maven的依赖(新)
- 用jquery添加新的类名后,却无法新添加的类名进行操作
- 日常-新导入的项目添加不到Tomcat中
- idea添加新的maven命令
- 新的开始
- 无线网络的负载均衡
- avsubtitleWriter demo解析(一):字幕解析
- Mockito: InvalidUseOfMatchersException
- Python - 快速排序(quick sort) 及 去重(no duplicate)
- [Maven]添加新仓库或者新发布依赖后却获取不到问题的解决方案
- 深入理解JVM
- 案例:区分项目类型建立过程性能模型
- 3.1-3.31推荐文章汇总
- C# 用数据库读取Excel出现“定义了过多字段”错误的解决方法
- 802.11 PCF/DCF
- iOS调用相册、相机、上传
- concurrent包
- 实现左侧滑动菜单