close nav

close nav

Thread: How to install maven

Forum : New To Java   23 Oct, 2021
User Image
Sriman

Contributor

Joined: 15 Jul, 2016

Points: 1820

Threads: 1923

Posts: 293

How to install maven

| Quote Date : 23 Oct, 2021    Views:574    

#1 download maven binary distribution zip
https://dlcdn.apache.org/maven/maven-3/3.8.3/binaries/apache-maven-3.8.3-bin.zip
#2 extract the apache-maven-3.8.3-bin.zip file
#3 copy the extract folder apache-maven-3.8.3 into c:/
#4 create an environment variable with NAME
MAVEN_HOME=c:\apache-maven-3.8.3
Edit PATH Variable and an new entry as below
%MAVEN_HOME%\bin
#5 verify installation
mvn -version
Apache Maven 3.8.3 (ff8e977a158738155dc465c6a97ffaf31982d739)
Maven home: C:\apache-maven-3.8.3
Java version: 11, vendor: Oracle Corporation, runtime: C:\Program Files\java\jdk-11
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

tags: corejava
Load More

No More Comments