private RepositorySystemSession getSession( ArtifactRepository localRepository )
  {
    return LegacyLocalRepositoryManager.overlay( localRepository, legacySupport.getRepositorySession(), repoSystem );
  }
private RepositorySystemSession getSession( ArtifactRepository localRepository )