Updated the build system to be able to deploy to maven.