Added code required to publish to sonatype.