@Override
  public void loadExtension(@NotNull JpsProject project, @NotNull Element componentTag) {
    List<JpsRemoteRepositoryDescription> result = new ArrayList<>();
    List<Element> children = componentTag.getChildren(ELEMENT_TAG);
    for (Element repoElement : children) {
      String id = null;
      String name = null;
      String url = null;
      for (Element element : repoElement.getChildren(OPTION_TAG)) {
        String option = element.getAttributeValue("name");
        String optionValue = element.getAttributeValue("value");
        if (ID_PROPERTY.equals(option)) {
          id = optionValue;
        }
        else if (NAME_PROPERTY.equals(option)) {
          name = optionValue == null? "" : optionValue;
        }
        else if (URL_PROPERTY.equals(option)) {
          url = optionValue;
        }
      }
      if (id != null && url != null) {
        result.add(new JpsRemoteRepositoryDescription(id, name, url));
      }
    }
    JpsRemoteRepositoriesConfiguration config = JpsRemoteRepositoryService.getInstance().getOrCreateRemoteRepositoriesConfiguration(project);
    if (!result.isEmpty()) {
      config.setRepositories(result);
    }
  }
@Override
  public void loadExtension(@NotNull JpsProject project, @NotNull Element componentTag)