MavenArtifactResolution.ArtifactResolutionBuilder provideArtifactResolutionBuilder(Settings settings, Logger logger) {
    String override = settings.mavenRepoUrl();
    if (override != null) {
      logger.info("Will load artifacts from %s", override);
      return MavenArtifactResolution.using(settings, logger, override);
    } else {
      logger.info("Loading artifacts from maven central repo");
      return MavenArtifactResolution.usingCentralRepo(settings, logger);
    }
  }