Extract calls to XMvn resolver as a separate function