Want to join Maven + Core Java online training ? Register here
There are two ways to install Maven. One which is little difficult than the other is installing Maven through command line. And the other easy way out is installing Maven with in Eclipse. In this chapter I will show How to Install Maven in Eclipse IDE and in case you face any issue during installation, you are most welcome to go for the other way which is the next chapter.
Steps to Install Maven in Eclipse IDE
1) Click on the Help from the top menu in Eclipse and select ‘Install New Software..‘
2) Click on the Add button on the newly opened window.
3) In the Name box, type ‘Maven‘ and in the Location box, type ‘http://download.eclipse.org/technology/m2e/releases/‘
Note: The URL is the location where you can download the Maven for Eclipse.
4) A check-box will appear in the pop window, Check the check-box and click on Next button.
5) Please wait for some time and let the window complete its processing. It will not take long but 2 or 3 minutes.
6) Keep the default settings and click on Next button.
7) Accept the ‘Terms and Conditions‘ and move forward by clicking on Finish button.
8) Wait while it finish the installation.
9) Once the installation is finished, it will ask you to restart the Eclipse. Please click on Yes, so that changes can be reflected properly.
This is all for the Installation of Maven in Eclipse. The other way of installing the Maven is from Command Line, next chapter is all about that. So in case your installation is done properly, please skip the next chapter.