BZ1129573: Deployment of SNAPSHOTS artifacts to remote repository does not respect Maven settings

(cherry picked from commit 51d633af9657ad278c99abf22940b4f544ecc45c)