如何在Eclipse中访问(嵌入)Maven控制台? [英] How to get access to (embedded in) Maven console in Eclipse?
本文介绍了如何在Eclipse中访问(嵌入)Maven控制台?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
可以在Eclipse中访问Maven(嵌入式)控制台,如shell(linux shell,windows cmd.exe),以运行自定义maven命令(mvn archetype:create .... etc)?我使用的是m2e,但是只能通过GUI运行Maven命令。
Is possible to access Maven (embedded) console in Eclipse like in shell (linux shell, windows cmd.exe) to run custom maven commands (mvn archetype:create.... etc) ? I'm using m2e, but can run Maven commands only by GUI.
推荐答案
您可以直接从Eclipse运行自定义maven命令做:
You can run custom maven commands directly from Eclipse by doing:
Run -> Run Configurations... -> Maven Build
您将只需要一些适用于Eclipse的Maven插件,如m2e。
You'll need just some Maven plugin for Eclipse like m2e.
这篇关于如何在Eclipse中访问(嵌入)Maven控制台?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文