eclipse “Maven->更新项目配置”菜单项在哪里?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/13726781/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Where is the "Maven->Update project configuration" menu item?
提问by Withheld
I am having a Missing Maven dependencies in Eclipse project exactly as described in this question, and I would love to use the solution found, but when I right-click my project in Project Explorer I can't find any such menu item:
我在 Eclipse 项目中有一个 Missing Maven 依赖项,正如这个问题中所描述的,我很想使用找到的解决方案,但是当我在项目资源管理器中右键单击我的项目时,我找不到任何这样的菜单项:
If I right-click the project's pom.xml
, all I see in the Maven's menu is:
如果我右键单击项目的pom.xml
,我在 Maven 的菜单中看到的只有:
Any idea what I should be doing to enable that Update project configuration
menu option?
知道我应该怎么做才能启用该Update project configuration
菜单选项吗?
回答by Pieter
Righ click on the project: >Configure>Convert to Maven project
右击项目:>Configure>Convert to Maven project
And then you can Update project configuration
然后你可以更新项目配置
回答by Marwen Maawia
">Configure>Convert to Maven project" is missing
">Configure>Convert to Maven project" 缺失
回答by Marc S.
try "Team" - "Commit" in Eclipse and then in a shell:
在 Eclipse 中尝试“团队”-“提交”,然后在 shell 中尝试:
mvn dependecy:resolve