“强制更新快照/发行版"; - 这是什么意思 [英] "Force update of snapshots/releases" - what does it mean

查看:109
本文介绍了“强制更新快照/发行版"; - 这是什么意思的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Maven项目中,选择更新项目"后,会有一个选项强制更新快照/发行版".它是做什么的?

In a Maven project, on selecting "Update project", there is an option called "Force update of snapshots/releases". What does it do?

推荐答案

强制更新快照/发行版"就像运行以下命令

"Force update of snapshots/releases" is like running following command

mvn -U install

-U也可以用作--update-snapshot.请参见此处 .

-U is also be used alternatively as --update-snapshot. See here.

Eclipse的m2eclipse插件使用maven-core API在内部调用相同的插件.

Eclipse's m2eclipse plugin internally calls the same using maven-core API.

请参见 setUpdateSnapshots 方法.

这篇关于“强制更新快照/发行版"; - 这是什么意思的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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