TestingDocs.com
Software Testing website
  • Automation
    • Selenium
    • JBehave Framework
  • Tutorials
    • MySQL Tutorials
    • Testlink
    • Maven
    • Git
  • IDEs
    • IntelliJ IDEA
    • Eclipse
  • Flowcharts
    • Flowgorithm
    • Raptor
  • About

Apache Maven

Download Maven on Windows 11

Overview

In this tutorial, we will Download Maven on Windows 11 operating system. We will also install and set up the Maven tool on Windows 11. Windows 11 is the latest operating system from Microsoft.

Apache Maven is an open-source build automation tool. Java should be installed on the machine and the JAVA_HOME environment variable set to the JDK home directory.

Environment

This post uses the below environment

  • Windows 11 Operating System
  • JDK 17
  • Any web browser( Chrome browser / Firefox / Edge browser)
  • Maven 3.8.x

 

Download Maven

Open the Web browser and navigate to Maven’s official website.

https://maven.apache.org/

Click on the Download link. Download the .zip compressed archive file.

Verify the Maven Download

C:\Users\testingdocs\Downloads>certutil -hashfile apache-maven-3.8.3-bin.zip SHA512

Maven Download Verification Win11

 

The generated SHA512 hashcode should match the hash listed on the Maven website.

This step is to verify the integrity of the download. On production systems verification of the checksums is recommended.

 

Maven SHA512 Hashcode Win11

Extract Contents

Extract the contents. Right-click on the maven zip file and choose the Extract All… menu option.

This will extract the .zip file contents.

 

Extract Maven on Windows11

Set System Variables

Copy the maven folder to a suitable path on the computer. For example to C:\maven

Set the MAVEN_HOME environment variable that points to the maven install directory on the machine.

 

New Maven System Variable Win11

 

Add the %MAVEN_HOME%\bin to the PATH environment variable.

Verify the setup.

Launch a command prompt and issue the following command:

\> mvn -v 

This should display the version of the Maven tool.

 

Maven Version Windows 11 OS

 

That’s it. We have successfully downloaded and installed the Maven tool on Windows 11 machine.

—

Windows 11 Tutorials

https://www.testingdocs.com/windows-11-tutorials/

More Information on Windows 11

https://www.microsoft.com/en-us/windows

Related Posts

Invalid Target Java Error

Apache Maven /

Fix Fatal Error compiling: Invalid target release in Maven Project

Maven Project from archetype

Apache Maven /

Create Maven Project from Archetype in NetBeans

Create New Project

Apache Maven /

Create a Maven Project skip archetype

Maven Download Button

Apache Maven /

Install Maven on Ubuntu Linux

Maven Archetype plugin command line

Apache Maven /

Maven Archetype plugin command line

‹ Fix Fatal Error compiling: Invalid target release in Maven Project

Recent Posts

  • MS Access Data Types
  • Install RAPTOR Avalonia on CentOS
  • Download RAPTOR Avalonia Edition on Windows
  • npm doctor command
  • Build & Run CLion Project
  • Create New CLion C Project on Windows
  • Configure CLion Toolchains on Windows
  • Launch CLion IDE on Windows
  • Activate CLion IDE
  • CLion IDE for C/C++ Development

Back to Top

Links

  • Contact
  • Privacy Policy
  • Cookie Policy

www.TestingDocs.com

Go to mobile version