@Override
  public void registerResources(ResourceRegistrar registrar) {
    Map.of(
      MAVEN_PROJECT_SCHEMA_URL, "/schemas/maven-4.0.0.xsd",
      "http://maven.apache.org/maven-v4_0_0.xsd", "/schemas/maven-4.0.0.xsd",
      MAVEN_PROFILES_SCHEMA_URL, "/schemas/profiles-1.0.0.xsd",
      MAVEN_SETTINGS_SCHEMA_URL, "/schemas/settings-1.0.0.xsd",
      MAVEN_SETTINGS_SCHEMA_URL_1_1, "/schemas/settings-1.1.0.xsd",
      MAVEN_SETTINGS_SCHEMA_URL_1_2, "/schemas/settings-1.2.0.xsd"
    ).forEach((schemaUrl, schemaPath) -> addStdResource(registrar, schemaUrl, schemaPath));
  }
@Override
  public void registerResources(ResourceRegistrar registrar)