Monday, June 15, 2009

Upgrade your maven in Mac OSX

Under the category sweet and short.
You need to do the following to upgrade Maven 2 (2.0.6 is part of Leopard) to the latest so that you can use it from the command-line instead of the old version.

Without further ado, my bash history.

curl -o

cd apache-maven-2.1.0/
sudo mv /usr/bin/mvn /usr/bin/mvn-old

sudo ln -s /apache-maven-2.1.0/bin/mvn /usr/bin/mvn

No comments: