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