Maven build

Please merge this Maven build support patch if you like it.

Thanks.