Home » Apache, Debian, Linux, Programming, Quick Tip

Quick tip: How to install Maven on Linux

30 September 2009 2 Comments

Apache Maven is a software project management based on concept of a project object model (POM).

Get Maven from http://maven.apache.org/download.html, unarchive it and add maven binary path to system path.

$ cd /usr/local
$ tar -xzf maven-2.2.1.tar.gz
$ ln -s maven-2.2.1 maven
$export PATH=/usr/local/maven/bin:${PATH}

Now you are ready to run maven commands like

$ mvn assembly:assembly
$ mvn site assembly:assembly
$ mvn install

I’m using Debian Lenny 5.0 and java 1.6.0_16, but should work on every Linux disitribution.

BlinkList Diigo Digg Facebook Furl Google Mister Wong Newsvine Reddit StumbleUpon Simpy Technorati Yahoo DZone

Hide Bookmarks


  • Bill Bartmann said:

    Generally I do not post on blogs, but I would like to say that this post really forced me to do so, Excellent post!

  • jemiro said:

    waw!! its so easy tutorial!! doble thumb for U ^^
    thx so much!!

Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.