What is Maven?
Maven is a build tool that came out of the Apache development process. It streamlines management of dependencies and build components across different projects. It also avoids duplication of libraries where the same version is used across projects, or allows tracking of different versions of libraries, where different versions may indeed be needed.
Setting up Maven on your machine
First step in setting up Maven on your machine, is entering the command to search for maven in your cache.
$ apt-cache search maven
This produced the following results.
Next step is to install latest version of maven compatible with my OS. This can be done by entering the following command.
$ sudo apt-get install maven
Once the installation is completed, you
should see something similar to the following.
We can verify the version that is
installed.
$ mvn -version
That's it. Maven is installed!
No comments:
Post a Comment