Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse Maven 2 installation

I am doing a Maven build in Eclipse where my project requires Maven 2. My Maven runtime is set to embedded (3.2.1/1.5.1.20150109-1819). How do I set the runtime to use Maven 2?

I tried setting a runtime installation by pointing to my Maven 2 installation, but that did not work.

enter image description here

top level maven 2 path selected also does not work.

enter image description here

like image 383
ABC123 Avatar asked Dec 09 '15 16:12

ABC123


People also ask

How do I install Maven on Eclipse?

#1) From the top menu of Eclipse select Help -> Install new Software, and the following window will open. #2) Click on the Add button highlighted in the above image. An add repository dialogue box will open, enter the following in the two text fields of this box. Click on the Add button.

Is Maven already installed in Eclipse?

2.1.Most Eclipse IDE downloads already include support for the Maven build system. To check, use Help About and check if you can see the Maven logo (with the M2E ) sign. If Maven support is not yet installed, the following description can be used to install it.

Where is the .m2 folder in Eclipse?

Eclipse IDE, menu bar. Select Window > Preferences. Select Java > Build Path > Classpath Variables. Click on the new button > defined a new M2_REPO variable and point it to your local Maven repository.


1 Answers

I pointed to libexec folder lying along bin, and it worked.

like image 58
rd_ Avatar answered Oct 30 '22 21:10

rd_