Last active
November 16, 2020 09:04
-
-
Save stephanetimmermans/8fa47ddfe1afede6e310 to your computer and use it in GitHub Desktop.
Install Maven3 on Unbuntu 14.04
This file contains hidden or 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 |
thanks!
thanks, very helpful!
thanks!
FYI, it looks like that ppa hasn't been updated in 2 years.
There's this other one here if you updated line 2. This form also downloads the gpg key so it doesn't complain about untrusted packages.
sudo add-apt-repository ppa:andrei-pozolotin/maven3
Thanks for the tip!
What are the integrity guarantees inherent in using such rather private ppa's?
sudo apt-get purge maven maven2 maven3
sudo apt-add-repository ppa:andrei-pozolotin/maven3
sudo apt-get update
sudo apt-get install maven3
Wery well!
Last comment is correct. validated Jun27 on ubuntu
thank you!!!
good
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you!