如何更新Maven仓库在Eclipse? [英] How to update maven repository in eclipse?

查看:642
本文介绍了如何更新Maven仓库在Eclipse?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

假设你已经在使用 m2eclipse插件,你可以做什么它不更新的依赖关系为最新的回购。

Assuming you're already using the m2eclipse plugin, what can you do it doesn't update the dependencies to the latest in your repo.

例如,在命令行上你可以添加-U标志为:

For example, on the command line you can just add the -U flag as in:

mvn clean install -U 

强制要更新的依赖关系。有没有这样的事情在日食,因为它并不似乎总是搭载了最新的更新。

to force the dependencies to be updated. Is there something like this within eclipse since it doesn't always seem to pick up the latest updates.

推荐答案

您可以在项目上单击右键的Maven>更新快照

这篇关于如何更新Maven仓库在Eclipse?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆