nabcos/sisu-maven-bridge — comment on commit b64a16c70621c7d81d14e63d15435041bc0cc874
File: src/main/java/org/sonatype/sisu/maven/bridge/internal/DefaultMavenSettings.java line 299
By adreghiciu:

We have to use the same strategy for creating the local repo manager as the one in maven bridge session.
That one uses a priority based selection of what factory to use.