@NotNull
  private static String sanitizeMavenIdentifer(@Nullable String groupOrArtifactId) {
    if (null == groupOrArtifactId) return "";
    StringBuilder result = new StringBuilder(groupOrArtifactId.length());
    for (int i = 0; i < groupOrArtifactId.length(); i++) {
      char c = groupOrArtifactId.charAt(i);
      if (Character.isLetterOrDigit(c) || c == '-' || c == '.' || c == '_') {
        result.append(c);
      }
    }
    return result.toString();
  }
@NotNull
  private static String sanitizeMavenIdentifer(@Nullable String groupOrArtifactId)