How to Install Maven?
The installation of Maven includes the following Steps:
- Verify that your system has java installed or not. if not then install java (Link for Java Installation )
- Check java Environmental variable is set or not. if not then set java environmental variable.(link to install java and setting environmental variable)
- Download maven (Link)
- Unpack your maven zip at any place in your system.
- Add the bin directory of the created directory apache-maven-3.5.3(it depends upon your installation version) to the PATH environment variable and system variable.
- open cmd and run mvn -v command. If it print following lines of code then installation completed.
To know more about installation of maven refer to the How to Install Apache Maven.
Apache Maven
Maven is a powerful project management tool that is based on POM (project object model). It is used for project build, dependency, and documentation. It simplifies the build process like ANT. But it is too much more advanced than ANT. In short terms we can tell maven is a tool that can be used for building and managing any Java-based project. maven makes the day-to-day work of Java developers easier and generally helps with the comprehension of any Java-based project.