Restores the 'UploadArtifacts' task for maven repo.

This was necessary because the new publishing task doesn't work with
scp/ssh upload.