简体   繁体   English

从外部启动 Eclipse 嵌入式 Maven 命令 Eclipse

[英]Launching Eclipse Embedded Maven commands from outside Eclipse

assuming my Eclipse uses an 'internal' Maven, located in the path: C:\Eclipse\plugins\org.eclipse.m2e.maven.runtime_1.6.2.20150902-0001 assuming my Eclipse uses an 'internal' Maven, located in the path: C:\Eclipse\plugins\org.eclipse.m2e.maven.runtime_1.6.2.20150902-0001

How can I launch from the system console commands that use that EMBEDDED Maven?如何从使用该嵌入式 Maven 的系统控制台命令启动?

Specifically, to launch a class packA.packB.MyClass and its dependencies to load correctly.具体来说,要启动 class packA.packB.MyClass 及其依赖项以正确加载。

thanks!谢谢!

As far as I know you cannot use the internal Maven of Eclipse on the command line.据我所知,您不能在命令行上使用 Eclipse 的内部 Maven 。

You need to get a command line Maven as well and use that.您还需要获取命令行 Maven 并使用它。

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

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