Sorry for the very newbie question I'm new to Maven.

I'm trying to use Ansible's module for Maven to download files from JFrog's Artifactory. And it's keeps on saying that the maven-metadata.xml is missing. Which makes sense since we are using pom.xml's in our production setup.

When I look online and I see the typical contents of these files they seem to contain the same things in them with: groupId, artifactId, version.

When, Where & Why? Would I want to use one over the other?