Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse Embedded Maven installation disappeared after switching from External

Last Eclipse released comes with Maven embedded, but in our project we used to switch to our external installation of it.

Eclipse Maven External installation

One of the members started to use the embedded one, and it worked fine, so I removed the External entry and tried to switch back to the Embedded one, but it seems it has disappeared from the installations list.

Eclipse Maven Embedded installation disappeared

And trying to Add it via menu, it does not work, as I guess is looking for an External one. This is an image from the Net, that I guess is what I should get, but I'm missing the Embedded one in my Eclipse Maven Preferences.

enter image description here

By the way, I'm using:

Eclipse IDE for Java Developers Version: Kepler Service Release 1 Build id: 20130919-0819

like image 241
nephewtom Avatar asked Nov 12 '13 18:11

nephewtom


People also ask

What is embedded Maven in Eclipse?

An embedded version of the Maven known as the Maven Embedder is already specified. This is what is used to execute Maven inside of Eclipse. If you have another installation of Maven which you would like to use instead of the Maven Embedder, you can add another Maven runtime by clicking on the Add.. button.

Do we need to install Maven separately for Eclipse?

You can Launch Maven builds from within Eclipse. It does the dependency management for Eclipse build path based on Maven's pom. xml. It resolves Maven dependencies from the Eclipse workspace without installing to local Maven repository (requires dependency project be in same workspace).

How do you check Maven is installed or not?

Once Maven is installed, you can check the version by running mvn -v from the command-line. If Maven has been installed, you should see something resembling the following output. If you see this output, you know that Maven is available and ready to be used.


1 Answers

Simply remove the external maven installation. When you restart eclipse, the embedded maven will reappear.

like image 152
maxhuang Avatar answered Oct 26 '22 16:10

maxhuang