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