Added logic for deploying plugin to maven repo.