Last couple of days, I have been playing with Hadoop. Because of that I couldn't blog much often.
I wanted to automated packaging with Maven. Below gist shows a sample Maven pom.xml for Hadoop.
This will resolve Hadoop dependency and package it as a jar file. Hope this will help you!