private static boolean hasUnresolvedFile(MavenArtifactNode mavenArtifactNode) {
    if (mavenArtifactNode.getArtifact().isFileUnresolved()) {
      return true;
    }
    for (var dependency : mavenArtifactNode.getDependencies()) {
      if (hasUnresolvedFile(dependency)) {
        return true;
      }
    }
    return false;
  }
private static boolean hasUnresolvedFile(MavenArtifactNode mavenArtifactNode)