gpt4 book ai didi

java - 有了m2e还需要安装Maven吗?

转载 作者:塔克拉玛干 更新时间:2023-11-03 03:38:57 25 4
gpt4 key购买 nike

我已经通过 Eclipse 市场在我的 Eclipse Indigo 中安装了 m2e

我是否需要显式安装 maven 并设置 M2_HOME 环境变量?

谢谢!

最佳答案

没有也没有。 m2e 有一个嵌入式 Maven,但您不必使用它。

参见 FAQs关于更多细节,它被称为Maven Embedder:

What Maven version is used by plugin

Plugin is not actually using Maven itself. It is using component that is part of Maven called Maven Embedder. This component is not available for Maven 2.0.x. The Embedder is used by the Maven command line interface (CLI) starting from version 2.1 that includes number of improvements to allow it to actually embed Maven.

The m2eclipse is currently using the Embedder component from Maven 3.0. If you want to execute particular version of Maven installed elsewhere, you can do so from the Maven launch configuration or select it as default in Maven / Installations preference page.

关于java - 有了m2e还需要安装Maven吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11452409/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com