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: 1924

Posts: 293

How to install maven

| Quote Date : 23 Oct, 2021    Views:882    

#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

Comments

User Image
Rohitkashy

Newbie

Joined : 26 Sep, 2021

Points : 100

Threads: 0

Posts: 2

Re: How to install maven

Reply Date : 8 Dec, 2021

------------------------------------------------------------------------------------------------------------------------

For windows : Binary zip archive

[URL]

https://dlcdn.apache.org/maven/maven-3/3.8.4/binaries/apache-maven-3.8.4-bin.zip

--------------------------------------------------------------------------------------------------------------------------

For Linux and Mac : Binary tar.gz archive

[URL]

https://dlcdn.apache.org/maven/maven-3/3.8.4/binaries/apache-maven-3.8.4-bin.tar.gz

STEPS  FOR MAC                  :    How to Install Maven on Mac OS - JournalDev

STEPS FOR LINUX UBUNTU :    How to Install Apache Maven on Ubuntu and Debian (tecmint.com)

--------------------------------------------------------------------------------------------------------------------------

OR Download Latest Available maven from the official website :

https://maven.apache.org/download.cgi?Preferred=ftp://ftp.osuosl.org/pub/apache/

--------------------------------------------------------------------------------------------------------------------------

?

Load More

No More Comments