How to update your maven

Maven is a popular build manager in java world. It is used to build Apache Spark, for example. Here is correct deb repository with latest version:

sudo apt-get purge maven maven2 maven3
sudo apt-add-repository ppa:andrei-pozolotin/maven3
sudo apt-get update
sudo apt-get install maven3

Version available at the time of writing is 3.3.9.

comments powered by Disqus