Install Maven 3.1.1 on Ubuntu 13.10
AppEngine requires Maven 3.1 while ubuntu 13.10 is stuck at 3.0.4
Fortunately /usr/local/bin is before in the path variable and this is where I put all the symlink I need
$ mvn -v
Apache Maven 3.0.4
Maven home: /usr/share/maven
'which mvn'
gives
'/usr/bin/mvn'
Fortunately /usr/local/bin is before in the path variable and this is where I put all the symlink I need
- Download the latest maven from http://maven.apache.org/download.cgi
- I installed it here /opt/apps/apache-maven-3.1.1/bin
- Add a symlink
sudo ln -s '/mnt/ssd/apps/apache-maven-3.1.1/bin/mvn' /usr/local/bin/mvn
- I add to start a new console to check mvn version on the command line
$ mvn -v
Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17 17:22:22+0200)
Maven home: /opt/apps/apache-maven-3.1.1