Use nexus plugin to deploy

Fixes #1