Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Importing an existing maven Project into Eclipse

I have an existing Maven Project with me . I am using Eclipse Helios as my IDE , i need to import an existing maven Project into my IDE .

Please tell me what is the correct approach to import an exisiting maven Application ?? (Should we choose Import Existing maven Project option or Should we choose import Exisiting Projects into Workspace option ??

Please let me know , thank you very much .

like image 219
user974802 Avatar asked Oct 10 '11 10:10

user974802


People also ask

How do I export an existing Maven project in Eclipse?

Just copy the project folder and make the other person import it as an "Existing Eclipse project". If you want to collaborate with that person on it, think of using Git or some other CMS to share it. Maven will take care of getting the right dependencies.

How do I run a Maven project with Maven in Eclipse?

Building and Running the Maven Project in Eclipse To run the maven project, select it and go to “Run As > Java Application”. In the next window, select the main class to execute. In this case, select the App class and click on the Ok button. You will see the “Hello World” output in the Console window.


1 Answers

Use Import->Maven->Existing Maven Projects

I'm assuming, you've m2eclipse plugin installed in your Eclipse.

enter image description here

like image 67
Ramesh Avatar answered Sep 23 '22 10:09

Ramesh