Maven 3 support

I've fixed the maven build process. 

First Pull request on Github! yay!! :-)