[BZ-1084362] handle external:* notation in maven settings
(cherry picked from commit ad5d455b1465880665e212e4f19d60ab60b13ee1)