Publish Java version to Sonatype's OSS Maven Repository

The respective Sonatype JIRA ticket is this: https://issues.sonatype.org/browse/OSSRH-6194