Install Maven Build Tool in Linux Server - Mithun Technologies - +919980923226
Mithun Technologies +91-9980923226 devopstrainingblr@gmail.com
http://mithuntechnologies.com/http://mithuntechnologies.co.in/
Install Maven Build Tool in Linux Server/ Set Class path for Maven Build Tool in Linux Server
-------------------------------------------------------------------------------------------------------------------------
Pre Requisite Software
-----------------------------
Java is the Pre - Requisite Software for Maven.
java -version
Install Maven
------------------
Step1) Login as a root user and change the directory to /opt/
sudo su -
cd /opt/
yum install wget unzip -y
Step2) Download the Maven Software
wget https://dlcdn.apache.org/maven/maven-3/3.8.6/binaries/apache-maven-3.8.6-bin.zip
Step2) Download the Maven Software
wget https://dlcdn.apache.org/maven/maven-3/3.8.6/binaries/apache-maven-3.8.6-bin.zip
unzip apache-maven-3.8.6-bin.zip
Step3) Set the class path/Environmental Variable
For Specific User
----------------------
vi ~/.bash_profile
export M2_HOME=/opt/apache-maven-3.8.6
export PATH=$PATH:$M2_HOME/bin
source ~/.bash_profile
For All Users
----------------------
vi /etc/profile
export M2_HOME=/opt/apache-maven-3.8.6
export PATH=$PATH:$M2_HOME/bin
source /etc/profile
Step4) Check the Maven version
mvn -version
Step3) Set the class path/Environmental Variable
For Specific User
----------------------
vi ~/.bash_profile
export M2_HOME=/opt/apache-maven-3.8.6
export PATH=$PATH:$M2_HOME/bin
source ~/.bash_profile
For All Users
----------------------
vi /etc/profile
export M2_HOME=/opt/apache-maven-3.8.6
export PATH=$PATH:$M2_HOME/bin
source /etc/profile
Step4) Check the Maven version
mvn -version
Thursday, October 17, 2019
Install Maven Build Tool in MAC - Mithun Technologies - +919980923226
Mithun Technologies +91-9980923226 devopstrainingblr@gmail.com
http://mithuntechnologies.com/
http://mithuntechnologies.co.in/
Install Maven Build Tool in MAC Book / Set Class path for Maven Build Tool in MAC Book
---------------------------------------------------------------------------------------------------------------------
Pre Requisite Software
-----------------------------
Java is the Pre Requisite Software for Maven.
java -version
Install Maven
------------------
Download the Maven Software using below url.
https://maven.apache.org/download.cgi
Set the class path/Environmental Variable
vi ~/.bash_profile
export M2_HOME=/Users/mithunreddy/MithunTechnologies/Softwares/Running/apache-maven-3.6.2
export PATH=$PATH:$M2_HOME/bin
source ~/.bash_profile
Check the Maven version
mvn -version
Comments
Post a Comment