Last active
August 12, 2016 16:14
-
-
Save npatta01/512404dee5cd7fd26ac1 to your computer and use it in GitHub Desktop.
installing mvn 3.3.3 in linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get purge -y maven | |
wget http://apache.cs.utah.edu/maven/maven-3/3.3.3/binaries/apache-maven-3.3.3-bin.tar.gz | |
tar -zxf apache-maven-3.3.3-bin.tar.gz | |
sudo cp -R apache-maven-3.3.3 /usr/local | |
sudo ln -s /usr/local/apache-maven-3.3.3/bin/mvn /usr/bin/mvn | |
echo "export M2_HOME=/usr/local/apache-maven-3.3.3" >> ~/.profile | |
source ~/.profile | |
echo "Maven is on version `mvn -v`" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks!