Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Add Maven nature to existing Eclipse project that has pom but no Maven submenu

How can I convert a project to Maven nature when there is no sub-menu for Maven on right click in Eclipse? The project already has a POM file.

like image 291
Captain Man Avatar asked Sep 04 '15 13:09

Captain Man


People also ask

How do I add Maven to an existing project?

Add Maven support Open an existing project, for example, a Java project. In the Project tool window, right-click your project and select Add Framework Support. In the dialog that opens, select Maven from the options on the left and click OK.

How do I know if Maven is installed in Eclipse?

To check maven is configured properly: Open Eclipse and click on Windows -> Preferences. Choose Maven from left panel, and select installations. Click on Maven -> "User Settings" option form left panel, to check local repository location.


1 Answers

Right click on the project- Configure - Convert -Convert to Maven Project

This is also a method to refresh the Maven Dependencies.

like image 50
ShrekWang Avatar answered Sep 20 '22 10:09

ShrekWang