added support for publishing to maven.