XCOMMONS-581: Support resolving maven artifact with a parent in a different repository
* fix possible cross injection