Should Maven be installed when we have m2?

I installed m2e in my Eclipse Indigo in the Eclipse market.

Do I need to explicitly set maven and set the M2_HOME environment M2_HOME ?

Thanks!

+7
source share
3 answers

No and no. m2e has a built-in Maven, but you do not need to use it.

For more information on frequently asked questions , it is called Maven Embedder :

What version of Maven is used by the plugin

The plugin does not actually use Maven . It uses a component that is part of Maven called Maven Embedder. This component is not available for Maven 2.0.x. Embedder is used by the Maven Command Line Interface (CLI), starting from version 2.1, which includes a number of improvements that allow it to actually implement Maven.

M2eclipse currently uses the Embedder component from Maven 3.0 . If you want to run a specific version of Maven installed elsewhere, you can do this from the Maven launch configuration or select it by default on the Maven / Installations preferences page.

+8
source

m2e comes with its own copy of the respective libraries.

Unless you have a specific requirement for a specific version of Maven, you do not need a separate installation.

+3
source

NOT

m2e all included. In addition, afaik, m2e uses Maven3.

+2
source

All Articles