use maven plugin to deploy instead of the sh script