Maven - Maven Install | Install Maven - maven tutorial




maven tutorial tags : apache maven , maven repository , maven central

How to install maven on windows ?

  • You can download and install maven on windows, linux and MAC OS are the platforms.
  • To install maven on windows, you need to perform following steps:
    1. Download maven and extract it
    2. Add JAVA_HOME and MAVEN_HOME in environment variable
    3. Add maven path in environment variable
    4. Verify Maven
 Maven download

Learn Maven Tutorial - Maven download - Maven Example

Download Maven

  • To install maven on windows, you need to download apache maven first.
  • Download Maven latest Maven software from Download latest version of Maven
  • For example: apache-maven-3.1.1-bin.zip
  • Extract it.
  • Now it will look like this:
Install Maven Step1

learn maven tutorial - install maven - maven example

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 .It is displayed below:
 Install Maven Step2

learn maven tutorial - install maven - maven example

  • Now click on OK button.

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, E:\apache-maven-3.1.1\bin .
Install Maven Step3

learn maven tutorial - install maven - maven example

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.
  • Result will look like this:
Install Maven Step4

learn maven tutorial - install maven - maven example


Wikitechy provides an indepth knowledge on the below maven tutorial items such as maven download , maven install , maven goals , maven build , maven commands , maven plugin , maven search , maven eclipse , maven deploy , eclipse maven , maven junit , maven java , hibernate maven , maven project , java maven , maven version , maven proxy , maven 2 , maven pom , maven eclipse plugin , maven java version , maven properties , maven install windows , how to create maven project in eclipse , eclipse maven plugin , maven dependencies , what is maven in java , maven apache , maven project structure , how to install maven in eclipse

Related Searches to Maven Install | Install Maven

Adblocker detected! Please consider reading this notice.

We've detected that you are using AdBlock Plus or some other adblocking software which is preventing the page from fully loading.

We don't have any banner, Flash, animation, obnoxious sound, or popup ad. We do not implement these annoying types of ads!

We need money to operate the site, and almost all of it comes from our online advertising.

Please add wikitechy.com to your ad blocking whitelist or disable your adblocking software.

×