Enable publishing to Sonatype Nexus repo

Heavily inspired from:
725f2c98f8a0960c66c291941acce992ec10d159
Use edu.berkeley.cs.shark