-
-
Save staticor/2b35cd2ebb51e6c23df9 to your computer and use it in GitHub Desktop.
Install Maven3 on Unbuntu 14.04
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 remove maven2 | |
sudo add-apt-repository "deb http://ppa.launchpad.net/natecarlson/maven3/ubuntu precise main" | |
sudo apt-get update | |
sudo apt-get install maven3 | |
#If you encounter this: | |
#The program 'mvn' can be found in the following packages: | |
# * maven | |
# * maven2 | |
#Try sudo apt-get install <selected-page> | |
#Just add those lines in /etc/profile | |
export M2_HOME=/usr/share/maven3 | |
export M2=$M2_HOME/bin | |
export PATH=$M2:$PATH |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment