[build] Add support for uploading Maven artifacts to Sonatype