Getting started with maven2

As I prefer maven as build management tool, I thought to provide a get started article for those who are willing to learn it. I am not going to reinvent the wheel but evaluate available online resources. And maven3 is around the corner and much hyped but I’ll start with maven2 and will be posting comparative analysis between maven2 and maven3 sometime later.
Maven 2 can be download form http://maven.apache.org/index.html and setup only requires to extract the zip file and add maven bin directory to your path environment variable for windows.
If you are behind a firewall you can edit settings.xml provided under conf folder, all you have to do is add/uncomment <proxy> tag under <proxies> and provide host IP, and port and other details based on proxy settings for your network.
After doing the setup you may go through maven-in-five-minutes which provides you good information to begin with.

After having little insight, if you are ready for more comprehensive details concerning the actions you have just performed. Check out the Maven Getting Started Guide.

To make life easier for open source developers there is an plugin named m2eclipse which can be integrated with you Eclipse IDE. The update site for the plugin is http://download.eclipse.org/technology/m2e/releases and complete instruction to install plugin are provided here.

Video tutorial by http://www.sonatype.com provides you breakthrough to move full fledged development using maven and m2eclipse. You can visit all video tutorials here. And significant tutorials you can watch right here:

Creating a project:

Overview of m2eclipse:

Managing multi-module project:

I think that’s enough for the beginning, you can explore further as get comfortable with it.