Posts

Showing posts from October, 2021

What is Maven ? How can we configure maven in Windows operating system and set the environment variable?

Image
 What is Maven ?  Maven is a build automation tool used primarily for Java projects for dependency management. Maven can also be used to build and manage projects written in C#, Ruby, Scala, and other languages. The Maven project is hosted by the Apache Software Foundation, where it was formerly part of the Jakarta Project. Pre-requisite Java should be already present in the system and environment variable should be set for java. Refer screenshot Checking whether maven is already configured in system Before configuring it is a good practice to check whether maven is already configured in the system. To do that follow the steps: Search for cmd in windows search bar and click on command prompt. This will open command prompt window in the system. Please enter any of the following commands in command prompt to check maven is already configured or not. mvn -v mvn --version  If  maven is not configured the command prompt will display the following message while using any of the above maven c