HomeTagSubmit NotesAsk AnythingLoginSubscribe Us
1. Feel Free to ask and submit anything on and get satisfactory answer
2. Registration is not compulsory, you can directly login via google or facebook
3. Our Experts are looking for yours ?.

java-basics: Explain the Maven?

How to install maven on windows and how to integrate with eclipse IDE.

could you plz share the website names to learn the maven.

java x 211
basics x 171
Posted On : 2016-08-23 07:48:18.0


Maven is a tool that can now be used for building and managing any Java-based project. We hope that we have created something that will make the day-to-day work of Java developers easier and generally help with the comprehension of any Java-based project. Maven is a powerful project management tool that is based on POM (project object model). It is used for projects build, dependency and documentation.

Maven´s Objectives:
Maven´s primary goal is to allow a developer to comprehend the complete state of a development effort in the shortest period of time. In order to attain this goal there are several areas of concern that Maven attempts to deal with:

* Making the build process easy
* Providing a uniform build system
* Providing quality project information
* Providing guidelines for best practices development
* Allowing transparent migration to new features

install Maven on windows:
To install maven on windows, you need to perform following steps:

* Download maven and extract it
* Add MAVEN_HOME in environment variable
* Add maven path in environment variable
* Verify Maven

1) Download Maven:
To install maven on windows, you need to download apache maven first.

Download Maven latest Maven software from

For example:

Extract it.

2) Add MAVEN_HOME in environment variable:
Right click on MyComputer -> properties -> Advanced System Settings -> Environment variables -> click new button

Now add MAVEN_HOME in variable name and path of maven in variable value. It must be the home directory of maven i.e. outer directory of bin. For example: E:\apache-maven-3.1.1 .

Now click on OK button.

3) Add Maven Path in environment variable:
Click on new tab if path is not set, then set the path of maven. If it is set, edit the path and append the path of maven.

Here, we have installed JDK and its path is set by default, so we are going to append the path of maven.

The path of maven should be %maven home%/bin. For example, */jdk1.7.0/bin;E:\apache-maven-3.1.1\bin .

4)Verify maven:
To verify whether maven is installed or not, open the command prompt and write:
mvn -version
Now it will display the version of maven and jdk including the maven home and java home.

In short, If we use maven there is no need to put jar files in lib folder or reference jar files. Just keep adding dependency for specific jar files or library and build the project and run it. Here are good and easy explanation for maven:

Posted On : 2016-08-23 23:50:57
Satisfied : 1 Yes  0 No
profile Garima Gupta - Garima Gupta
Reply This Thread

Post Answer
Please Login First to Post Answer: Login login with facebook -