TestingDocs.com
Software Testing website
  • JBehave
  • Selenium
  • Testlink
  • Maven
  • Git
  • RAPTOR
  • Questions

Installing Apache Maven 3.x on Windows 10

Tweet
Pin it

Document Contents

  • Introduction
  • System Requirements
    • /> java -version
  • Download
  • Install
    • /> echo %JAVA_HOME%
  • Verify
    • /> mvn -version
  • Next Steps
  • Installing on Ubuntu Linux

Introduction

Lets us see how to install Apache Maven 3.x on your Windows 10 machine. This post describes how to set up the Apache maven tool on your windows machine.

System Requirements

Maven 3.x requires JDK 1.7 or above.  You need minimum disk space to download the archive and for your local maven repository.

You can verify Java installation and check the java version on your machine with java command. Open the command prompt and execute the below command.

/> java -version

Maven Java verify

Download

Download Maven 3.x archive from the download url as shown in the picture. Maven is distributed in several formats. Pick the .zip archive format and download it on to your Windows machine.

https://maven.apache.org/download.cgi

Apache Maven Download

Install

The installation of Apache Maven 3.x is simple.

Extract the downloaded .zip archive and copy the folder to you favorite location on your hard drive. Alternatively, you can rename the folder to strip the version details etc. ( e.g. maven )

Make sure JAVA_HOME environment variable is set and points to your JDK installation. To check the environment variable value, use the following command

/> echo %JAVA_HOME%

You should see JDK installation path in the output.

In the next step, add the maven bin folder to your PATH environment variable.

Just ask Cortana “environment variables”

Cortana environment variables

Cortana opens the System properties window for you. Click Environment variables in the System properties windows.

Under System variables, select Path variable and click on Edit… button.

Click on the New button, to add the Maven bin directory to the PATH.

Verify

You can verify the installation to make sure everything was setup correct with mvn command. Open the command prompt and issue the following command.

/> mvn -version

Verify the output of the command. You should see the Maven version in the output.That’s it. You are done with the maven install process.

Next Steps

Setting up MAVEN_HOME

https://www.testingdocs.com/setting-up-maven_home-on-windows-10/

See Also

Installing on Ubuntu Linux

https://www.testingdocs.com/install-maven-on-ubuntu-linux/

Related Posts

Apache Maven /

Maven Project from Archetype

Apache Maven /

Creating a Maven project using NetBeans IDE

Apache Maven /

Create a Maven Project skip archetype

Apache Maven /

Install Maven on Ubuntu Linux

Maven Archetype plugin command line

Apache Maven /

Maven Archetype plugin command line

Tag Cloud

Agile Appium Tutorials C++ Eclipse Tutorials Git Tutorials IntelliJ Tutorials Java Java Tutorial JBehave Jenkins Jira Cloud JUnit Tutorial Maven Object-oriented Flowchart Python Tutorials Raptor Flowcharts Selenium IDE TestLink Tutorials

Random Posts

  • TestLink Bitnami Cloud Image
    Overview In this tutorial, we will see the steps

    Read more

  • Code Coverage Tools
    Overview Let’s look at some of the code coverage

    Read more

  • pCloudy Continuous Testing Cloud
    Overview pCloudy is a continuous testing cloud

    Read more

Latest Tweets

Tweets by @TestingDocs

Back to Top

TestingDocs.com

  • Privacy Policy
  • Cookie Policy
  • JBehave
  • Selenium
  • Testlink
  • Maven
  • Git
  • RAPTOR
  • Questions
www.TestingDocs.com | All Rights Reserved