Modify <scm> settings according to Sonatype doc. Inherit from Sonatype parent POM in order to publish to their repo.