BRAINS'TRIM

Notes about Flex, Grails, Linux and Amazon Web Services in real conditions, as well as music, movies and so on

December 17, 2011 at 10:41pm

Home

Maven: How to Install Maven 3 on Ubuntu 11.10

If you want to use some of new cool Maven 3 features on your Ubuntu then there is a simple instruction explaining how you can achieve that.

First we need to add a custom PPA repository to the list of authorized system software sources:

$ sudo add-apt-repository ppa:natecarlson/maven3

And press Enter key one more time for confirmation of adding PPA. Then all we need is run this command:

$ sudo apt-get update && sudo apt-get install maven3

That’s all. Check it:

$ mvn3 --version
Apache Maven 3.0.3 (r1075438; 2011-02-28 22:31:09+0500)
Maven home: /usr/share/maven3
Java version: 1.7.0, vendor: Oracle Corporation
Java home: /usr/lib/jvm/jdk1.7.0/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.0.0-14-generic-pae", arch: "i386", family: "unix"

Notes

  1. brainstrim posted this