public static List<RemoteRepository> newCentralRepositorys(Proxy proxy,
      ZeppelinConfiguration zConf) {
    String mvnRepoEnv = System.getenv("ZEPPELIN_INTERPRETER_DEP_MVNREPO");
    if (mvnRepoEnv == null) {
      mvnRepoEnv = zConf.getString(ZeppelinConfiguration.ConfVars.ZEPPELIN_INTERPRETER_DEP_MVNREPO);
    }
    if (mvnRepoEnv == null) {
      mvnRepoEnv = "https://repo1.maven.org/maven2/";
    }

    List<String> repoList = new ArrayList<>();
    if (mvnRepoEnv.contains(",")) {
      repoList.addAll(Arrays.asList(mvnRepoEnv.split(",+")));
    } else {
      repoList.add(mvnRepoEnv);
    }

    List<RemoteRepository> centralRepositorys = repoList.stream().map(repo -> {
              RemoteRepository.Builder centralBuilder = new RemoteRepository.Builder("central", "default", repo);
              if (proxy != null) {
                centralBuilder.setProxy(proxy);
              }
              return centralBuilder.build();
            }
    ).collect(Collectors.toList());
    return centralRepositorys;
  }
@Test
  void getInterpreterMvnRepoPathTest() {
    ZeppelinConfiguration zConf = ZeppelinConfiguration.load("zeppelin-site-test.xml");
    List<RemoteRepository> remoteRepositories = Booter.newCentralRepositorys(null, zConf);
    assertNotNull(remoteRepositories);
    assertEquals(2, remoteRepositories.size());
    assertEquals("https://repo1.maven.org/maven2/", remoteRepositories.get(0).getUrl());
    assertEquals("https://repo2.maven.org/maven2/", remoteRepositories.get(1).getUrl());
  }