@Override
      public void onRootRemoved(@NotNull String rootUrl, @NotNull OrderRootType rootType, @NotNull LibraryEditor libraryEditor) {
        if (rootType == OrderRootType.CLASSES) {
          String coordinates = getMavenCoordinates(rootUrl);
          if (coordinates != null) {
            RepositoryLibraryProperties properties = (RepositoryLibraryProperties)libraryEditor.getProperties();
            properties.setExcludedDependencies(ContainerUtil.append(properties.getExcludedDependencies(), coordinates));
          }
          else {
            LOG.warn("Cannot determine Maven coordinates for removed library root " + rootUrl);
          }
        }
      }
@Override
      public void onRootRemoved(@NotNull String rootUrl, @NotNull OrderRootType rootType, @NotNull LibraryEditor libraryEditor)