code: private Settings enrichWithLocalRepository(Settings settings) {
  
          // set default value if not set at all
          if (settings.getLocalRepository() == null || settings.getLocalRepository().length() == 0) {
              settings.setLocalRepository(DEFAULT_REPOSITORY_PATH);
          }
  
          // override any value with system property based location
          String altLocalRepository = SecurityActions.getProperty(ALT_LOCAL_REPOSITORY_LOCATION);
          if (altLocalRepository != null && altLocalRepository.length() > 0) {
              settings.setLocalRepository(altLocalRepository);
          }
          return settings;
      }
docs: adds local repository