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 .
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.
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.
Use Import->Maven->Existing Maven Projects
I'm assuming, you've m2eclipse plugin installed in your Eclipse.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With