Installing Maven 3 on Ubuntu 13.04 is as straight forward as any other version on Ubuntu. Just hit apt-get and your work is done.
$ sudo apt-get install maven
But certain times pre installed Maven 2 interferes with the installation of Maven 3, so we can just remove the old maven version and install latest maven directly bu these commands
$ sudo apt-get remove maven2
$ sudo apt-get update
$ sudo apt-get install maven
Thas it. Short and simple. Have fun 🙂
Pingback: How to build Apache Drill on Ubuntu 13.04 at ConfusedCoders
What is the correct setting for M2_HOME after installing maven using this procedure?