private static List<ArtifactVerification> loadArtifactsVerificationProperties(@Nullable String mavenId, @Nullable Element element,
                                                                                  @NotNull JpsPathMapper pathMapper) {
      if (element == null) {
        return Collections.emptyList();
      }

      List<Element> children = element.getChildren(ARTIFACT_TAG);

      List<ArtifactVerification> result = new ArrayList<>(children.size());
      for (var child : children) {
        String artifactUrl = child.getAttributeValue(URL_ATTRIBUTE);
        if (artifactUrl != null) {
          Element sha256sumElement = child.getChild(SHA256SUM_TAG);
          String sha256sum = sha256sumElement != null ? sha256sumElement.getText() : null;
          if (sha256sum == null) {
            LOG.warn("Missing sha256sum attribute for verification artifact tag for descriptor maven-id=" + mavenId);
          } else {
            result.add(new ArtifactVerification(pathMapper.mapUrl(artifactUrl), sha256sum));
          }
        } else {
          LOG.warn("Missing url attribute for verification artifact tag for descriptor maven-id=" + mavenId);
        }
      }
      return result;
    }
private static List<ArtifactVerification> loadArtifactsVerificationProperties(@Nullable String mavenId, @Nullable Element element,
                                                                                  @NotNull JpsPathMapper pathMapper)