简体   繁体   English

mvn eclipse:Eclipse中的eclipse

[英]mvn eclipse:eclipse within Eclipse

I have the m2Eclipse plugin from Sonatype installed in my IDE. 我在IDE中安装了Sonatype的m2Eclipse插件。 It allows me to run various maven commands (package, install, etc.) by right-clicking on a pom.xml file and navigating to the "Run As" menu. 通过右键单击pom.xml文件并导航至“运行方式”菜单,它允许我运行各种maven命令(打包,安装等)。

However, I haven't figuered out how to the equivalent of mvn eclipse:eclipse from within the IDE, is this possible? 但是,我还没有从IDE中弄清楚mvn eclipse:eclipse的等效方法,这可能吗?

Thanks, Don 谢谢唐

Yup, when you right-click over the project, in the Maven sub-menu, you have an Update Project Configuration command which does precisely that. 是的,当您右键单击该项目时,在Maven子菜单中,您将具有“ 更新项目配置”命令来执行此操作。

alt text http://scott.phillips.name/wp-content/uploads/2010/01/Maven-Context_Menu.png 替代文字http://scott.phillips.name/wp-content/uploads/2010/01/Maven-Context_Menu.png

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM