Update build with MavenCentral publishing code.