yq eval --input-format xml --output-format csv '[file_index, file_name, .project.parent.groupId, .project.parent.artifactId, .project.parent.version]' **/pom.xml
https://github.com/mikefarah/yq
| yq is a portable command-line YAML, JSON, XML, CSV, TOML and properties processor