Installing Maven 3 on Ubuntu Precise (12.04)

Image

I won’t delve into details of how slowly are the canonical PPAs updated. I’ve found Jay Ginete’s post (please check link at the bottom) mostly useful to solve this issue. I’ve condensed the steps here:

  1. Add Nate Carlson’s PPA to your software sources
  2. Update your local sources
  3. Install maven 3
  4. Creating symbolic link to mvn binary

In detail:

Adding Nate Carson’s PPA: 

sudo add-apt-repository ppa:natecarlson/maven3

(make sure you check the signing key matches the one specified here)

Updating your local sources:

 sudo apt-get update

Installing maven 3:

sudo apt-get install maven3

Creating the link:

sudo ln -s /usr/share/maven3/bin/mvn /usr/bin/mvn

Hope it does work as it did for me. The link to Jay’s post:  http://killertilapia.blogspot.com/2012/10/installing-maven-3-in-ubuntu-1204.html

13 thoughts on “Installing Maven 3 on Ubuntu Precise (12.04)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s