Maven Build tool setup

Maven – Setup by downloading latest release.

Maven uses in software development

Maven_Intro


Lets see the maven setup step by step

1)Download the latest maven from the link Maven download link
currently refer the latest version marked in the below screenshot

Maven_downlod_page

2)unzip the downloaded maven zipped folder to any of your favorite location

3)set the following Environment variables

1)JAVA_HOME – point to jdk folder of your java installed location
2)M2_HOME – point to maven folder of your maven extracted location
3)PATH – bin of above 2 variables

Screenshots for the same are as below

Maven_env_var_set3

Maven_env_var_set2

Maven_env_var_set1

4)Now check the maven is configured or not by issuing following command from comman prompt
mvn -version

Maven_setup_check

Maven setup in your system is completed now.

Next post – we will see how can we use maven to simplify our software development.

About the Author

Founder of javainsimpleway.com
I love Java and open source technologies and very much passionate about software development.
I like to share my knowledge with others especially on technology 🙂
I have given all the examples as simple as possible to understand for the beginners.
All the code posted on my blog is developed,compiled and tested in my development environment.
If you find any mistakes or bugs, Please drop an email to kb.knowledge.sharing@gmail.com

Connect with me on Facebook for more updates

Share this article on